25#ifndef _ODSTORAGE_INCLUDED_
26#define _ODSTORAGE_INCLUDED_
159 bool createIfNotFound =
false,
169#define ODRX_OLESTORAGE_SERVICE_NAME OdOleStorage::desc()->name()
OdSmartPtr< OdOleStorage > OdOleStoragePtr
OdSmartPtr< OdByteData > OdByteDataPtr
virtual void resize(SizeType bufferSize)=0
virtual SizeType readAt(SizeType start, OdUInt8 *buffer, SizeType bufferSize) const =0
virtual SizeType size() const =0
ODRX_DECLARE_MEMBERS(OdByteData)
virtual SizeType writeAt(SizeType start, const OdUInt8 *buffer, SizeType bufferSize)=0
OdOleStorageError(OdErrorContext *pErrorContext)
ODRX_DECLARE_MEMBERS(OdOleStorage)
virtual OdStreamBufPtr openStream(const OdString &filename, bool createIfNotFound=false, int accessMode=Oda::kFileRead)=0
virtual void init(OdByteData *pByteData, int accessMode=Oda::kFileRead)=0
virtual OdByteDataPtr rawData() const =0
static OdOleStoragePtr createServiceObject(OdByteData *pInitData)