#include <Parameter.h>
Public Member Functions | |
void | AddParameter (AbstractParameter *pParameter) |
void | Clear () |
AbstractParameter * | GetParameter (const karto::String &rParameterName) const |
AbstractParameter * | GetParameter (const karto::String &rParameterName) |
const ParameterList & | GetParameters () const |
ParameterList & | GetParameters () |
ParameterSet () | |
void | RemoveParameter (AbstractParameter *pParameter) |
Private Member Functions | |
const ParameterSet & | operator= (const ParameterSet &) |
ParameterSet (const ParameterSet &) | |
Private Attributes | |
ParameterSetPrivate * | m_pPrivate |
Parameter container.
Definition at line 353 of file Parameter.h.
Default constructor
Definition at line 87 of file Parameter.cpp.
karto::ParameterSet::ParameterSet | ( | const ParameterSet & | ) | [private] |
void karto::ParameterSet::AddParameter | ( | AbstractParameter * | pParameter | ) |
Adds the parameter to this set. Make sure parameter name is unique
pParameter | parameter to add |
Exception | if parameter with name already exists |
Definition at line 97 of file Parameter.cpp.
void karto::ParameterSet::Clear | ( | ) |
Removes all parameters
Definition at line 127 of file Parameter.cpp.
AbstractParameter * karto::ParameterSet::GetParameter | ( | const karto::String & | rParameterName | ) | const |
Gets the parameter with given name - const version
rParameterName | name of parameter |
Definition at line 143 of file Parameter.cpp.
AbstractParameter * karto::ParameterSet::GetParameter | ( | const karto::String & | rParameterName | ) |
Gets the parameter with given name
rParameterName | name of parameter |
Definition at line 154 of file Parameter.cpp.
const ParameterList & karto::ParameterSet::GetParameters | ( | ) | const |
Gets all parameters - const version
Definition at line 133 of file Parameter.cpp.
const ParameterSet& karto::ParameterSet::operator= | ( | const ParameterSet & | ) | [private] |
void karto::ParameterSet::RemoveParameter | ( | AbstractParameter * | pParameter | ) |
Removes the parameter from this set
pParameter | parameter to remove |
Definition at line 113 of file Parameter.cpp.
Definition at line 420 of file Parameter.h.