E57 Foundation API v1.1.312  Aug. 10, 2011
void seek ( int64_t  recordNumber)

Set record number of CompressedVectorNode where next read will start.

Parameters:
[in]recordNumberThe index of record in ComressedVectorNode where next read using this CompressedVectorReader will start.

This function may be called at any time (as long as ImageFile and CompressedVectorReader are open). The next read will start at the given recordNumber. It is not an error to seek to recordNumber = childCount() (i.e. to one record past end of CompressedVectorNode).

Precondition:
recordNumber <= childCount() of CompressedVectorNode.
The associated ImageFile must be open.
This CompressedVectorReader must be open (i.e isOpen())
Exceptions:
E57_ERROR_BAD_API_ARGUMENT
E57_ERROR_IMAGEFILE_NOT_OPEN
E57_ERROR_READER_NOT_OPEN
E57_ERROR_BAD_CV_PACKET
E57_ERROR_LSEEK_FAILED
E57_ERROR_READ_FAILED
E57_ERROR_BAD_CHECKSUM
E57_ERROR_INTERNALAll objects in undocumented state
See also:
SourceDestBufferNumericCreate.cpp example, CompressedVectorNode::reader
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines