#include <GiProgressiveMesh.h>
This interface provides data extraction API.
Definition at line 36 of file GiProgressiveMesh.h.
◆ beginExtraction()
virtual bool OdGiDataExtractor::beginExtraction |
( |
OdUInt8 |
dataId | ) |
|
|
pure virtual |
Initializes data extraction for the specified data type.
- Parameters
-
dataId | [in] Data identifier. |
- Returns
- Returns true if operation is successful; otherwise returns false.
◆ endExtraction()
virtual bool OdGiDataExtractor::endExtraction |
( |
OdUInt8 |
dataId | ) |
|
|
pure virtual |
Finalizes data extraction for the specified data type.
- Parameters
-
dataId | [in] Data identifier. |
- Returns
- Returns true if operation is successful; otherwise returns false.
◆ extractBool()
virtual bool OdGiDataExtractor::extractBool |
( |
| ) |
|
|
virtual |
Extracts boolean value.
- Returns
- Returns boolean value.
◆ extractByte()
virtual OdUInt8 OdGiDataExtractor::extractByte |
( |
| ) |
|
|
virtual |
Extracts byte value.
- Returns
- Returns byte value.
◆ extractBytes()
virtual void OdGiDataExtractor::extractBytes |
( |
void * |
buffer, |
|
|
OdUInt32 |
numBytes |
|
) |
| |
|
pure virtual |
Extracts binary buffer.
- Parameters
-
buffer | [in] Pointer to the buffer. |
numBytes | [in] Buffer size. |
◆ extractDouble()
virtual double OdGiDataExtractor::extractDouble |
( |
| ) |
|
|
virtual |
Extracts double value.
- Returns
- Returns double value.
◆ extractInt16()
virtual OdInt16 OdGiDataExtractor::extractInt16 |
( |
| ) |
|
|
virtual |
Extracts 2-bytes integer value.
- Returns
- Returns 2-bytes integer value.
◆ extractInt32()
virtual OdInt32 OdGiDataExtractor::extractInt32 |
( |
| ) |
|
|
virtual |
Extracts 4-bytes integer value.
- Returns
- Returns 4-bytes integer value.
◆ extractInt64()
virtual OdInt32 OdGiDataExtractor::extractInt64 |
( |
| ) |
|
|
virtual |
Extracts 8-bytes integer value.
- Returns
- Returns 8-bytes integer value.
◆ registerDataBegin()
virtual bool OdGiDataExtractor::registerDataBegin |
( |
OdUInt8 |
dataId, |
|
|
OdUInt64 |
localOffset |
|
) |
| |
|
pure virtual |
Registers the begin of data type by the specified local offset.
- Parameters
-
dataId | [in] Data identifier. |
localOffset | [in] Local data begin offset. |
- Returns
- Returns true if operation is successful; otherwise returns false.
◆ registerDataEnd()
virtual bool OdGiDataExtractor::registerDataEnd |
( |
OdUInt8 |
dataId, |
|
|
OdUInt64 |
localOffset |
|
) |
| |
|
pure virtual |
Registers the end of data type by the specified local offset.
- Parameters
-
dataId | [in] Data identifier. |
localOffset | [in] Local data end offset. |
- Returns
- Returns true if operation is successful; otherwise returns false.
◆ seekFromLocalOffset()
virtual bool OdGiDataExtractor::seekFromLocalOffset |
( |
OdUInt64 |
offset | ) |
|
|
pure virtual |
Moves extraction current position.
- Parameters
-
- Returns
- Returns true if operation is successful; otherwise returns false.
◆ tell()
virtual OdUInt64 OdGiDataExtractor::tell |
( |
| ) |
|
|
pure virtual |
Retrives current extraction position.
- Returns
- Returns current extraction position.
The documentation for this class was generated from the following file: