CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdBlob Class Reference

#include <OdBlob.h>

Inheritance diagram for OdBlob:
OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > > OdMemoryStreamImpl< OdMemoryStream > OdMemoryStream OdStreamBuf OdRxObject

Public Member Functions

 OdBlob (OdUInt32 nPageSize=0x1000)
 
bool rdBool ()
 
void wrBool (bool)
 
OdInt8 rdInt8 ()
 
void wrInt8 (OdInt8)
 
OdInt16 rdInt16 ()
 
void wrInt16 (OdInt16)
 
OdInt32 rdInt32 ()
 
void wrInt32 (OdInt32)
 
OdInt64 rdInt64 ()
 
void wrInt64 (OdInt64)
 
double rdDouble ()
 
void wrDouble (double)
 
OdGePoint3d rdPoint3d ()
 
void wrPoint3d (const OdGePoint3d &)
 
OdGeVector3d rdVector3d ()
 
void wrVector3d (const OdGeVector3d &)
 
voidrdAddress ()
 
void wrAddress (const void *)
 
void rdBytes (void *buf, OdUInt32 len)
 
void wrBytes (const void *buf, OdUInt32 len)
 
void rdPoints2d (OdGePoint2d *points, OdUInt32 num)
 
void wrPoints2d (const OdGePoint2d *points, OdUInt32 num)
 
void rdPoints3d (OdGePoint3d *points, OdUInt32 num)
 
void wrPoints3d (const OdGePoint3d *points, OdUInt32 num)
 
void wrDoubles (const double *doubles, OdUInt32 num)
 
void rdDoubles (double *doubles, OdUInt32 num)
 
void rdObjectIds (OdDbStub **pRes, OdUInt32 num)
 
OdDbStub * rdObjectId ()
 
void wrObjectId (const OdDbStub *id)
 
- Public Member Functions inherited from OdStaticRxObject< OdMemoryStreamImpl< OdMemoryStream > >
void addRef ()
 
void release ()
 
- Public Member Functions inherited from OdMemoryStreamImpl< OdMemoryStream >
 OdMemoryStreamImpl (OdUInt32 nPageDataSize=0x400)
 
OdUInt32 pageDataSize () const
 
void setPageDataSize (OdUInt32 nPageSize)
 
void reserve (OdUInt64 nSize)
 
OdUInt64 length ()
 
OdUInt64 seek (OdInt64 offset, OdDb::FilerSeekType whence)
 
