CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbDwgFiler Class Referenceabstract

#include <DbFiler.h>

Inheritance diagram for OdDbDwgFiler:
OdDbFiler OdRxObject OdDbDeepCloneFiler OdIdFiler OdDbWblockCloneFiler

Public Member Functions

 OdDbDwgFiler ()
 
 ODRX_DECLARE_MEMBERS (OdDbDwgFiler)
 
virtual void seek (OdInt64 offset, OdDb::FilerSeekType seekType)=0
 
virtual OdUInt64 tell () const =0
 
virtual bool rdBool ()=0
 
virtual OdString rdString ()=0
 
virtual void rdBytes (void *buffer, OdUInt32 numBytes)=0
 
virtual OdInt8 rdInt8 ()=0
 
virtual OdUInt8 rdUInt8 ()=0
 
virtual OdInt16 rdInt16 ()=0
 
virtual OdInt32 rdInt32 ()=0
 
virtual OdInt64 rdInt64 ()=0
 
virtual voidrdAddress ()
 
virtual double rdDouble ()=0
 
virtual OdDbHandle rdDbHandle ()=0
 
virtual OdDbObjectId rdSoftOwnershipId ()=0
 
virtual OdDbObjectId rdHardOwnershipId ()=0
 
virtual OdDbObjectId rdHardPointerId ()=0
 
virtual OdDbObjectId rdSoftPointerId ()=0
 
virtual OdGePoint2d rdPoint2d ()=0
 
virtual OdGePoint3d rdPoint3d ()=0
 
virtual OdGeVector2d rdVector2d ()=0
 
virtual OdGeVector3d rdVector3d ()=0
 
virtual OdGeScale3d rdScale3d ()=0
 
virtual double rdThickness ()
 
virtual OdGeVector3d rdExtrusion ()
 
virtual void wrBool (bool value)=0
 
virtual void wrString (const OdString &value)=0
 
virtual void wrBytes (const void *buffer, OdUInt32 numBytes)=0
 
virtual void wrInt8 (OdInt8 value)=0
 
virtual void wrUInt8 (OdUInt8 value)=0
 
virtual void wrInt16 (OdInt16 value)=0
 
virtual void wrInt32 (OdInt32 value)=0
 
virtual void wrInt64 (OdInt64 value)=0
 
virtual void wrAddress (const void *value)
 
virtual void wrDouble (double value)=0
 
virtual void wrDbHandle (const OdDbHandle &value)=0
 
virtual void wrSoftOwnershipId (const OdDbObjectId &value)=0
 
virtual void wrHardOwnershipId (const OdDbObjectId &value)=0
 
virtual void wrSoftPointerId (const OdDbObjectId &value)=0
 
virtual void wrHardPointerId (const OdDbObjectId &value)=0
 
virtual void wrPoint2d (const OdGePoint2d &value)=0
 
virtual void wrPoint3d (const OdGePoint3d &value)=0
 
virtual void wrVector2d (const OdGeVector2d &value)=0
 
virtual void wrVector3d (const OdGeVector3d &value)=0
 
virtual void wrScale3d (const OdGeScale3d &value)=0
 
virtual void wrThickness (double value)
 
virtual void wrExtrusion (const OdGeVector3d &value)
 
virtual bool usesReferences () const
 
virtual void addReference (OdDbObjectId id, OdDb::ReferenceType rt)
 
virtual bool isPersistentMode () const
 
- Public Member Functions inherited from OdDbFiler
 OdDbFiler ()
 
 ODRX_DECLARE_MEMBERS (OdDbFiler)
 
virtual OdResult filerStatus () const
 
virtual void resetFilerStatus ()
 
virtual FilerType filerType () const =0
 
virtual OdDbDatabasedatabase () const
 
virtual OdDb::DwgVersion dwgVersion (OdDb::MaintReleaseVer *pMaintReleaseVer=0) const
 
OdDbAuditInfogetAuditInfo () const
 
virtual void setController (OdDbFilerController *pFilerController)
 
virtual OdDbFilerController * controller () const
 
- 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

