WObjectsList Class Reference
A class representing a list of objects. More...

Public Member Functions | |
WObjectsList () | |
Constructor. | |
WObjectsList (const QVector< WObject * > &other) | |
Copy Constructor. | |
WObjectsList (int size, WObject *const &value) | |
Constructor. | |
WObjectsList (int size) | |
Constructor. |
Detailed Description
A class representing a list of objects.
We need this to be able to declare a resource of this type. You can get the resource directly as a QVector<WObject*> (so to avoid including this file). All the constructors here directly call the corresponding one in QVector
Definition at line 54 of file evorobotexperiment.h.
Constructor & Destructor Documentation
WObjectsList | ( | ) | [inline] |
Constructor.
Definition at line 60 of file evorobotexperiment.h.
WObjectsList | ( | int | size | ) | [inline] |
Constructor.
Constructs a vector with an initial size of size elements. The elements are initialized with a default-constructed value.
- Parameters:
-
size the initial size of the vector
Definition at line 72 of file evorobotexperiment.h.
WObjectsList | ( | int | size, |
WObject *const & | value | ||
) | [inline] |
Constructor.
Constructs a vector with an initial size of size elements. Each element is initialized with value.
- Parameters:
-
size the initial size of the vector value the value of all elements in the vector
Definition at line 85 of file evorobotexperiment.h.
WObjectsList | ( | const QVector< WObject * > & | other | ) | [inline] |
Copy Constructor.
- Parameters:
-
other the vector to copy
Definition at line 95 of file evorobotexperiment.h.
The documentation for this class was generated from the following file:
- experiments/evorobot/include/evorobotexperiment.h