CFx SDK Documentation  2022 SP0
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
OdTfDwgFiler Class Reference

#include <TfDwgFiler.h>

Inheritance diagram for OdTfDwgFiler:
OdDbDwgFiler OdDbFiler OdRxObject

Public Member Functions

void setChangesCalc (ChangesCalculation *pointer)
 
OdTfDwgFilerImpl * getImpl ()
 
bool & bApplyDiff ()
 
void setUsedMUE ()
 
 ODRX_HEAP_OPERATORS ()
 
 ODRX_DECLARE_MEMBERS (OdTfDwgFiler)
 
 OdTfDwgFiler ()
 
 ~OdTfDwgFiler ()
 
virtual FilerType filerType () const ODRX_OVERRIDE
 
virtual OdDbDatabasedatabase () const ODRX_OVERRIDE
 
virtual void seek (OdInt64 offset, OdDb::FilerSeekType seekType) ODRX_OVERRIDE
 
virtual OdUInt64 tell () const ODRX_OVERRIDE
 
virtual bool rdBool () ODRX_OVERRIDE
 
virtual OdString rdString ()
 
virtual void rdBytes (void *buffer, OdUInt32 numBytes)
 
virtual OdInt8 rdInt8 ()
 
virtual OdUInt8 rdUInt8 ()
 
virtual OdInt16 rdInt16 ()
 
virtual OdInt32 rdInt32 ()
 
virtual OdInt64 rdInt64 ()
 
virtual voidrdAddress ()
 
virtual double rdDouble ()
 
virtual OdDbHandle rdDbHandle ()
 
virtual OdDbObjectId rdSoftOwnershipId ()
 
virtual OdDbObjectId rdHardOwnershipId ()
 
virtual OdDbObjectId rdHardPointerId ()
 
virtual OdDbObjectId rdSoftPointerId ()
 
virtual OdGePoint2d rdPoint2d ()
 
virtual OdGePoint3d rdPoint3d ()
 
virtual OdGeVector2d rdVector2d ()
 
virtual OdGeVector3d rdVector3d ()
 
virtual OdGeScale3d rdScale3d ()
 
virtual void wrBool (bool value)
 
virtual void wrString (const OdString &value)
 
virtual void wrBytes (const void *buffer, OdUInt32 numBytes)
 
virtual void wrInt8 (OdInt8 value)
 
virtual void wrUInt8 (OdUInt8 value)
 
virtual void wrInt16 (OdInt16 value)
 
virtual void wrInt32 (OdInt32 value)
 
virtual void wrInt64 (OdInt64 value)
 
virtual void wrAddress (const void *value)
 
virtual void wrDouble (double value)
 
virtual void wrDbHandle (const OdDbHandle &value)
 
virtual void wrSoftOwnershipId (const OdDbObjectId &value)
 
virtual void wrHardOwnershipId (const OdDbObjectId &value)
 
virtual void wrSoftPointerId (const OdDbObjectId &value)
 
virtual void wrHardPointerId (const OdDbObjectId &value)
 
virtual void wrPoint2d (const OdGePoint2d &value)
 
virtual void wrPoint3d (const OdGePoint3d &value)
 
virtual void wrVector2d (const OdGeVector2d &value)
 
virtual void wrVector3d (const OdGeVector3d &value)
 
virtual void wrScale3d (const OdGeScale3d &value)
 
virtual bool usesReferences () const ODRX_OVERRIDE
 
virtual void addReference (OdDbObjectId id, OdDb::ReferenceType rt) ODRX_OVERRIDE
 
virtual void wrDatabase (OdDbDatabase *pDb)
 
virtual OdDbDatabaserdDatabase ()
 
virtual void wrClass (const OdRxClass *c)
 
virtual OdRxClassrdClass ()
 
- Public Member Functions inherited from OdDbDwgFiler
 OdDbDwgFiler ()
 
 ODRX_DECLARE_MEMBERS (OdDbDwgFiler)
 
- Public Member Functions inherited from OdDbFiler
 OdDbFiler ()
 
 ODRX_DECLARE_MEMBERS (OdDbFiler)
 
virtual OdResult filerStatus () const
 
virtual void resetFilerStatus ()
 
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
 

Static Public Member Functions

static TiXmlDocument * saveDwgToXml (OdDbDatabase *pDb, const char *pcszXsdFilename, OdDbObjectId idObj)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Public Attributes

OdTfDiffFilerImpl * m_pFilerXmlData
 

