CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef _ODSTORAGE_INCLUDED_
26 #define _ODSTORAGE_INCLUDED_
160 bool createIfNotFound =
false,
170 #define ODRX_OLESTORAGE_SERVICE_NAME OdOleStorage::desc()->name()
174 #endif // _ODSTORAGE_INCLUDED_
ODRX_DECLARE_MEMBERS(OdByteData)
OdSmartPtr< OdByteData > OdByteDataPtr
OdSmartPtr< OdOleStorage > OdOleStoragePtr
virtual void resize(SizeType bufferSize)=0
static OdOleStoragePtr createServiceObject(OdByteData *pInitData)
virtual SizeType readAt(SizeType start, OdUInt8 *buffer, SizeType bufferSize) const =0
virtual SizeType size() const =0
OdOleStorageError(OdErrorContext *pErrorContext)
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
ODRX_DECLARE_MEMBERS(OdOleStorage)
virtual SizeType writeAt(SizeType start, const OdUInt8 *buffer, SizeType bufferSize)=0