|
http://www.sim.no http://www.coin3d.org |
#include <dime/entities/UnknownEntity.h>
Inheritance diagram for dimeUnknownEntity:

Public Member Functions | |
| 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 |
| dimeUnknownEntity::dimeUnknownEntity | ( | const char *const | name, | |
| dimeMemHandler *const | memhandler | |||
| ) |
Constructor.
| dimeUnknownEntity::~dimeUnknownEntity | ( | ) | [virtual] |
Destructor. Should only be called if no memhandler is used.
| 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.
Copyright © 1998-2005 by Systems in Motion AS. All rights reserved.
Generated on Tue Dec 2 23:27:14 2008 for DIME by Doxygen. 1.4.7