- Public Types inherited from OdDbFiler
enum  FilerType {
  kFileFiler = 0 , kCopyFiler = 1 , kUndoFiler = 2 , kBagFiler = 3 ,
  kIdXlateFiler = 4 , kPageFiler = 5 , kDeepCloneFiler = 6 , kIdFiler = 7 ,
  kPurgeFiler = 8 , kWblockCloneFiler = 9
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is the abstract base class for classes that are used for file I/O operations with the .dwg file format.

Corresponding C++ library: TD_Db

<group OdDb_Classes>

Definition at line 1030 of file DbFiler.h.

Constructor & Destructor Documentation

◆ OdDbDwgFiler()

OdDbDwgFiler::OdDbDwgFiler ( )
inline

Definition at line 1033 of file DbFiler.h.

Member Function Documentation

◆ addReference()

virtual void OdDbDwgFiler::addReference ( OdDbObjectId  id,
OdDb::ReferenceType  rt 
)
virtual

DOM

◆ isPersistentMode()

virtual bool OdDbDwgFiler::isPersistentMode ( ) const
virtual

Returns true if and only if this filer object is used to store/read revision control format.

Remarks
The default implementation of this function always returns false.

◆ ODRX_DECLARE_MEMBERS()

OdDbDwgFiler::ODRX_DECLARE_MEMBERS ( OdDbDwgFiler  )

◆ rdAddress()

virtual void * OdDbDwgFiler::rdAddress ( )
virtual

Returns the memory address value of the current item of this Filer object.

◆ rdBool()

virtual bool OdDbDwgFiler::rdBool ( )
pure virtual

Returns the bool value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdBytes()

virtual void OdDbDwgFiler::rdBytes ( void buffer,
OdUInt32  numBytes 
)
pure virtual

Returns the specified number of bytes from this Filer object.

Parameters
buffer[out] Receives the bytes.
numBytes[in] Number of bytes.

Implemented in OdIdFiler.

◆ rdDbHandle()

virtual OdDbHandle OdDbDwgFiler::rdDbHandle ( )
pure virtual

Returns the handle value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdDouble()

virtual double OdDbDwgFiler::rdDouble ( )
pure virtual

Returns the double value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdExtrusion()

virtual OdGeVector3d OdDbDwgFiler::rdExtrusion ( )
virtual

Returns the extrusion value of the current item of this Filer object.

◆ rdHardOwnershipId()

virtual OdDbObjectId OdDbDwgFiler::rdHardOwnershipId ( )
pure virtual

Returns the HardOwnershipId value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdHardPointerId()

virtual OdDbObjectId OdDbDwgFiler::rdHardPointerId ( )
pure virtual

Returns the HardPointerId value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdInt16()

virtual OdInt16 OdDbDwgFiler::rdInt16 ( )
pure virtual

Returns the Int16 value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdInt32()

virtual OdInt32 OdDbDwgFiler::rdInt32 ( )
pure virtual

Returns the Int32 value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdInt64()

virtual OdInt64 OdDbDwgFiler::rdInt64 ( )
pure virtual

Returns the Int64 value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdInt8()

virtual OdInt8 OdDbDwgFiler::rdInt8 ( )
pure virtual

Returns the Int8 value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdPoint2d()

virtual OdGePoint2d OdDbDwgFiler::rdPoint2d ( )
pure virtual

Returns the 2D point value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdPoint3d()

virtual OdGePoint3d OdDbDwgFiler::rdPoint3d ( )
pure virtual

Returns the 3D point value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdScale3d()

virtual OdGeScale3d OdDbDwgFiler::rdScale3d ( )
pure virtual

Returns the scale value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdSoftOwnershipId()

virtual OdDbObjectId OdDbDwgFiler::rdSoftOwnershipId ( )
pure virtual

Returns the SoftOwnershipId value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdSoftPointerId()

virtual OdDbObjectId OdDbDwgFiler::rdSoftPointerId ( )
pure virtual

Returns the SoftPointerId value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdString()

virtual OdString OdDbDwgFiler::rdString ( )
pure virtual

Returns the string value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdThickness()

virtual double OdDbDwgFiler::rdThickness ( )
virtual

Returns the thickness value of the current item of this Filer object.

◆ rdUInt8()

virtual OdUInt8 OdDbDwgFiler::rdUInt8 ( )
pure virtual

Returns the UInt8 value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdVector2d()

virtual OdGeVector2d OdDbDwgFiler::rdVector2d ( )
pure virtual

Returns the 2D vector value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ rdVector3d()

virtual OdGeVector3d OdDbDwgFiler::rdVector3d ( )
pure virtual

Returns the 3D vector value of the current item of this Filer object.

Implemented in OdIdFiler.

◆ seek()

virtual void OdDbDwgFiler::seek ( OdInt64  offset,
OdDb::FilerSeekType  seekType 
)
pure virtual

Moves the I/O pointer to the specified location in this Filer object.

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 I/O pointer. OdDb::kSeekFromEnd SEEK_END End of file.

Implemented in OdIdFiler.

◆ tell()

virtual OdUInt64 OdDbDwgFiler::tell ( ) const
pure virtual

Returns the current I/O pointer position of this Filer object.

Implemented in OdIdFiler.

◆ usesReferences()

virtual bool OdDbDwgFiler::usesReferences ( ) const
virtual

Returns true if and only if this Filer object wishes to see all object references.

Remarks
The default implementation of this function always returns true.

◆ wrAddress()

virtual void OdDbDwgFiler::wrAddress ( const void value)
virtual

Writes the specified memory address value to this Filer object.

Parameters
value[in] Value.

◆ wrBool()

virtual void OdDbDwgFiler::wrBool ( bool  value)
pure virtual

Writes the specified bool value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrBytes()

virtual void OdDbDwgFiler::wrBytes ( const void buffer,
OdUInt32  numBytes 
)
pure virtual

Writes the specified number of bytes to this Filer object.

Parameters
buffer[in] array of bytes.
numBytes[in] Number of bytes.

Implemented in OdIdFiler.

◆ wrDbHandle()

virtual void OdDbDwgFiler::wrDbHandle ( const OdDbHandle value)
pure virtual

Writes the specified handle value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrDouble()

virtual void OdDbDwgFiler::wrDouble ( double  value)
pure virtual

Writes the specified double value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrExtrusion()

virtual void OdDbDwgFiler::wrExtrusion ( const OdGeVector3d value)
virtual

Writes the specified extrusion value to this Filer object.

Parameters
value[in] Value.

◆ wrHardOwnershipId()

virtual void OdDbDwgFiler::wrHardOwnershipId ( const OdDbObjectId value)
pure virtual

Writes the specified HardOwnershipId value to this Filer object.

Parameters
value[in] Value.

◆ wrHardPointerId()

virtual void OdDbDwgFiler::wrHardPointerId ( const OdDbObjectId value)
pure virtual

Writes the specified HardPointerId value to this Filer object.

Parameters
value[in] Value.

◆ wrInt16()

virtual void OdDbDwgFiler::wrInt16 ( OdInt16  value)
pure virtual

Writes the specified Int16 value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrInt32()

virtual void OdDbDwgFiler::wrInt32 ( OdInt32  value)
pure virtual

Writes the specified Int32 value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrInt64()

virtual void OdDbDwgFiler::wrInt64 ( OdInt64  value)
pure virtual

Writes the specified Int64 value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrInt8()

virtual void OdDbDwgFiler::wrInt8 ( OdInt8  value)
pure virtual

Writes the specified Int8 value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrPoint2d()

virtual void OdDbDwgFiler::wrPoint2d ( const OdGePoint2d value)
pure virtual

Writes the specified 2D point value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrPoint3d()

virtual void OdDbDwgFiler::wrPoint3d ( const OdGePoint3d value)
pure virtual

Writes the specified 3D point value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrScale3d()

virtual void OdDbDwgFiler::wrScale3d ( const OdGeScale3d value)
pure virtual

Writes the specified 3D scale value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrSoftOwnershipId()

virtual void OdDbDwgFiler::wrSoftOwnershipId ( const OdDbObjectId value)
pure virtual

Writes the specified SoftOwnershipId value to this Filer object.

Parameters
value[in] Value.

◆ wrSoftPointerId()

virtual void OdDbDwgFiler::wrSoftPointerId ( const OdDbObjectId value)
pure virtual

Writes the specified SoftPointerId value to this Filer object.

Parameters
value[in] Value.

◆ wrString()

virtual void OdDbDwgFiler::wrString ( const OdString value)
pure virtual

Writes the specified string value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrThickness()

virtual void OdDbDwgFiler::wrThickness ( double  value)
virtual

Writes the specified thickness value to this Filer object.

Parameters
value[in] Value.

◆ wrUInt8()

virtual void OdDbDwgFiler::wrUInt8 ( OdUInt8  value)
pure virtual

Writes the specified UInt8 value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrVector2d()

virtual void OdDbDwgFiler::wrVector2d ( const OdGeVector2d value)
pure virtual

Writes the specified 2D vector value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.

◆ wrVector3d()

virtual void OdDbDwgFiler::wrVector3d ( const OdGeVector3d value)
pure virtual

Writes the specified 3D vector value to this Filer object.

Parameters
value[in] Value.

Implemented in OdIdFiler.


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