CFx SDK Documentation
2020SP3
|
#include <DbDictionaryVar.h>
This class represents Dictionary Variable objects in an OdDbDatabase instance.
Corresponding C++ library: TD_Db
<group OdDb_Classes>
Definition at line 41 of file DbDictionaryVar.h.
OdDbDictionaryVar::OdDbDictionaryVar | ( | ) |
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
This function is called by dwgIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
This function is called by dwgIn() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
|
virtual |
Reads the DXF format data of this object from the specified filer.
pFiler | [in] Pointer to the filer from which the data are to be read. |
This function calls this object's dxfInFields(pFiler), then loads any Xdata associated with this object.
Reimplemented from OdDbObject.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
OdInt16 OdDbDictionaryVar::getSchema | ( | ) | const |
Returns the schema number of this Dictionary Variable object (DXF 280).
OdDbDictionaryVar::ODDB_DECLARE_MEMBERS | ( | OdDbDictionaryVar | ) |
Sets the schema number of this Dictionary Variable object (DXF 280).
schemaNumber | [in] Schema number. |
void OdDbDictionaryVar::setValue | ( | bool | val | ) |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
void OdDbDictionaryVar::setValue | ( | const OdGePoint2d & | val | ) |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
void OdDbDictionaryVar::setValue | ( | const OdGePoint3d & | val | ) |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
void OdDbDictionaryVar::setValue | ( | double | val | ) |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
void OdDbDictionaryVar::setValue | ( | int | val | ) |
Sets the value of this Dictionary Variable object (DXF 1).
val | [in] Value for this object. |
OdString OdDbDictionaryVar::value | ( | ) | const |
Returns the value of this Dictionary Variable object (DXF 1).
bool OdDbDictionaryVar::valueAs | ( | bool & | val | ) | const |
Returns the value of this Dictionary Variable object as a bool.
val | [out] Receives the value of this object. |
bool OdDbDictionaryVar::valueAs | ( | double & | val | ) | const |
Returns the value of this Dictionary Variable object as a double.
val | [out] Receives the value of this object. |
bool OdDbDictionaryVar::valueAs | ( | int & | val | ) | const |
Returns the value of this Dictionary Variable object as an int.
val | [out] Receives the value of this object. |
bool OdDbDictionaryVar::valueAs | ( | OdGePoint2d & | val | ) | const |
Returns the value of this Dictionary Variable object as an OdGePoint2d.
val | [out] Receives the value of this object. |
bool OdDbDictionaryVar::valueAs | ( | OdGePoint3d & | val | ) | const |
Returns the value of this Dictionary Variable object as an OdGePoint3d.
val | [out] Receives the value of this object. |
|
inline |
Returns the value of this Dictionary Variable object as a string.
val | [out] Receives the value of this object. |
Definition at line 69 of file DbDictionaryVar.h.