CFx SDK Documentation
2023 SP0
|
#include <DbSymbolTable.h>
<group OdDb_Classes>
This class implements the predefined table object, which represents a container for
storing and accessing of named record objects in the database.
<link db_database_object_sample_about.html, Example of Using the Record-Table and Dictionary Interfaces for Getting Information about Objects>
OdDbSymbolTableRecord class
Definition at line 87 of file DbSymbolTable.h.
OdDbSymbolTable::OdDbSymbolTable | ( | ) |
Builds an instance of the predefined table object.
Applications typically will not use this constructor, insofar as the database object creates own instance of all predefined tables.
|
virtual |
Adds the specified named record object to the predefined table object and returns the Object ID of the added record object.
pRecord | [in] Pointer to the existing named record object to be added. |
OdError_DuplicateRecordName class
Reimplemented in OdDbViewportTable, OdDbTextStyleTable, OdDbLinetypeTable, OdDbDimStyleTable, and OdDbBlockTable.
|
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.
Reimplemented in OdDbLinetypeTable, OdDbDimStyleTable, and OdDbBlockTable.
|
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.
Reimplemented in OdDbLinetypeTable, OdDbDimStyleTable, and OdDbBlockTable.
|
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.
Reimplemented in OdDbViewportTable, and OdDbBlockTable.
|
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.
Reimplemented in OdDbDimStyleTable.
|
virtual |
Reads the DXF R12 format data of this object.
pFiler | [in] Pointer to the filer from which data are to be 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 dxfInFields_R12(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfOutFields_R12(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 format data of this object to the specified filer.
pFiler | [in] Pointer to the filer to which the data are to be written. |
Reimplemented from OdDbObject.
Reimplemented in OdDbLinetypeTable.
|
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.
Reimplemented in OdDbDimStyleTable.
|
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). 3) 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.
|
virtual |
Searches the named record object in the predefined table object using the specified name.
sName | [in] Record name as a String value up to 255 characters long. |
getErasedRecord | [in] If and only if true, erased records will be opened or retrieved. |
Reimplemented in OdDbLinetypeTable, and OdDbBlockTable.
|
virtual |
Searches the named record object in the predefined table object using the specified name and opnes it in the specified mode.
sName | [in] Record name as a String value up to 255 characters long. |
openMode | [in] Mode in which to open the record. |
getErasedRecord | [in] If and only if true, erased records will be opened or retrieved. |
Reimplemented in OdDbLinetypeTable, and OdDbBlockTable.
|
virtual |
Determines whether the named record object exists in the predefined table object using the specified object ID, and returns True if and only if the predefined table object contains the specified named record object.
objectId | [in] Object ID. |
Reimplemented in OdDbLinetypeTable, and OdDbBlockTable.
|
virtual |
Determines whether the named record object exists in the predefined table object using the specified name, and returns True if and only if the predefined table object contains the specified named record object.
sName | [in] Record name as a String value up to 255 characters long. |
Reimplemented in OdDbLinetypeTable, and OdDbBlockTable.
|
virtual |
Returns an Iterator object that can be used to traverse through record objects in the predefined table object.
atBeginning | [in] True - to start at the beginning, or False - to start at the end. |
skipDeleted | [in] True - to iterate only unerased records, or False - to iterate through unerased and erased records. |
Reimplemented in OdDbLinetypeTable, and OdDbBlockTable.
OdDbSymbolTable::ODDB_DECLARE_MEMBERS | ( | OdDbSymbolTable | ) |