#include <MVNest.h>

Public Member Functions | |
| MVNest () | |
| Default constructor. | |
| void | addToComponents (MVOnPlaceObject *object) |
| Adds an OnPlaceObject to the nest's components. | |
| void | removeFromComponents (MVOnPlaceObject *object) |
| Removes an OnPlaceObject from the nest's components. | |
| std::vector< MVOnPlaceObject * > * | getComponents () |
| Returns a pointer to the list of objects in the nest's components. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Private Attributes | |
| std::vector< MVOnPlaceObject * > | components |
| Vector of components the nest is build of. | |
This class represents a nest on a place.
| MVNest::MVNest | ( | ) |
Default constructor.
| void MVNest::addToComponents | ( | MVOnPlaceObject * | object | ) |
Adds an OnPlaceObject to the nest's components.
Adds an OnPlaceObject to the nest's components.
| object | Pointer to the object, instance of MVOnPlaceObject, which should be added. |
| void MVNest::removeFromComponents | ( | MVOnPlaceObject * | object | ) |
Removes an OnPlaceObject from the nest's components.
Removes an OnPlaceObject from the nest's components.
| object | Pointer to the object, instance of MVOnPlaceObject, which should be removed. |
| std::vector< MVOnPlaceObject * > * MVNest::getComponents | ( | ) |
Returns a pointer to the list of objects in the nest's components.
Returns a pointer to the list of objects in the nest's components.
| string MVNest::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from MVOnPlaceObject.
| string MVNest::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from MVOnPlaceObject.
| enum classId MVNest::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from MVOnPlaceObject.
std::vector<MVOnPlaceObject *> MVNest::components [private] |
Vector of components the nest is build of.
1.5.6