dimeUnknownObject Class Reference

The dimeUnknownObject class reads and writes undefined objects. More...

#include <dime/objects/UnknownObject.h>

Inheritance diagram for dimeUnknownObject:

dimeObject dimeRecordHolder dimeBase List of all members.

Public Member Functions

 dimeUnknownObject (const char *const name, dimeMemHandler *const memhandler)
virtual ~dimeUnknownObject ()
virtual dimeObjectcopy (dimeModel *const model) const
virtual const char * getObjectName () const
virtual bool write (dimeOutput *const out)
virtual int typeId () const
virtual int countRecords () const

Detailed Description

The dimeUnknownObject class reads and writes undefined objects.


Constructor & Destructor Documentation

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

Constructor.

dimeUnknownObject::~dimeUnknownObject  )  [virtual]
 

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


Member Function Documentation

int dimeUnknownObject::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 dimeObject.

int dimeUnknownObject::typeId  )  const [virtual]
 

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

Implements dimeObject.

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

Writes common and unknown object records to file.

Reimplemented from dimeObject.


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.