Friends

class ChangesCalculation
 

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
}
 

Detailed Description

Definition at line 53 of file TfDwgFiler.h.

Constructor & Destructor Documentation

◆ OdTfDwgFiler()

OdTfDwgFiler::OdTfDwgFiler ( )

◆ ~OdTfDwgFiler()

OdTfDwgFiler::~OdTfDwgFiler ( )

Member Function Documentation

◆ addReference()

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

DOM

Reimplemented from OdDbDwgFiler.

◆ bApplyDiff()

bool& OdTfDwgFiler::bApplyDiff ( )
inline

Definition at line 78 of file TfDwgFiler.h.

◆ database()

virtual OdDbDatabase* OdTfDwgFiler::database ( ) const
virtual

Returns the database with which this Filer object is associated.

Reimplemented from OdDbFiler.

◆ filerType()

virtual FilerType OdTfDwgFiler::filerType ( ) const
inlinevirtual

Returns the type of this Filer object.

Implements OdDbFiler.

Definition at line 85 of file TfDwgFiler.h.

◆ getImpl()

OdTfDwgFilerImpl* OdTfDwgFiler::getImpl ( )
inline

Definition at line 77 of file TfDwgFiler.h.

◆ ODRX_DECLARE_MEMBERS()

OdTfDwgFiler::ODRX_DECLARE_MEMBERS ( OdTfDwgFiler  )

◆ ODRX_HEAP_OPERATORS()

OdTfDwgFiler::ODRX_HEAP_OPERATORS ( )

◆ rdAddress()

virtual void* OdTfDwgFiler::rdAddress ( )
virtual

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

Reimplemented from OdDbDwgFiler.

◆ rdBool()

virtual bool OdTfDwgFiler::rdBool ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdBytes()

virtual void OdTfDwgFiler::rdBytes ( void buffer,
OdUInt32  numBytes 
)
virtual

Returns the specified number of bytes from this Filer object.

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

Implements OdDbDwgFiler.

◆ rdClass()

virtual OdRxClass* OdTfDwgFiler::rdClass ( )
virtual

◆ rdDatabase()

virtual OdDbDatabase* OdTfDwgFiler::rdDatabase ( )
virtual

◆ rdDbHandle()

virtual OdDbHandle OdTfDwgFiler::rdDbHandle ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdDouble()

virtual double OdTfDwgFiler::rdDouble ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdHardOwnershipId()

virtual OdDbObjectId OdTfDwgFiler::rdHardOwnershipId ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdHardPointerId()

virtual OdDbObjectId OdTfDwgFiler::rdHardPointerId ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdInt16()

virtual OdInt16 OdTfDwgFiler::rdInt16 ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdInt32()

virtual OdInt32 OdTfDwgFiler::rdInt32 ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdInt64()

virtual OdInt64 OdTfDwgFiler::rdInt64 ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdInt8()

virtual OdInt8 OdTfDwgFiler::rdInt8 ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdPoint2d()

virtual OdGePoint2d OdTfDwgFiler::rdPoint2d ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdPoint3d()

virtual OdGePoint3d OdTfDwgFiler::rdPoint3d ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdScale3d()

virtual OdGeScale3d OdTfDwgFiler::rdScale3d ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdSoftOwnershipId()

virtual OdDbObjectId OdTfDwgFiler::rdSoftOwnershipId ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdSoftPointerId()

virtual OdDbObjectId OdTfDwgFiler::rdSoftPointerId ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdString()

virtual OdString OdTfDwgFiler::rdString ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdUInt8()

virtual OdUInt8 OdTfDwgFiler::rdUInt8 ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdVector2d()

virtual OdGeVector2d OdTfDwgFiler::rdVector2d ( )
virtual

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

Implements OdDbDwgFiler.

◆ rdVector3d()

virtual OdGeVector3d OdTfDwgFiler::rdVector3d ( )
virtual

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

Implements OdDbDwgFiler.

◆ saveDwgToXml()

static TiXmlDocument* OdTfDwgFiler::saveDwgToXml ( OdDbDatabase pDb,
const char *  pcszXsdFilename,
OdDbObjectId  idObj 
)
static

◆ seek()

virtual void OdTfDwgFiler::seek ( OdInt64  offset,
OdDb::FilerSeekType  seekType 
)
inlinevirtual

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.

Implements OdDbDwgFiler.

Definition at line 87 of file TfDwgFiler.h.

