dimeUnknownEntity Class Reference

The dimeUnknownEntity class reads and writes undefined entity classes. More...

#include <dime/entities/UnknownEntity.h>

Inheritance diagram for dimeUnknownEntity:

dimeEntity dimeRecordHolder dimeBase List of all members.

Public Member Functions

 dimeUnknownEntity (const char *const name, dimeMemHandler *const memhandler)
virtual ~dimeUnknownEntity ()
virtual dimeEntitycopy (dimeModel *const model) const
virtual const char * getEntityName () const
virtual bool write (dimeOutput *const out)
virtual int typeId () const
virtual int countRecords () const

Detailed Description

The dimeUnknownEntity class reads and writes undefined entity classes.


Constructor & Destructor Documentation

dimeUnknownEntity::dimeUnknownEntity const char *const   name,
dimeMemHandler *const   memhandler
 

Constructor.

dimeUnknownEntity::~dimeUnknownEntity  )  [virtual]
 

Destructor. Should only be called if no memhandler is used.


Member Function Documentation

dimeEntity * dimeUnknownEntity::copy dimeModel *const   model  )  const [virtual]
 

Must be implemented by subclasses to return a copy of the entity. model is the model the new entity should belong to.

Implements dimeEntity.

int dimeUnknownEntity::countRecords  )  const [virtual]
 

Returns the number of records in the record holder. Should be overloaded by subclasses which should count their records, and then call the parent's method. This method is used to precalculate the number of records to be written. Very useful when progress information is needed during write().

Reimplemented from dimeEntity.

const char * dimeUnknownEntity::getEntityName  )  const [virtual]
 

Must be implemented by subclasses to return the entity name; e.g. POLYLINE, 3DFACE, etc.

Implements dimeEntity.

int dimeUnknownEntity::typeId  )  const [virtual]
 

Must be implemented by all subclasses, and should return an unique id for that class.

Implements dimeBase.

bool dimeUnknownEntity::write dimeOutput *const   out  )  [virtual]
 

Will write the records to file.

Reimplemented from dimeEntity.


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.