CFx SDK Documentation 2024 SP0
|
#include <MemoryStreamImpl.h>
Public Member Functions | |
OdMemoryStreamImpl (OdUInt32 nPageDataSize=0x2000) | |
OdUInt32 | pageDataSize () const |
void | setPageDataSize (OdUInt32 nPageSize) |
void | reserve (OdUInt64 nSize) |
OdUInt64 | length () |
OdUInt64 | seek (OdInt64 offset, OdDb::FilerSeekType whence) |
const void * | pageAlignedAddress (OdUInt32 nLen) |
OdUInt64 | tell () |
bool | isEof () |
OdUInt8 | getByte () |
void | getBytes (void *buffer, OdUInt32 nLen) |
void | putByte (OdUInt8 val) |
void | putBytes (const void *buffer, OdUInt32 nLen) |
void | rewind () |
void | truncate () |
~OdMemoryStreamImpl () | |
Protected Member Functions | |
OdUInt64 | allocated () const |
OdUInt64 | curPageNo () const |
OdUInt32 | posInCurPage () const |
OdUInt32 | leftInCurPage () const |
void | addPage () |
void | seekNextPage (bool bCreateNew=false) |
void | seekPrevPage () |
OdUInt8 * | currPos () |
const OdUInt8 * | currPos () const |
Protected Attributes | |
OdUInt64 | m_nCurPos |
OdUInt64 | m_nEndPos |
OdUInt32 | m_nPageDataSize |
Friends | |
class | OdMemoryStream |
{group:Other_Classes}
Definition at line 52 of file MemoryStreamImpl.h.
|
inline |
Definition at line 92 of file MemoryStreamImpl.h.
OdMemoryStreamImpl< TBase >::~OdMemoryStreamImpl |
{group:Other_Classes}
Definition at line 180 of file MemoryStreamImpl.h.
|
protected |
Definition at line 193 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 72 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 73 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 89 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 90 of file MemoryStreamImpl.h.
OdUInt8 OdMemoryStreamImpl< TBase >::getByte |
Definition at line 347 of file MemoryStreamImpl.h.
void OdMemoryStreamImpl< TBase >::getBytes | ( | void * | buffer, |
OdUInt32 | nLen | ||
) |
Definition at line 366 of file MemoryStreamImpl.h.
|
inline |
Definition at line 131 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 75 of file MemoryStreamImpl.h.
|
inline |
Definition at line 117 of file MemoryStreamImpl.h.
const void * OdMemoryStreamImpl< TBase >::pageAlignedAddress | ( | OdUInt32 | nLen | ) |
Definition at line 337 of file MemoryStreamImpl.h.
|
inline |
Definition at line 105 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 74 of file MemoryStreamImpl.h.
void OdMemoryStreamImpl< TBase >::putByte | ( | OdUInt8 | val | ) |
Definition at line 401 of file MemoryStreamImpl.h.
void OdMemoryStreamImpl< TBase >::putBytes | ( | const void * | buffer, |
OdUInt32 | nLen | ||
) |
Definition at line 416 of file MemoryStreamImpl.h.
|
inline |
Definition at line 109 of file MemoryStreamImpl.h.
|
inline |
Definition at line 147 of file MemoryStreamImpl.h.
OdUInt64 OdMemoryStreamImpl< TBase >::seek | ( | OdInt64 | offset, |
OdDb::FilerSeekType | whence | ||
) |
Definition at line 239 of file MemoryStreamImpl.h.
|
protected |
Definition at line 217 of file MemoryStreamImpl.h.
|
inlineprotected |
Definition at line 78 of file MemoryStreamImpl.h.
|
inline |
Definition at line 107 of file MemoryStreamImpl.h.
|
inline |
Definition at line 126 of file MemoryStreamImpl.h.
|
inline |
Definition at line 153 of file MemoryStreamImpl.h.
|
friend |
Definition at line 54 of file MemoryStreamImpl.h.
|
protected |
Definition at line 68 of file MemoryStreamImpl.h.
|
protected |
Definition at line 69 of file MemoryStreamImpl.h.
|
protected |
Definition at line 70 of file MemoryStreamImpl.h.