Coin Logo http://www.sim.no
http://www.coin3d.org

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-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