WObjectsList Class Reference

A class representing a list of objects. More...

Inheritance diagram for WObjectsList:

Public Member Functions

 WObjectsList ()
 Constructor.
 
 WObjectsList (int size)
 Constructor.
 
 WObjectsList (int size, WObject *const &value)
 Constructor.
 
 WObjectsList (const QVector< WObject * > &other)
 Copy Constructor.
 

Additional Inherited Members

- Public Types inherited from Resource
enum  ResourceChangeType
 

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 57 of file evorobotexperiment.h.

Constructor & Destructor Documentation

WObjectsList ( )
inline

Constructor.

Definition at line 63 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
sizethe initial size of the vector

Definition at line 75 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
sizethe initial size of the vector
valuethe value of all elements in the vector

Definition at line 88 of file evorobotexperiment.h.

WObjectsList ( const QVector< WObject * > &  other)
inline

Copy Constructor.

Parameters
otherthe vector to copy

Definition at line 98 of file evorobotexperiment.h.


The documentation for this class was generated from the following file: