Class hierarchy   Compound list   Header files   Member list  

dimeTablesSection Class Reference

The dimeTablesSection class handles a TABLES section. More...

#include <TablesSection.h>

Inherits dimeSection.

List of all members.

Public Members


Detailed Description

The dimeTablesSection class handles a TABLES section.


Member Function Documentation

dimeTablesSection::dimeTablesSection(dimeMemHandler * const memhandler)

Constructor.

dimeTablesSection::~dimeTablesSection() [virtual]

Destructor.

const char* dimeTablesSection::getSectionName() const [virtual]

Reimplemented from dimeSection.

dimeSection* dimeTablesSection::copy(dimeModel * const model) const [virtual]

Reimplemented from dimeSection.

bool dimeTablesSection::read(dimeInput * const file) [virtual]

Will read a dxf TABLES section.

Reimplemented from dimeSection.

bool dimeTablesSection::write(dimeOutput * const file) [virtual]

Reimplemented from dimeSection.

int dimeTablesSection::typeId() const [virtual]

Reimplemented from dimeSection.

int dimeTablesSection::countRecords() const [virtual]

Reimplemented from dimeSection.

int dimeTablesSection::getNumTables() const

Returns the number of tables in this section.

dimeTable* dimeTablesSection::getTable(const int idx)

Returns the table at index idx.

void dimeTablesSection::removeTable(const int idx)

Removes (and deletes if no memhandler is used) the table at index idx.

void dimeTablesSection::insertTable(dimeTable * const table, const int 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.


The documentation for this class was generated from the following files:
Copyright © 1998-1999, Systems In Motion <sales@sim.no>. All rights reserved.
System documentation was generated using doxygen.