24 #ifndef FILER_INCLUDED
25 #define FILER_INCLUDED
35 class OdDbFilerController;
126 OdDbFilerController * pFilerController);
262 kMaxPrec = DBL_DIG + 1
826 double defaultValue = 0.,
855 double defaultValue = 0.,
1422 OdDbFilerController* pFilerController) { m_pController = pFilerController; }
1423 OdDbFilerController*
controller()
const {
return m_pController; }
1425 OdDbFilerController* m_pController;
OdSmartPtr< OdResBuf > OdResBufPtr
OdSmartPtr< OdDbDxfFiler > OdDbDxfFilerPtr
OdSmartPtr< OdDbDwgFiler > OdDbDwgFilerPtr
virtual void seek(OdInt64 offset, OdDb::FilerSeekType seekType)=0
virtual OdUInt64 tell() const =0
virtual void wrInt32(OdInt32 value)=0
virtual OdGeVector2d rdVector2d()=0
virtual void wrHardOwnershipId(const OdDbObjectId &value)=0
virtual void wrHardPointerId(const OdDbObjectId &value)=0
virtual void wrDouble(double value)=0
virtual OdUInt8 rdUInt8()=0
virtual OdGePoint3d rdPoint3d()=0
virtual OdInt32 rdInt32()=0
virtual void wrPoint2d(const OdGePoint2d &value)=0
virtual OdString rdString()=0
virtual void wrAddress(const void *value)
virtual void wrString(const OdString &value)=0
virtual OdDbObjectId rdSoftPointerId()=0
virtual OdInt8 rdInt8()=0
virtual void wrSoftOwnershipId(const OdDbObjectId &value)=0
virtual void wrInt8(OdInt8 value)=0
virtual bool usesReferences() const
virtual void wrBytes(const void *buffer, OdUInt32 numBytes)=0
virtual void wrVector2d(const OdGeVector2d &value)=0
virtual double rdDouble()=0
virtual OdDbObjectId rdHardOwnershipId()=0
virtual void wrSoftPointerId(const OdDbObjectId &value)=0
virtual OdGeScale3d rdScale3d()=0
virtual void wrBool(bool value)=0
virtual void rdBytes(void *buffer, OdUInt32 numBytes)=0
virtual void addReference(OdDbObjectId id, OdDb::ReferenceType rt)
virtual void wrInt16(OdInt16 value)=0
virtual OdDbHandle rdDbHandle()=0
ODRX_DECLARE_MEMBERS(OdDbDwgFiler)
virtual OdDbObjectId rdSoftOwnershipId()=0
virtual OdGePoint2d rdPoint2d()=0
virtual OdInt64 rdInt64()=0
virtual OdInt16 rdInt16()=0
virtual void wrVector3d(const OdGeVector3d &value)=0
virtual void wrPoint3d(const OdGePoint3d &value)=0
virtual void wrUInt8(OdUInt8 value)=0
virtual void wrScale3d(const OdGeScale3d &value)=0
virtual void wrInt64(OdInt64 value)=0
virtual OdGeVector3d rdVector3d()=0
virtual void wrDbHandle(const OdDbHandle &value)=0
virtual void * rdAddress()
virtual OdDbObjectId rdHardPointerId()=0
virtual int precision() const
virtual OdUInt32 rdUInt32()=0
void wrDoubleOpt(int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
ODRX_DECLARE_MEMBERS(OdDbDxfFiler)
virtual void rdPoint3d(OdGePoint3d &value)=0
void wrAngleOpt(int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
virtual void writeXDataStart()
void wrUInt64Opt(int groupCode, OdUInt64 value, OdUInt64 defaultValue)
virtual OdUInt16 rdUInt16()=0
void wrSubclassMarker(const OdString &value)
virtual void wrVector2d(int groupCode, const OdGeVector2d &value, int precision=kDfltPrec)=0
virtual bool atSubclassData(const OdString &subClassName)
virtual OdDbHandle rdHandle()=0
virtual void copyItem(OdDbDxfFiler *pSource)
void wrInt32Opt(int groupCode, OdInt32 value, OdInt32 defaultValue)
virtual void wrHandle(int groupCode, OdDbHandle value)=0
virtual OdUInt64 rdUInt64()=0
virtual void wrName(int groupCode, const OdString &value)=0
virtual void rdPoint2d(OdGePoint2d &value)=0
virtual void wrInt8(int groupCode, OdInt8 value)=0
virtual void wrBinaryChunk(int groupCode, const OdUInt8 *buffer, OdUInt32 numBytes)=0
virtual bool atEndOfObject()
void wrUInt32Opt(int groupCode, OdUInt32 value, OdUInt32 defaultValue)
void wrUInt16Opt(int groupCode, OdUInt16 value, OdUInt16 defaultValue)
void wrPoint3dOpt(int groupCode, const OdGePoint3d &value, const OdGePoint3d &defaultValue, int precision=kDfltPrec)
virtual void wrObjectId(int groupCode, OdDbObjectId value)=0
virtual void wrInt32(int groupCode, OdInt32 value)=0
virtual void wrScale3d(int groupCode, const OdGeScale3d &value, int precision=kDfltPrec)=0
void wrBoolOpt(int groupCode, bool value, bool defaultValue)
virtual void rdScale3d(OdGeScale3d &value)=0
virtual OdUInt8 rdUInt8()=0
virtual void wrUInt8(int groupCode, OdUInt8 value)=0
virtual OdInt32 rdInt32()=0
virtual void seek(OdInt64 offset, OdDb::FilerSeekType seekType)
virtual void wrDouble(int groupCode, double value, int precision=kDfltPrec)=0
virtual OdInt16 rdInt16()=0
virtual double rdDouble()=0
virtual OdResBufPtr nextRb()
virtual OdDbObjectId rdObjectId()=0
virtual void wrPoint3d(int groupCode, const OdGePoint3d &value, int precision=kDfltPrec)=0
virtual void wrBool(int groupCode, bool value)=0
void wrStringOpt(int groupCode, const OdString &value)
void wrEmbeddedObjectStart()
virtual void wrInt16(int groupCode, OdInt16 value)=0
virtual bool atExtendedData()
virtual OdInt64 rdInt64()=0
virtual bool atEmbeddedObjectStart()
virtual void rdVector2d(OdGeVector2d &value)=0
virtual bool includesDefaultValues() const
void wrInt8Opt(int groupCode, OdInt8 value, OdInt8 defaultValue)
virtual void rdVector3d(OdGeVector3d &value)=0
void wrPoint2dOpt(int groupCode, const OdGePoint2d &value, const OdGePoint2d &defaultValue, int precision=kDfltPrec)
virtual void wrAngle(int groupCode, double value, int precision=kDfltPrec)=0
virtual void wrInt64(int groupCode, OdInt64 value)=0
void wrInt16Opt(int groupCode, OdInt16 value, OdInt16 defaultValue)
void wrVector2dOpt(int groupCode, const OdGeVector2d &value, const OdGeVector2d &defaultValue, int precision=kDfltPrec)
void wrUInt8Opt(int groupCode, OdUInt8 value, OdUInt8 defaultValue)
virtual void pushBackItem()
virtual void writeRb(const OdResBuf *pRb)
virtual void wrUInt64(int groupCode, OdUInt64 value)=0
virtual void wrString(int groupCode, const OdString &value)=0
void wrObjectIdOpt(int groupCode, OdDbObjectId value)
virtual void wrVector3d(int groupCode, const OdGeVector3d &value, int precision=kDfltPrec)=0
virtual void rdBinaryChunk(OdBinaryData &value)=0
virtual OdInt8 rdInt8()=0
void wrVector3dOpt(int groupCode, const OdGeVector3d &value, const OdGeVector3d &defaultValue, int precision=kDfltPrec)
void wrInt64Opt(int groupCode, OdInt64 value, OdInt64 defaultValue)
virtual void wrPoint2d(int groupCode, const OdGePoint2d &value, int precision=kDfltPrec)=0
virtual double rdAngle()=0
void wrBinaryChunk(int groupCode, const OdBinaryData &value)
virtual void wrUInt16(int groupCode, OdUInt16 value)=0
virtual void rdString(OdString &value)=0
virtual void setPrecision(int decimalDigits)
virtual void wrUInt32(int groupCode, OdUInt32 value)=0
virtual OdUInt64 tell() const
ODRX_DECLARE_MEMBERS(OdDbFiler)
virtual OdDb::DwgVersion dwgVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
virtual OdResult filerStatus() const
virtual FilerType filerType() const =0
virtual void resetFilerStatus()
virtual OdDbDatabase * database() const
virtual void setController(OdDbFilerController *pFilerController)
virtual OdDbFilerController * controller() const
OdDbAuditInfo * getAuditInfo() const
static Type _getType(int code)
OdError_DwgObjectImproperlyRead()
void wrInt32(OdInt32 value)
void wrScale3d(const OdGeScale3d &value)
OdDbFilerController * controller() const
void wrInt64(OdInt64 value)
OdDb::DwgVersion dwgVersion(OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
void wrBytes(const void *buffer, OdUInt32 numBytes)
OdResult filerStatus() const
OdDbObjectId rdSoftOwnershipId()
void setController(OdDbFilerController *pFilerController)
void wrVector2d(const OdGeVector2d &value)
void wrPoint2d(const OdGePoint2d &value)
OdGeVector2d rdVector2d()
void wrUInt8(OdUInt8 value)
OdDbObjectId rdHardOwnershipId()
void wrPoint3d(const OdGePoint3d &value)
void wrDouble(double value)
OdDbObjectId rdSoftPointerId()
OdDbObjectId rdHardPointerId()
void wrDbHandle(const OdDbHandle &value)
OdGeVector3d rdVector3d()
void wrString(const OdString &value)
void seek(OdInt64 offset, OdDb::FilerSeekType seekType)
FilerType filerType() const
void wrInt16(OdInt16 value)
void rdBytes(void *buffer, OdUInt32 numBytes)
void wrInt8(OdInt8 value)
void wrVector3d(const OdGeVector3d &value)
GLenum GLint GLint * precision
GLsizei const GLfloat * value