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

#include <DbFiler.h>

Inheritance diagram for OdDbDxfFiler:
OdDbFiler OdRxObject CFxBagFiler

Public Types

enum  { kDfltPrec = -1 , kMaxPrec = DBL_DIG + 1 }
 
- 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
}
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbDxfFiler)
 
 OdDbDxfFiler ()
 
virtual void seek (OdInt64 offset, OdDb::FilerSeekType seekType)
 
virtual OdUInt64 tell () const
 
virtual int precision () const
 
virtual void setPrecision (int decimalDigits)
 
virtual void writeXDataStart ()
 
virtual bool includesDefaultValues () const
 
virtual bool atEOF ()
 
virtual bool atEndOfObject ()
 
virtual bool atExtendedData ()
 
virtual bool atSubclassData (const OdString &subClassName)
 
virtual bool atEmbeddedObjectStart ()
 
virtual int nextItem ()
 
virtual OdResBufPtr nextRb ()
 
virtual void writeRb (const OdResBuf *pRb)
 
virtual void pushBackItem ()
 
OdString rdString ()
 
virtual void rdString (OdString &value)=0
 
virtual bool rdBool ()=0
 
virtual OdInt8 rdInt8 ()=0
 
virtual OdInt16 rdInt16 ()=0
 
virtual OdInt32 rdInt32 ()=0
 
virtual OdInt64 rdInt64 ()=0
 
virtual OdUInt8 rdUInt8 ()=0
 
virtual OdUInt16 rdUInt16 ()=0
 
virtual OdUInt32 rdUInt32 ()=0
 
virtual OdUInt64 rdUInt64 ()=0
 
virtual OdDbHandle rdHandle ()=0
 
virtual OdDbObjectId rdObjectId ()=0
 
virtual double rdAngle ()=0
 
virtual double rdDouble ()=0
 
virtual void rdPoint2d (OdGePoint2d &value)=0
 
virtual void rdPoint3d (OdGePoint3d &value)=0
 
virtual void rdVector2d (OdGeVector2d &value)=0
 
virtual void rdVector3d (OdGeVector3d &value)=0
 
virtual void rdScale3d (OdGeScale3d &value)=0
 
virtual void rdBinaryChunk (OdBinaryData &value)=0
 
virtual void copyItem (OdDbDxfFiler *pSource)
 
virtual void wrName (int groupCode, const OdString &value)=0
 
virtual void wrString (int groupCode, const OdString &value)=0
 
void wrStringOpt (int groupCode, const OdString &value)
 
void wrSubclassMarker (const OdString &value)
 
void wrEmbeddedObjectStart ()
 
virtual void wrBool (int groupCode, bool value)=0
 
void wrBoolOpt (int groupCode, bool value, bool defaultValue)
 
virtual void wrInt8 (int groupCode, OdInt8 value)=0
 
void wrInt8Opt (int groupCode, OdInt8 value, OdInt8 defaultValue)
 
virtual void wrUInt8 (int groupCode, OdUInt8 value)=0
 
void wrUInt8Opt (int groupCode, OdUInt8 value, OdUInt8 defaultValue)
 
virtual void wrInt16 (int groupCode, OdInt16 value)=0
 
void wrInt16Opt (int groupCode, OdInt16 value, OdInt16 defaultValue)
 
virtual void wrUInt16 (int groupCode, OdUInt16 value)=0
 
void wrUInt16Opt (int groupCode, OdUInt16 value, OdUInt16 defaultValue)
 
virtual void wrInt32 (int groupCode, OdInt32 value)=0
 
void wrInt32Opt (int groupCode, OdInt32 value, OdInt32 defaultValue)
 
virtual void wrUInt32 (int groupCode, OdUInt32 value)=0
 
void wrUInt32Opt (int groupCode, OdUInt32 value, OdUInt32 defaultValue)
 
virtual void wrInt64 (int groupCode, OdInt64 value)=0
 
void wrInt64Opt (int groupCode, OdInt64 value, OdInt64 defaultValue)
 
virtual void wrUInt64 (int groupCode, OdUInt64 value)=0
 
void wrUInt64Opt (int groupCode, OdUInt64 value, OdUInt64 defaultValue)
 
virtual void wrHandle (int groupCode, OdDbHandle value)=0
 
