class csObject : public csBase A generic csObject class
| | csObject (csObject& csobj) |
| | csObject () |
| | GetID () |
| | GetObj (const csIdType& objtype) Return the first subobject instance of the given type |
| | GetObjectParent () Returns the parent csObject. Not required. |
| | ObjAdd (csObject* obj) Attach a new csObject to the tree |
| | ObjGet (const csIdType& objtype) Return an iterator referencing all objects of the given type |
| | ObjRelease (csObject* obj) Removes the given object from the tree, without freeing the contents |
| | ObjRemove (csObject* obj) Deletes the given object, removing it from the object tree |
| | ~csObject () |
| | csid_value |
| | objtree |
| | SetObjectParent (csObject* parent) Set the parent csObject. Not required. |
A generic csObject class. Any csObject can have any number of csObject children attached to it via the csObject tree. In order to make a class (let's call it newClass) that derives from csObject, the class must contain "CSOBJTYPE;" in the declaration. The corresponding .cpp file should contain "CSOBJTYPE(newClass,parentClass);"
CS_ID csid_value
virtual void SetObjectParent(csObject* parent)
csObject()
virtual ~csObject()
csObject(csObject& csobj)
virtual csObject* GetObjectParent()
csObject* GetObj(const csIdType& objtype)
csObjIterator ObjGet(const csIdType& objtype)
void ObjAdd(csObject* obj)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de