CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
OdFlatMemStreamManaged Class Reference

#include <FlatMemStream.h>

Inheritance diagram for OdFlatMemStreamManaged:
OdFlatMemStream OdFlatMemStreamImpl< OdStreamBuf > OdStreamPosImpl< TBase > OdEmptyBaseClass

Public Member Functions

 ~OdFlatMemStreamManaged ()
 
- Public Member Functions inherited from OdFlatMemStream
 ODRX_DECLARE_MEMBERS (OdFlatMemStream)
 
void copyDataTo (OdStreamBuf *pDestination, OdUInt64 sourceStart, OdUInt64 sourceEnd)
 
- Public Member Functions inherited from OdFlatMemStreamImpl< OdStreamBuf >
OdUInt8data ()
 
 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 ()
 
 OdStreamPosImpl ()
 

Static Public Member Functions

static OdFlatMemStreamPtr createNew (OdUInt64 numBytes)
 
- Static Public Member Functions inherited from OdFlatMemStream
static OdFlatMemStreamPtr createNew (void *buffer, OdUInt64 numBytes, OdUInt64 curPosition=0)
 

Additional Inherited Members

- Protected Member Functions inherited from OdFlatMemStream
 OdFlatMemStream ()
 
- Protected Member Functions inherited from OdFlatMemStreamImpl< OdStreamBuf >
virtual void append (OdUInt64 numBytes)
 
- Protected Attributes inherited from OdFlatMemStreamImpl< OdStreamBuf >
voidm_pMemData
 
- Protected Attributes inherited from OdStreamPosImpl< TBase >
OdUInt64 m_nEndPos
 
OdUInt64 m_nCurPos
 

Detailed Description

This class implements memory-resident stream buffer holding its own memory. Corresponding C++ library: TD_Root <group Other_Classes>

Definition at line 150 of file FlatMemStream.h.

Constructor & Destructor Documentation

◆ ~OdFlatMemStreamManaged()

OdFlatMemStreamManaged::~OdFlatMemStreamManaged ( )
inline

Definition at line 154 of file FlatMemStream.h.

Member Function Documentation

◆ createNew()

static OdFlatMemStreamPtr OdFlatMemStreamManaged::createNew ( OdUInt64  numBytes)
static

Creates a new FlatMemStream object, and returns a SmartPointer to the new object.

Parameters
numBytes[in] Number of bytes.
Remarks
Memory is allocated via odrxAlloc() and is freed via odrxFree() in destructor;

The documentation for this class was generated from the following file: