CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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=0x2000)
 
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
 
virtual void setPageDataSize (OdUInt32 pageDataSize)=0
 
virtual void reserve (OdUInt64 numBytes)=0
 
OdString fileName ()
 
- 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 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

<group OdDbRoot_Classes> Corresponding C++ library: TD_Root

Definition at line 44 of file OdBlob.h.

Constructor & Destructor Documentation

◆ OdBlob()

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

Definition at line 85 of file OdBlob.h.

Member Function Documentation

◆ rdAddress()

void * OdBlob::rdAddress ( )
inline

Definition at line 128 of file OdBlob.h.

◆ rdBool()

bool OdBlob::rdBool ( )
inline

◆ rdBytes()

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

Definition at line 140 of file OdBlob.h.

◆ rdDouble()

double OdBlob::rdDouble ( )
inline

◆ rdDoubles()

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

Definition at line 175 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 185 of file OdBlob.h.

◆ rdObjectIds()

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

Definition at line 180 of file OdBlob.h.

◆ rdPoint3d()

OdGePoint3d OdBlob::rdPoint3d ( )
inline

Definition at line 107 of file OdBlob.h.

◆ rdPoints2d()

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

Definition at line 160 of file OdBlob.h.

◆ rdPoints3d()

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

Definition at line 150 of file OdBlob.h.

◆ rdVector3d()

OdGeVector3d OdBlob::rdVector3d ( )
inline

Definition at line 117 of file OdBlob.h.

◆ wrAddress()

void OdBlob::wrAddress ( const void val)
inline

Definition at line 135 of file OdBlob.h.

◆ wrBool()

void OdBlob::wrBool ( bool  )
inline

◆ wrBytes()

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

Definition at line 145 of file OdBlob.h.

◆ wrDouble()

void OdBlob::wrDouble ( double  )
inline

◆ wrDoubles()

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

Definition at line 170 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 192 of file OdBlob.h.

◆ wrPoint3d()

void OdBlob::wrPoint3d ( const OdGePoint3d val)
inline

Definition at line 114 of file OdBlob.h.

◆ wrPoints2d()

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

Definition at line 165 of file OdBlob.h.

◆ wrPoints3d()

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

Definition at line 155 of file OdBlob.h.

◆ wrVector3d()

void OdBlob::wrVector3d ( const OdGeVector3d val)
inline

Definition at line 124 of file OdBlob.h.


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