CFx SDK Documentation
2020SP3
|
#include <FlatMemStream.h>
Static Public Member Functions | |
static OdFlatMemStreamPtr | createNew (void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Member Functions | |
OdFlatMemStream () | |
Protected Member Functions inherited from OdFlatMemStreamImpl< OdStreamBuf > | |
virtual void | append (OdUInt64 numBytes) |
Protected Member Functions inherited from OdStreamBuf | |
OdStreamBuf () | |
Additional Inherited Members | |
Protected Attributes inherited from OdFlatMemStreamImpl< OdStreamBuf > | |
void * | m_pMemData |
Protected Attributes inherited from OdStreamPosImpl< OdStreamBuf > | |
OdUInt64 | m_nEndPos |
OdUInt64 | m_nCurPos |
This class implements memory-resident I/O objects. Corresponding C++ library: TD_Root <group Other_Classes>
Definition at line 124 of file FlatMemStream.h.
|
inlineprotected |
Definition at line 127 of file FlatMemStream.h.
|
virtual |
Copies the specified bytes from this StreamBuf object to the specified StreamBuf object.
pDestination | [in] Pointer to the StreamBuf object to receive the data. |
sourceStart | [in] Starting position of the file pointer of this StreamBuf object. |
sourceEnd | [in] Ending position of the file pointer of this StreamBuf object. |
Reimplemented from OdStreamBuf.
|
static |
Creates a new FlatMemStream object, and returns a SmartPointer to the new object.
buffer | [in] Character buffer. |
numBytes | [in] Number of bytes. |
curPosition | [in] Initial position of the file pointer of the new object. |
OdFlatMemStream::ODRX_DECLARE_MEMBERS | ( | OdFlatMemStream | ) |