Drive Engine
1.0.0
Plateforme de reconstruction 3D
|
The collection interface. More...
#include <ICollection.h>
Public Member Functions | |
virtual Size | GetSize () const =0 |
Gets the size, that is the number of elements contained in the collection. More... | |
virtual bool | IsEmpty () const =0 |
Verify if the collection is empty. More... | |
virtual IEnumerator * | GetEnumerator () const =0 |
Gets an enumerator. More... | |
virtual IConstEnumerator * | GetConstEnumerator () const =0 |
Gets a constant enumerator. More... | |
virtual void | Clear ()=0 |
Remove every element contained in the collection. More... | |
Public Member Functions inherited from IExportable | |
virtual void | Delete () const =0 |
Deletes the current object. Needed for memory management. More... | |
The collection interface.
Every collection planned to be used by the framework must extends this interface.
A collection does not contain objects, but references to them. A collection is not responsible to delete objects. A bad use could lead to a memory leak.
|
pure virtual |
Remove every element contained in the collection.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implemented in DriveEngine::DefaultParameterList.
|
pure virtual |
Gets a constant enumerator.
Exception safety : No-throw guarantee. This member function never throws exceptions. Is the responsability of developper to free the memory occupied by enumerator after it use. Otherwise a memory leak is created.
Implemented in DriveEngine::DefaultParameterList.
|
pure virtual |
Gets an enumerator.
Exception safety : No-throw guarantee. This member function never throws exceptions. Is the responsability of developper to free the memory occupied by enumerator after it use. Otherwise a memory leak is created.
Implemented in DriveEngine::DefaultParameterList.
|
pure virtual |
Gets the size, that is the number of elements contained in the collection.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implemented in DriveEngine::DefaultParameterList.
|
pure virtual |
Verify if the collection is empty.
Exception safety : No-throw guarantee. This member function never throws exceptions.
Implemented in DriveEngine::DefaultParameterList.