#include <dime/entities/UnknownEntity.h>
Inheritance diagram for dimeUnknownEntity::
Public Methods | |
dimeUnknownEntity (const char *const name, dimeMemHandler *const memhandler) | |
virtual | ~dimeUnknownEntity () |
virtual dimeEntity * | copy (dimeModel *const model) const |
virtual const char * | getEntityName () const |
virtual bool | write (dimeOutput *const out) |
virtual int | typeId () const |
virtual int | countRecords () const |
|
Constructor. |
|
Destructor. Should only be called if no memhandler is used. |
|
Must be implemented by subclasses to return a copy of the entity. model is the model the new entity should belong to. Reimplemented from dimeEntity. |
|
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. |
|
Must be implemented by subclasses to return the entity name; e.g. POLYLINE, 3DFACE, etc. Reimplemented from dimeEntity. |
|
Must be implemented by all subclasses, and should return an unique id for that class. Reimplemented from dimeBase. |
|
Will write the records to file. Reimplemented from dimeEntity. |