CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OD::Stream Class Reference

#include <RxFS.h>

Inheritance diagram for OD::Stream:
OdStreamBuf OdRxObject OD::File::WriteBuf

Public Member Functions

Streamseek (OdUInt64 pos)
 
OdUInt64 size ()
 
OdAnsiString toStr ()
 
void putStr (const OdString &str)
 
void putStr (const OdAnsiString &str)
 
virtual OdUInt64 seek (OdInt64 offset, OdDb::FilerSeekType seekType)
 
- Public Member Functions inherited from OdStreamBuf
 ODRX_DECLARE_MEMBERS (OdStreamBuf)
 
virtual OdString fileName ()
 
virtual bool isEof ()
 
virtual OdUInt64 tell ()
 
virtual OdUInt64 length ()
 
virtual void truncate ()
 
virtual void rewind ()
 
virtual OdUInt64 seek (OdInt64 offset, OdDb::FilerSeekType seekType)
 
virtual OdUInt8 getByte ()
 
virtual void getBytes (void *buffer, OdUInt32 numBytes)
 
virtual void putByte (OdUInt8 value)
 
virtual void putBytes (const void *buffer, OdUInt32 numBytes)
 
virtual void copyDataTo (OdStreamBuf *pDestination, OdUInt64 sourceStart=0, OdUInt64 sourceEnd=0)
 
virtual OdUInt32 getShareMode ()
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdStreamBuf
 OdStreamBuf ()
 

Detailed Description

Definition at line 47 of file RxFS.h.

Member Function Documentation

◆ putStr() [1/2]

void OD::Stream::putStr ( const OdAnsiString &  str)
inline

Definition at line 232 of file RxFS.h.

◆ putStr() [2/2]

void OD::Stream::putStr ( const OdString str)
inline

Definition at line 231 of file RxFS.h.

◆ seek() [1/2]

virtual OdUInt64 OdStreamBuf::seek

Moves the current position of the file pointer for this StreamBuf object to the specified location.

Parameters
offset[in] Number of bytes.
seekType[in] Seek type.
Remarks
seekType must be one of the following:

Value Description. OdDb::kSeekFromStart SEEK_SET Start of file. OdDb::kSeekFromCurrent SEEK_CUR Current position of file pointer. OdDb::kSeekFromEnd SEEK_END End of file.

◆ seek() [2/2]

Stream & OD::Stream::seek ( OdUInt64  pos)
inline

Definition at line 219 of file RxFS.h.

◆ size()

OdUInt64 OD::Stream::size ( )
inline

Definition at line 221 of file RxFS.h.

◆ toStr()

OdAnsiString OD::Stream::toStr ( )
inline

Definition at line 223 of file RxFS.h.


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