◆ setChangesCalc()

void OdTfDwgFiler::setChangesCalc ( ChangesCalculation pointer)
inline

Definition at line 76 of file TfDwgFiler.h.

◆ setUsedMUE()

void OdTfDwgFiler::setUsedMUE ( )
inline

Definition at line 79 of file TfDwgFiler.h.

◆ tell()

virtual OdUInt64 OdTfDwgFiler::tell ( ) const
inlinevirtual

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

Implements OdDbDwgFiler.

Definition at line 88 of file TfDwgFiler.h.

◆ usesReferences()

virtual bool OdTfDwgFiler::usesReferences ( ) const
inlinevirtual

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.

Reimplemented from OdDbDwgFiler.

Definition at line 149 of file TfDwgFiler.h.

◆ wrAddress()

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

Writes the specified memory address value to this Filer object.

Parameters
value[in] Value.

Reimplemented from OdDbDwgFiler.

◆ wrBool()

virtual void OdTfDwgFiler::wrBool ( bool  value)
virtual

Writes the specified bool value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrBytes()

virtual void OdTfDwgFiler::wrBytes ( const void buffer,
OdUInt32  numBytes 
)
virtual

Writes the specified number of bytes to this Filer object.

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

Implements OdDbDwgFiler.

◆ wrClass()

virtual void OdTfDwgFiler::wrClass ( const OdRxClass c)
virtual

◆ wrDatabase()

virtual void OdTfDwgFiler::wrDatabase ( OdDbDatabase pDb)
virtual

◆ wrDbHandle()

virtual void OdTfDwgFiler::wrDbHandle ( const OdDbHandle value)
virtual

Writes the specified handle value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrDouble()

virtual void OdTfDwgFiler::wrDouble ( double  value)
virtual

Writes the specified double value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrHardOwnershipId()

virtual void OdTfDwgFiler::wrHardOwnershipId ( const OdDbObjectId value)
virtual

Writes the specified HardOwnershipId value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrHardPointerId()

virtual void OdTfDwgFiler::wrHardPointerId ( const OdDbObjectId value)
virtual

Writes the specified HardPointerId value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrInt16()

virtual void OdTfDwgFiler::wrInt16 ( OdInt16  value)
virtual

Writes the specified Int16 value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrInt32()

virtual void OdTfDwgFiler::wrInt32 ( OdInt32  value)
virtual

Writes the specified Int32 value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrInt64()

virtual void OdTfDwgFiler::wrInt64 ( OdInt64  value)
virtual

Writes the specified Int64 value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrInt8()

virtual void OdTfDwgFiler::wrInt8 ( OdInt8  value)
virtual

Writes the specified Int8 value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrPoint2d()

virtual void OdTfDwgFiler::wrPoint2d ( const OdGePoint2d value)
virtual

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

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrPoint3d()

virtual void OdTfDwgFiler::wrPoint3d ( const OdGePoint3d value)
virtual

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

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrScale3d()

virtual void OdTfDwgFiler::wrScale3d ( const OdGeScale3d value)
virtual

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

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrSoftOwnershipId()

virtual void OdTfDwgFiler::wrSoftOwnershipId ( const OdDbObjectId value)
virtual

Writes the specified SoftOwnershipId value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrSoftPointerId()

virtual void OdTfDwgFiler::wrSoftPointerId ( const OdDbObjectId value)
virtual

Writes the specified SoftPointerId value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrString()

virtual void OdTfDwgFiler::wrString ( const OdString value)
virtual

Writes the specified string value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrUInt8()

virtual void OdTfDwgFiler::wrUInt8 ( OdUInt8  value)
virtual

Writes the specified UInt8 value to this Filer object.

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrVector2d()

virtual void OdTfDwgFiler::wrVector2d ( const OdGeVector2d value)
virtual

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

Parameters
value[in] Value.

Implements OdDbDwgFiler.

◆ wrVector3d()

virtual void OdTfDwgFiler::wrVector3d ( const OdGeVector3d value)
virtual

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

Parameters
value[in] Value.

Implements OdDbDwgFiler.

Friends And Related Function Documentation

◆ ChangesCalculation

friend class ChangesCalculation
friend

Definition at line 55 of file TfDwgFiler.h.

Member Data Documentation

◆ m_pFilerXmlData

OdTfDiffFilerImpl* OdTfDwgFiler::m_pFilerXmlData

Definition at line 75 of file TfDwgFiler.h.


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