CFx SDK Documentation
2022 SP0
|
#include <FlatMemStream.h>
Public Member Functions | |
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< OdEmptyBaseClass > | |
OdUInt64 | left () |
OdUInt64 | length () |
OdUInt64 | tell () |
OdUInt64 | seek (OdInt64 offset, OdDb::FilerSeekType seekType) |
bool | isEof () |
Protected Member Functions | |
virtual void | append (OdUInt64 numBytes) |
Protected Attributes | |
void * | m_pMemData |
Protected Attributes inherited from OdStreamPosImpl< OdEmptyBaseClass > | |
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 71 of file FlatMemStream.h.
|
inline |
buffer | [in] Character buffer. |
numBytes | [in] Number of bytes. |
curPosition | [in] Initial position of the file pointer. |
Definition at line 97 of file FlatMemStream.h.
|
inline |
Definition at line 99 of file FlatMemStream.h.
|
inlineprotectedvirtual |
Appends the specified number of bytes to this FlatMemStream object.
numBytes | [in] Number of bytes. |
Definition at line 90 of file FlatMemStream.h.
|
inline |
Returns the raw data associated with this FlatMemStream object.
Definition at line 80 of file FlatMemStream.h.
|
inline |
Definition at line 193 of file FlatMemStream.h.
|
inline |
Definition at line 200 of file FlatMemStream.h.
|
inline |
Initializes this FlatMemStream object.
buffer | [in] Character buffer. |
numBytes | [in] Number of bytes. |
curPosition | [in] Initial position of the file pointer of the new object. |
Definition at line 163 of file FlatMemStream.h.
|
inline |
Definition at line 208 of file FlatMemStream.h.
|
inline |
Definition at line 216 of file FlatMemStream.h.
|
protected |
Definition at line 75 of file FlatMemStream.h.