CFx SDK Documentation 2024 SP0
|
#include <OleStorage.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdOleStorage) | |
virtual void | init (OdByteData *pByteData, int accessMode=Oda::kFileRead)=0 |
virtual OdByteDataPtr | rawData () const =0 |
virtual OdStreamBufPtr | openStream (const OdString &filename, bool createIfNotFound=false, int accessMode=Oda::kFileRead)=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 |
Static Public Member Functions | |
static OdOleStoragePtr | createServiceObject (OdByteData *pInitData) |
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 OLE storage.
Corresponding C++ library: TD_Db <group Other_Classes>
Definition at line 110 of file OleStorage.h.
|
static |
Creates a service object for this OleStorage object.
pInitData | [in] Pointer to the initial data. |
|
pure virtual |
Initializes this OleStorage object.
pByteData | [in] Pointer to the OdByteData for this OleStorage object. |
accessMode | [in] Mode in which to open this OleStorage object. |
Value Description Oda::kFileRead 0x80000000 Read access. Oda::kFileWrite 0x40000000 Write access.
OdOleStorage::ODRX_DECLARE_MEMBERS | ( | OdOleStorage | ) |
|
pure virtual |
Opens an OdStreamBuf for this OleStorage object. For internal use only.
filename | [in] Filename. |
accessMode | [in] Mode in which to open this OleStorage object. |
createIfNotFound | [in] Controls the creation of the file if it does not exist. |
Value Description Oda::kFileRead 0x80000000 Read access. Oda::kFileWrite 0x40000000 Write access.
|
pure virtual |
Returns the raw OdByteData for this OleStorage object.