Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IParameterList Class Referenceabstract

List of parameters. Used to configure module implementations. More...

#include <IParameterList.h>

Inheritance diagram for DriveEngine::IParameterList:
DriveEngine::IList DriveEngine::ICollection IExportable DriveEngine::DefaultParameterList

Public Member Functions

virtual IParameterGetParameter (const char *name) const =0
 Gets a parameter. More...
 
virtual void Add (IParameter &parameter)=0
 Adds a parameter. More...
 
virtual void Remove (IParameter &parameter)=0
 Removes a parameter. More...
 
- Public Member Functions inherited from DriveEngine::IList
virtual IExportableGetElement (Index index) const =0
 Gets an element. More...
 
virtual const IExportableGetConstElement (Index index) const =0
 Gets a constant element. More...
 
virtual void Add (IExportable &element)=0
 Adds an element. More...
 
virtual void Remove (IExportable &element)=0
 Removes an element. More...
 
virtual void AddList (const IList &list)=0
 Adds every element of a list. More...
 
virtual void RemoveList (const IList &list)=0
 Remove every element of a list. More...
 
- Public Member Functions inherited from DriveEngine::ICollection
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 IEnumeratorGetEnumerator () const =0
 Gets an enumerator. More...
 
virtual IConstEnumeratorGetConstEnumerator () 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...
 

Detailed Description

List of parameters. Used to configure module implementations.

See also
IList

Member Function Documentation

virtual void DriveEngine::IParameterList::Add ( IParameter parameter)
pure virtual

Adds a parameter.

Do nothing if the parameter is null. If the parameter already exist, replace it.

Parameters
parameterThe parameter to add. It must not be null.

Implemented in DriveEngine::DefaultParameterList.

virtual IParameter* DriveEngine::IParameterList::GetParameter ( const char *  name) const
pure virtual

Gets a parameter.

Parameters
nameThe parameter name.
Returns
Return the parameter. If the parameter doesn't exist, return a null pointer.

Implemented in DriveEngine::DefaultParameterList.

virtual void DriveEngine::IParameterList::Remove ( IParameter parameter)
pure virtual

Removes a parameter.

Do nothing if the parameter is null. Ignore it if it is not contained in the list.

Parameters
parameterThe parameter to remove. It must not be null.

Implemented in DriveEngine::DefaultParameterList.


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