#include <dime/sections/TablesSection.h>
Inheritance diagram for dimeTablesSection::
Public Methods | |
dimeTablesSection (dimeMemHandler *const memhandler=NULL) | |
virtual | ~dimeTablesSection () |
virtual const char * | getSectionName () const |
virtual dimeSection * | copy (dimeModel *const model) const |
virtual bool | read (dimeInput *const file) |
virtual bool | write (dimeOutput *const file) |
virtual int | typeId () const |
virtual int | countRecords () const |
int | getNumTables () const |
dimeTable * | getTable (const int idx) |
void | removeTable (const int idx) |
void | insertTable (dimeTable *const table, const int idx=-1) |
|
Constructor. |
|
Destructor. |
|
Returns the number of records in this section. Reimplemented from dimeSection. |
|
Returns the number of tables in this section. |
|
Returns the table at index idx. |
|
Inserts a new table at index idx. If idx is negative, the table will be inserted at the end of the list of tables. Be aware that the order of the tables might be important. For instance, the LTYPE table should always precede the LAYER table. |
|
Will read a dxf TABLES section. Reimplemented from dimeSection. |
|
Removes (and deletes if no memhandler is used) the table at index idx. |
|
Must be implemented by all subclasses, and should return an unique id for that class. Reimplemented from dimeSection. |