#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 |
|
Constructor. |
|
Destructor. |
|
Returns the number of records in this section. Implements dimeSection. |
|
Returns the number of objects in this section. |
|
Returns the object at index idx. |
|
Inserts a new object at index idx. If idx is negative, the object will be inserted at the end of the list of objects. |
|
Removes (and deletes if no memhandler is used) the object at index idx. |
|
Must be implemented by all subclasses, and should return an unique id for that class. Implements dimeSection. |