CFx SDK Documentation
2023 SP0
|
#include <FlatMemStream.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdFlatMemStream) | |
void | copyDataTo (OdStreamBuf *pDestination, OdUInt64 sourceStart, OdUInt64 sourceEnd) |
Public Member Functions inherited from OdFlatMemStreamImpl< OdStreamBuf > | |
OdUInt8 * | data () |
OdFlatMemStreamImpl () | |
OdFlatMemStreamImpl (void *buffer, OdUInt64 numBytes, OdUInt64 nCurPos) | |
void | init (void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0) |
OdUInt8 | getByte () |
void | getBytes (void *buffer, OdUInt32 numBytes) |
void | putByte (OdUInt8 value) |
void | putBytes (const void *buffer, OdUInt32 numBytes) |
Public Member Functions inherited from OdStreamPosImpl< TBase > | |
OdUInt64 | left () |
OdUInt64 | length () |
OdUInt64 | tell () |
OdUInt64 | seek (OdInt64 offset, OdDb::FilerSeekType seekType) |
bool | isEof () |
Static Public Member Functions | |
static OdFlatMemStreamPtr | createNew (void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0) |
Protected Member Functions | |
OdFlatMemStream () | |
Protected Member Functions inherited from OdFlatMemStreamImpl< OdStreamBuf > | |
virtual void | append (OdUInt64 numBytes) |
Additional Inherited Members | |
Protected Attributes inherited from OdFlatMemStreamImpl< OdStreamBuf > | |
void * | m_pMemData |
Protected Attributes inherited from OdStreamPosImpl< TBase > | |
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.
void OdFlatMemStream::copyDataTo | ( | OdStreamBuf * | pDestination, |
OdUInt64 | sourceStart, | ||
OdUInt64 | sourceEnd | ||
) |
|
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 | ) |