const voidpageAlignedAddress (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 ()
 
- Public Member Functions inherited from OdMemoryStream
 ODRX_DECLARE_MEMBERS (OdMemoryStream)
 
virtual OdUInt32 pageDataSize () const =0
 
OdString fileName ()
 
- Public Member Functions inherited from OdStreamBuf
 ODRX_DECLARE_MEMBERS (OdStreamBuf)
 
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 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 OdMemoryStream
static OdMemoryStreamPtr createNew (OdUInt32 pageDataSize=0x800)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdMemoryStreamImpl< OdMemoryStream >
OdUInt64 allocated () const
 
OdUInt64 curPageNo () const
 
OdUInt32 posInCurPage () const
 
OdUInt32 leftInCurPage () const
 
void addPage ()
 
void seekNextPage (bool bCreateNew=false)
 
void seekPrevPage ()
 
OdUInt8currPos ()
 
const OdUInt8currPos () const
 
- Protected Member Functions inherited from OdMemoryStream
 OdMemoryStream ()
 
- Protected Member Functions inherited from OdStreamBuf
 OdStreamBuf ()
 
- Protected Attributes inherited from OdMemoryStreamImpl< OdMemoryStream >
OdUInt64 m_nCurPos
 
OdUInt64 m_nEndPos
 
OdUInt32 m_nPageDataSize
 

Detailed Description

Definition at line 35 of file OdBlob.h.

Constructor & Destructor Documentation

◆ OdBlob()

OdBlob::OdBlob ( OdUInt32  nPageSize = 0x1000)
inline

Definition at line 76 of file OdBlob.h.

Member Function Documentation

◆ rdAddress()

void * OdBlob::rdAddress ( )
inline

Definition at line 119 of file OdBlob.h.

◆ rdBool()

bool OdBlob::rdBool ( )
inline

◆ rdBytes()

void OdBlob::rdBytes ( void buf,
OdUInt32  len 
)
inline

Definition at line 131 of file OdBlob.h.

◆ rdDouble()

double OdBlob::rdDouble ( )
inline

◆ rdDoubles()

void OdBlob::rdDoubles ( double *  doubles,
OdUInt32  num 
)
inline

Definition at line 166 of file OdBlob.h.

◆ rdInt16()

OdInt16 OdBlob::rdInt16 ( )
inline

◆ rdInt32()

OdInt32 OdBlob::rdInt32 ( )
inline

◆ rdInt64()

OdInt64 OdBlob::rdInt64 ( )
inline

◆ rdInt8()

OdInt8 OdBlob::rdInt8 ( )
inline

◆ rdObjectId()

OdDbStub * OdBlob::rdObjectId ( )
inline

Definition at line 176 of file OdBlob.h.

◆ rdObjectIds()

void OdBlob::rdObjectIds ( OdDbStub **  pRes,
OdUInt32  num 
)
inline

Definition at line 171 of file OdBlob.h.

◆ rdPoint3d()

OdGePoint3d OdBlob::rdPoint3d ( )
inline

Definition at line 98 of file OdBlob.h.

◆ rdPoints2d()

void OdBlob::rdPoints2d ( OdGePoint2d points,
OdUInt32  num 
)
inline

Definition at line 151 of file OdBlob.h.

◆ rdPoints3d()

void OdBlob::rdPoints3d ( OdGePoint3d points,
OdUInt32  num 
)
inline

Definition at line 141 of file OdBlob.h.

◆ rdVector3d()

OdGeVector3d OdBlob::rdVector3d ( )
inline

Definition at line 108 of file OdBlob.h.

◆ wrAddress()

void OdBlob::wrAddress ( const void val)
inline

Definition at line 126 of file OdBlob.h.

◆ wrBool()

void OdBlob::wrBool ( bool  )
inline

◆ wrBytes()

void OdBlob::wrBytes ( const void buf,
OdUInt32  len 
)
inline

Definition at line 136 of file OdBlob.h.

◆ wrDouble()

void OdBlob::wrDouble ( double  )
inline

◆ wrDoubles()

void OdBlob::wrDoubles ( const double *  doubles,
OdUInt32  num 
)
inline

Definition at line 161 of file OdBlob.h.

◆ wrInt16()

void OdBlob::wrInt16 ( OdInt16  )
inline

◆ wrInt32()

void OdBlob::wrInt32 ( OdInt32  )
inline

◆ wrInt64()

void OdBlob::wrInt64 ( OdInt64  )
inline

◆ wrInt8()

void OdBlob::wrInt8 ( OdInt8  )
inline

◆ wrObjectId()

void OdBlob::wrObjectId ( const OdDbStub *  id)
inline

Definition at line 183 of file OdBlob.h.

◆ wrPoint3d()

void OdBlob::wrPoint3d ( const OdGePoint3d val)
inline

Definition at line 105 of file OdBlob.h.

◆ wrPoints2d()

void OdBlob::wrPoints2d ( const OdGePoint2d points,
OdUInt32  num 
)
inline

Definition at line 156 of file OdBlob.h.

◆ wrPoints3d()

void OdBlob::wrPoints3d ( const OdGePoint3d points,
OdUInt32  num 
)
inline

Definition at line 146 of file OdBlob.h.

◆ wrVector3d()

void OdBlob::wrVector3d ( const OdGeVector3d val)
inline

Definition at line 115 of file OdBlob.h.


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