CFx SDK Documentation 2024 SP0
|
#include <OleStorage.h>
Public Types | |
typedef OdUInt32 | SizeType |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdByteData) | |
virtual SizeType | readAt (SizeType start, OdUInt8 *buffer, SizeType bufferSize) const =0 |
virtual SizeType | writeAt (SizeType start, const OdUInt8 *buffer, SizeType bufferSize)=0 |
virtual SizeType | size () const =0 |
virtual void | resize (SizeType bufferSize)=0 |
virtual void | flush ()=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the base class for custom classes that implement unsigned ByteData storage. Corresponding C++ library: TD_Db <group Other_Classes>
Definition at line 40 of file OleStorage.h.
typedef OdUInt32 OdByteData::SizeType |
Definition at line 43 of file OleStorage.h.
|
pure virtual |
Empties this ByteData object.
OdByteData::ODRX_DECLARE_MEMBERS | ( | OdByteData | ) |
|
pure virtual |
Copies the specified bytes from this ByteData object to the specified buffer.
start | [in] Starting position. |
bufferSize | [in] Number of bytes. |
buffer | [out] Receives the bytes. |
Resizes this ByteData object.
bufferSize | [in] Number of bytes. |
|
pure virtual |
Returns the number of bytes in this ByteData object.
|
pure virtual |
Copies the specified bytes from the specified buffer to this ByteData object.
bufferSize