|
http://www.sim.no http://www.coin3d.org |
#include <dime/sections/ObjectsSection.h>
Inheritance diagram for dimeObjectsSection:

Public Member Functions | |
| dimeObjectsSection (dimeMemHandler *const memhandler=NULL) | |
| virtual | ~dimeObjectsSection () |
| virtual const char * | getSectionName () const |
| virtual dimeSection * | copy (dimeModel *const model) const |
| virtual bool | read (dimeInput *const file) |
| virtual bool | write (dimeOutput *const file) |
| virtual int | typeId () const |
| virtual int | countRecords () const |
| int | getNumObjects () const |
| dimeObject * | getObject (const int idx) |
| void | removeObject (const int idx) |
| void | insertObject (dimeObject *const object, const int idx=-1) |
Friends | |
| class | dimeModel |
| dimeObjectsSection::dimeObjectsSection | ( | dimeMemHandler *const | memhandler = NULL |
) |
Constructor.
| dimeObjectsSection::~dimeObjectsSection | ( | ) | [virtual] |
Destructor.
| int dimeObjectsSection::countRecords | ( | ) | const [virtual] |
Returns the number of records in this section.
Implements dimeSection.
| int dimeObjectsSection::getNumObjects | ( | ) | const |
Returns the number of objects in this section.
| dimeObject * dimeObjectsSection::getObject | ( | const int | idx | ) |
Returns the object at index idx.
| void dimeObjectsSection::insertObject | ( | dimeObject *const | object, | |
| const int | idx = -1 | |||
| ) |
Inserts a new object at index idx. If idx is negative, the object will be inserted at the end of the list of objects.
| void dimeObjectsSection::removeObject | ( | const int | idx | ) |
Removes (and deletes if no memhandler is used) the object at index idx.
| int dimeObjectsSection::typeId | ( | ) | const [virtual] |
Must be implemented by all subclasses, and should return an unique id for that class.
Implements dimeSection.
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