CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OdFlatMemStream Class Reference

#include <FlatMemStream.h>

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

Public Member Functions

 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 ()
 

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 >
voidm_pMemData
 
- Protected Attributes inherited from OdStreamPosImpl< TBase >
OdUInt64 m_nEndPos
 
OdUInt64 m_nCurPos
 

Detailed Description

This class implements memory-resident I/O objects. Corresponding C++ library: TD_Root <group Other_Classes>

Definition at line 124 of file FlatMemStream.h.

Constructor & Destructor Documentation

◆ OdFlatMemStream()

OdFlatMemStream::OdFlatMemStream ( )
inlineprotected

Definition at line 127 of file FlatMemStream.h.

Member Function Documentation

◆ copyDataTo()

void OdFlatMemStream::copyDataTo ( OdStreamBuf pDestination,
OdUInt64  sourceStart,
OdUInt64  sourceEnd 
)

◆ createNew()

static OdFlatMemStreamPtr OdFlatMemStream::createNew ( void buffer,
OdUInt64  numBytes,
OdUInt64  curPosition = 0 
)
static

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

Parameters
buffer[in] Character buffer.
numBytes[in] Number of bytes.
curPosition[in] Initial position of the file pointer of the new object.

◆ ODRX_DECLARE_MEMBERS()

OdFlatMemStream::ODRX_DECLARE_MEMBERS ( OdFlatMemStream  )

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