virtual void wrObjectId (int groupCode, OdDbObjectId value)=0
 
void wrObjectIdOpt (int groupCode, OdDbObjectId value)
 
virtual void wrAngle (int groupCode, double value, int precision=kDfltPrec)=0
 
void wrAngleOpt (int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
 
virtual void wrDouble (int groupCode, double value, int precision=kDfltPrec)=0
 
void wrDoubleOpt (int groupCode, double value, double defaultValue=0., int precision=kDfltPrec)
 
virtual void wrPoint2d (int groupCode, const OdGePoint2d &value, int precision=kDfltPrec)=0
 
void wrPoint2dOpt (int groupCode, const OdGePoint2d &value, const OdGePoint2d &defaultValue, int precision=kDfltPrec)
 
virtual void wrPoint3d (int groupCode, const OdGePoint3d &value, int precision=kDfltPrec)=0
 
void wrPoint3dOpt (int groupCode, const OdGePoint3d &value, const OdGePoint3d &defaultValue, int precision=kDfltPrec)
 
virtual void wrVector2d (int groupCode, const OdGeVector2d &value, int precision=kDfltPrec)=0
 
void wrVector2dOpt (int groupCode, const OdGeVector2d &value, const OdGeVector2d &defaultValue, int precision=kDfltPrec)
 
virtual void wrVector3d (int groupCode, const OdGeVector3d &value, int precision=kDfltPrec)=0
 
void wrVector3dOpt (int groupCode, const OdGeVector3d &value, const OdGeVector3d &defaultValue, int precision=kDfltPrec)
 
virtual void wrScale3d (int groupCode, const OdGeScale3d &value, int precision=kDfltPrec)=0
 
virtual void wrBinaryChunk (int groupCode, const OdUInt8 *buffer, OdUInt32 numBytes)=0
 
void wrBinaryChunk (int groupCode, const OdBinaryData &value)
 
- 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

- 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 DXF formats.

Corresponding C++ library: TD_Db

<group OdDb_Classes>

Definition at line 193 of file DbFiler.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Number of decimal digits written to ASCII DXF files.

Enumerator
kDfltPrec 
kMaxPrec 

Definition at line 259 of file DbFiler.h.

Constructor & Destructor Documentation

◆ OdDbDxfFiler()

OdDbDxfFiler::OdDbDxfFiler ( )
inline

Definition at line 197 of file DbFiler.h.

Member Function Documentation

◆ atEmbeddedObjectStart()

virtual bool OdDbDxfFiler::atEmbeddedObjectStart ( )
virtual

Returns true if and only if this Filer object is at start of an embedded object.

Remarks
If true, the Filer advances the file pointer to the next item.
The default implementation of this function does nothing but throw an exception.

◆ atEndOfObject()

virtual bool OdDbDxfFiler::atEndOfObject ( )
virtual

Returns true if and only if this Filer object is at the end of an object's data.

Remarks
This will be true when the filter is at any of the following:

The start of another object's data. The end of a file.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ atEOF()

virtual bool OdDbDxfFiler::atEOF ( )
virtual

Returns true if and only if this Filer object is at the end of an object's data.

Remarks
This will be true when the filter is at any of the following:

A subclass data marker. The start of an object's xdata. The start of embedded object's data. The start of another object's data. The end of a file.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ atExtendedData()

virtual bool OdDbDxfFiler::atExtendedData ( )
virtual

Returns true if and only if this Filer object is at the start of an object's xdata.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ atSubclassData()

virtual bool OdDbDxfFiler::atSubclassData ( const OdString subClassName)
virtual

Returns true if and only if this Filer object is at a subclass data marker with the specified subClassName.

Parameters
subClassName[in] Subclass name.
Remarks
If true, the Filer advances the file pointer to the next item.
The default implementation of this function does nothing but throw an exception.

◆ copyItem()

virtual void OdDbDxfFiler::copyItem ( OdDbDxfFiler pSource)
virtual

Copies the current item from the specified Filer object to this one.

Parameters
pSource[in] Pointer to the source Filer.

◆ includesDefaultValues()

virtual bool OdDbDxfFiler::includesDefaultValues ( ) const
virtual

Returns true if and only if default values are normally written to the file associated with this Filer object.

◆ nextItem()

virtual int OdDbDxfFiler::nextItem ( )
virtual

Reads the next item of this Filer object, and returns its group code.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ nextRb()

virtual OdResBufPtr OdDbDxfFiler::nextRb ( )
virtual

Reads the next item of this Filer object, and returns a SmartPointer to its ResBuf.

◆ ODRX_DECLARE_MEMBERS()

OdDbDxfFiler::ODRX_DECLARE_MEMBERS ( OdDbDxfFiler  )

◆ precision()

virtual int OdDbDxfFiler::precision ( ) const
virtual

Returns the number of decimal places for DxfOut filing with this Filer object.

Remarks
Returns kDfltPrec for DxfIn filing.
The default implementation of this function does nothing but throw an exception.

◆ pushBackItem()

virtual void OdDbDxfFiler::pushBackItem ( )
virtual

Resets this Filer object to where it was before the last item was read.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ rdAngle()

virtual double OdDbDxfFiler::rdAngle ( )
pure virtual

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

◆ rdBinaryChunk()

virtual void OdDbDxfFiler::rdBinaryChunk ( OdBinaryData value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ rdBool()

virtual bool OdDbDxfFiler::rdBool ( )
pure virtual

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

◆ rdDouble()

virtual double OdDbDxfFiler::rdDouble ( )
pure virtual

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

◆ rdHandle()

virtual OdDbHandle OdDbDxfFiler::rdHandle ( )
pure virtual

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

◆ rdInt16()

virtual OdInt16 OdDbDxfFiler::rdInt16 ( )
pure virtual

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

◆ rdInt32()

virtual OdInt32 OdDbDxfFiler::rdInt32 ( )
pure virtual

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

◆ rdInt64()

virtual OdInt64 OdDbDxfFiler::rdInt64 ( )
pure virtual

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

◆ rdInt8()

virtual OdInt8 OdDbDxfFiler::rdInt8 ( )
pure virtual

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

◆ rdObjectId()

virtual OdDbObjectId OdDbDxfFiler::rdObjectId ( )
pure virtual

Returns the Object ID value of the current item of this Filer object.

◆ rdPoint2d()

virtual void OdDbDxfFiler::rdPoint2d ( OdGePoint2d value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ rdPoint3d()

virtual void OdDbDxfFiler::rdPoint3d ( OdGePoint3d value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ rdScale3d()

virtual void OdDbDxfFiler::rdScale3d ( OdGeScale3d value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ rdString() [1/2]

OdString OdDbDxfFiler::rdString ( )

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

Parameters
value[out] Receives the value.

◆ rdString() [2/2]

virtual void OdDbDxfFiler::rdString ( OdString value)
pure virtual

◆ rdUInt16()

virtual OdUInt16 OdDbDxfFiler::rdUInt16 ( )
pure virtual

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

◆ rdUInt32()

virtual OdUInt32 OdDbDxfFiler::rdUInt32 ( )
pure virtual

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

◆ rdUInt64()

virtual OdUInt64 OdDbDxfFiler::rdUInt64 ( )
pure virtual

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

◆ rdUInt8()

virtual OdUInt8 OdDbDxfFiler::rdUInt8 ( )
pure virtual

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

◆ rdVector2d()

virtual void OdDbDxfFiler::rdVector2d ( OdGeVector2d value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ rdVector3d()

virtual void OdDbDxfFiler::rdVector3d ( OdGeVector3d value)
pure virtual

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

Parameters
value[out] Receives the value.

◆ seek()

virtual void OdDbDxfFiler::seek ( OdInt64  offset,
OdDb::FilerSeekType  seekType 
)
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.

Remarks
The default implementation of this function does nothing but throw an exception.

◆ setPrecision()

virtual void OdDbDxfFiler::setPrecision ( int  decimalDigits)
virtual

Sets the number of decimal places DxfOut filing with this Filer object.

Parameters
precision[in] Decimal places.
Remarks
The default implementation of this function does nothing but throw an exception.

◆ tell()

virtual OdUInt64 OdDbDxfFiler::tell ( ) const
virtual

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

Remarks
The default implementation of this function does nothing but throw an exception.

◆ wrAngle()

virtual void OdDbDxfFiler::wrAngle ( int  groupCode,
double  value,
int  precision = kDfltPrec 
)
pure virtual

Writes the specified angle value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrAngleOpt()

void OdDbDxfFiler::wrAngleOpt ( int  groupCode,
double  value,
double  defaultValue = 0.,
int  precision = kDfltPrec 
)

Writes the specified optional angle value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

◆ wrBinaryChunk() [1/2]

void OdDbDxfFiler::wrBinaryChunk ( int  groupCode,
const OdBinaryData value 
)

Writes the specified BinaryChunk value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrBinaryChunk() [2/2]

virtual void OdDbDxfFiler::wrBinaryChunk ( int  groupCode,
const OdUInt8 buffer,
OdUInt32  numBytes 
)
pure virtual

Writes the specified BinaryChunk value to this Filer object.

Parameters
groupCode[in] Group code.
numBytes[in] Number of bytes.
buffer[in] Array of bytes.

◆ wrBool()

virtual void OdDbDxfFiler::wrBool ( int  groupCode,
bool  value 
)
pure virtual

Writes the specified bool value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrBoolOpt()

void OdDbDxfFiler::wrBoolOpt ( int  groupCode,
bool  value,
bool  defaultValue 
)

Writes the specified optional bool value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrDouble()

virtual void OdDbDxfFiler::wrDouble ( int  groupCode,
double  value,
int  precision = kDfltPrec 
)
pure virtual

Writes the specified double value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrDoubleOpt()

void OdDbDxfFiler::wrDoubleOpt ( int  groupCode,
double  value,
double  defaultValue = 0.,
int  precision = kDfltPrec 
)

Writes the specified optional double value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

◆ wrEmbeddedObjectStart()

void OdDbDxfFiler::wrEmbeddedObjectStart ( )

Writes the embedded object start marker to this Filer object.

◆ wrHandle()

virtual void OdDbDxfFiler::wrHandle ( int  groupCode,
OdDbHandle  value 
)
pure virtual

Writes the specified bool value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrInt16()

virtual void OdDbDxfFiler::wrInt16 ( int  groupCode,
OdInt16  value 
)
pure virtual

Writes the specified Int16 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrInt16Opt()

void OdDbDxfFiler::wrInt16Opt ( int  groupCode,
OdInt16  value,
OdInt16  defaultValue 
)

Writes the specified optional Int16 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrInt32()

virtual void OdDbDxfFiler::wrInt32 ( int  groupCode,
OdInt32  value 
)
pure virtual

Writes the specified Int32 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrInt32Opt()

void OdDbDxfFiler::wrInt32Opt ( int  groupCode,
OdInt32  value,
OdInt32  defaultValue 
)

Writes the specified optional Int32 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrInt64()

virtual void OdDbDxfFiler::wrInt64 ( int  groupCode,
OdInt64  value 
)
pure virtual

Writes the specified Int64 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrInt64Opt()

void OdDbDxfFiler::wrInt64Opt ( int  groupCode,
OdInt64  value,
OdInt64  defaultValue 
)

Writes the specified optional Int64 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrInt8()

virtual void OdDbDxfFiler::wrInt8 ( int  groupCode,
OdInt8  value 
)
pure virtual

Writes the specified Int8 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrInt8Opt()

void OdDbDxfFiler::wrInt8Opt ( int  groupCode,
OdInt8  value,
OdInt8  defaultValue 
)

Writes the specified optional Int8 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ writeRb()

virtual void OdDbDxfFiler::writeRb ( const OdResBuf pRb)
virtual

Writes the specified ResBuf object to this Filer object.

Parameters
pRb[in] Pointer to the ResBuf object.

◆ writeXDataStart()

virtual void OdDbDxfFiler::writeXDataStart ( )
virtual

Indicates the start of xdata in this Filer object.

◆ wrName()

virtual void OdDbDxfFiler::wrName ( int  groupCode,
const OdString value 
)
pure virtual

Writes the specified name value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrObjectId()

virtual void OdDbDxfFiler::wrObjectId ( int  groupCode,
OdDbObjectId  value 
)
pure virtual

Writes the specified Object ID value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrObjectIdOpt()

void OdDbDxfFiler::wrObjectIdOpt ( int  groupCode,
OdDbObjectId  value 
)

Writes the specified optional Object ID value to this Filer object.

Remarks
value is written if and only if (value != NULL) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrPoint2d()

virtual void OdDbDxfFiler::wrPoint2d ( int  groupCode,
const OdGePoint2d value,
int  precision = kDfltPrec 
)
pure virtual

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

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrPoint2dOpt()

void OdDbDxfFiler::wrPoint2dOpt ( int  groupCode,
const OdGePoint2d value,
const OdGePoint2d defaultValue,
int  precision = kDfltPrec 
)

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

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

◆ wrPoint3d()

virtual void OdDbDxfFiler::wrPoint3d ( int  groupCode,
const OdGePoint3d value,
int  precision = kDfltPrec 
)
pure virtual

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

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrPoint3dOpt()

void OdDbDxfFiler::wrPoint3dOpt ( int  groupCode,
const OdGePoint3d value,
const OdGePoint3d defaultValue,
int  precision = kDfltPrec 
)

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

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

◆ wrScale3d()

virtual void OdDbDxfFiler::wrScale3d ( int  groupCode,
const OdGeScale3d value,
int  precision = kDfltPrec 
)
pure virtual

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

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrString()

virtual void OdDbDxfFiler::wrString ( int  groupCode,
const OdString value 
)
pure virtual

Writes the specified string value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrStringOpt()

void OdDbDxfFiler::wrStringOpt ( int  groupCode,
const OdString value 
)

Writes the specified optional string value to this Filer object.

Remarks
value is written if and only if (value != NULL) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrSubclassMarker()

void OdDbDxfFiler::wrSubclassMarker ( const OdString value)

Writes the specified subclass data marker to this Filer object.

Parameters
value[in] Value.

◆ wrUInt16()

virtual void OdDbDxfFiler::wrUInt16 ( int  groupCode,
OdUInt16  value 
)
pure virtual

Writes the specified UInt16 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrUInt16Opt()

void OdDbDxfFiler::wrUInt16Opt ( int  groupCode,
OdUInt16  value,
OdUInt16  defaultValue 
)

Writes the specified optional UInt16 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrUInt32()

virtual void OdDbDxfFiler::wrUInt32 ( int  groupCode,
OdUInt32  value 
)
pure virtual

Writes the specified UInt32 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrUInt32Opt()

void OdDbDxfFiler::wrUInt32Opt ( int  groupCode,
OdUInt32  value,
OdUInt32  defaultValue 
)

Writes the specified optional UInt32 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrUInt64()

virtual void OdDbDxfFiler::wrUInt64 ( int  groupCode,
OdUInt64  value 
)
pure virtual

Writes the specified UInt64 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrUInt64Opt()

void OdDbDxfFiler::wrUInt64Opt ( int  groupCode,
OdUInt64  value,
OdUInt64  defaultValue 
)

Writes the specified optional UInt64 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrUInt8()

virtual void OdDbDxfFiler::wrUInt8 ( int  groupCode,
OdUInt8  value 
)
pure virtual

Writes the specified UInt8 value to this Filer object.

Parameters
groupCode[in] Group code.
value[in] Value.

◆ wrUInt8Opt()

void OdDbDxfFiler::wrUInt8Opt ( int  groupCode,
OdUInt8  value,
OdUInt8  defaultValue 
)

Writes the specified optional UInt8 value to this Filer object.

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.

◆ wrVector2d()

virtual void OdDbDxfFiler::wrVector2d ( int  groupCode,
const OdGeVector2d value,
int  precision = kDfltPrec 
)
pure virtual

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

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrVector2dOpt()

void OdDbDxfFiler::wrVector2dOpt ( int  groupCode,
const OdGeVector2d value,
const OdGeVector2d defaultValue,
int  precision = kDfltPrec 
)

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

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

◆ wrVector3d()

virtual void OdDbDxfFiler::wrVector3d ( int  groupCode,
const OdGeVector3d value,
int  precision = kDfltPrec 
)
pure virtual

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

Parameters
groupCode[in] Group code.
value[in] Value.
precision[in] Decimal places.

◆ wrVector3dOpt()

void OdDbDxfFiler::wrVector3dOpt ( int  groupCode,
const OdGeVector3d value,
const OdGeVector3d defaultValue,
int  precision = kDfltPrec 
)

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

Remarks
value is written if and only if (value != default) || (includesDefaultValues() == true)
Parameters
groupCode[in] Group code.
value[in] Value.
defaultValue[in] Default value.
precision[in] Decimal places.

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