CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
28 #ifndef _ODBLOB_H_INCLUDED_
29 #define _ODBLOB_H_INCLUDED_
56 inline void* rdAddress();
57 inline void wrAddress(
const void*);
59 inline void rdBytes(
void* buf,
OdUInt32 len);
60 inline void wrBytes(
const void* buf,
OdUInt32 len);
68 inline void wrDoubles(
const double* doubles,
OdUInt32 num);
69 inline void rdDoubles(
double* doubles,
OdUInt32 num);
71 inline void rdObjectIds(OdDbStub** pRes,
OdUInt32 num);
72 inline OdDbStub* rdObjectId();
73 inline void wrObjectId(
const OdDbStub*
id);
81 #define BLOB_DATA(type, name) \
82 inline type OdBlob::rd##name() \
85 getBytes(&val, sizeof(type));\
88 inline void OdBlob::wr##name(type val)\
89 { putBytes(&val, sizeof(type));}
101 getBytes(&val,
sizeof(val));
163 putBytes(doubles, num *
sizeof(
double));
168 getBytes(doubles, num *
sizeof(
double));
173 getBytes(pRes, num *
sizeof(OdDbStub*));
188 #endif // #ifndef _ODBLOB_H_INCLUDED_
#define BLOB_DATA(type, name)
void wrAddress(const void *)
OdBlob(OdUInt32 nPageSize=0x1000)
void rdBytes(void *buf, OdUInt32 len)
void wrVector3d(const OdGeVector3d &)
void wrBytes(const void *buf, OdUInt32 len)
void putBytes(const void *buffer, OdUInt32 nLen)
void rdPoints3d(OdGePoint3d *points, OdUInt32 num)
void wrPoints3d(const OdGePoint3d *points, OdUInt32 num)
void setPageDataSize(OdUInt32 nPageSize)
void rdDoubles(double *doubles, OdUInt32 num)
void wrDoubles(const double *doubles, OdUInt32 num)
void rdObjectIds(OdDbStub **pRes, OdUInt32 num)
void getBytes(void *buffer, OdUInt32 nLen)
void wrPoints2d(const OdGePoint2d *points, OdUInt32 num)
void wrPoint3d(const OdGePoint3d &)
void rdPoints2d(OdGePoint2d *points, OdUInt32 num)
void wrObjectId(const OdDbStub *id)
OdGeVector3d rdVector3d()