Class hierarchy   Compound list   Header files   Member list  

dimeTableEntry Class Reference

The dimeTableEntry class is the superclass for all table classes. More...

#include <TableEntry.h>

Inherits dimeRecordHolder.

Inherited by dimeLayerTable, dimeUCSTable and dimeUnknownTable.

List of all members.

Public Members

Static Public Members

Protected Members


Detailed Description

The dimeTableEntry class is the superclass for all table classes.


Member Function Documentation

dimeTableEntry::dimeTableEntry()

Constructor.

dimeTableEntry::~dimeTableEntry() [virtual]

Destructor.

const char * dimeTableEntry::getTableName() const = 0 [pure virtual]

Reimplemented in dimeLayerTable, dimeUCSTable and dimeUnknownTable.

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

Reimplemented from dimeRecordHolder.

Reimplemented in dimeLayerTable.

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

Reimplemented from dimeRecordHolder.

Reimplemented in dimeLayerTable, dimeUCSTable and dimeUnknownTable.

dimeTableEntry * dimeTableEntry::copy(dimeModel * const model) const = 0 [pure virtual]

Reimplemented in dimeLayerTable, dimeUCSTable and dimeUnknownTable.

int dimeTableEntry::typeId() const = 0 [pure virtual]

Reimplemented from dimeBase.

Reimplemented in dimeLayerTable, dimeUCSTable and dimeUnknownTable.

bool dimeTableEntry::isOfType(const int thetypeid) const [virtual]

Reimplemented from dimeRecordHolder.

int dimeTableEntry::countRecords() const [virtual]

Returns the number of records for this table. Tables overloading this function should first count the number of records they will write, then add the return value of this function to get the total number of records.

Reimplemented from dimeRecordHolder.

Reimplemented in dimeLayerTable, dimeUCSTable and dimeUnknownTable.

dimeTableEntry* dimeTableEntry::createTableEntry(const char * const name, dimeMemHandler * const memhandler) [static]

Static function that creates a table based on its name.

bool dimeTableEntry::preWrite(dimeOutput * const file) [protected]

bool dimeTableEntry::handleRecord(const int, const dimeParam &, dimeMemHandler * const) [protected, virtual]

Reimplemented from dimeRecordHolder.

Reimplemented in dimeLayerTable and dimeUCSTable.

bool dimeTableEntry::copyRecords(dimeTableEntry * const table, dimeModel * const model) const [protected]

Copies the unclassified records.


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.