#include <Params.h>
Inheritance diagram for util::Parameterized:
Public Member Functions | |
virtual | ~Parameterized () |
virtual void | setParam (ParamId paramId, const ParamType ¶m) |
template<class T> | |
const T & | getParam (ParamId paramId) const |
Throws if the paramId is not in the table, or if the requested type is wrong. | |
template<class T> | |
bool | getParam (ParamId paramId, T *pT) const |
Non-throwing version. | |
virtual void | deleteParam (ParamId paramId) |
void | copyParamTable (const Parameterized &other) |
size_t | getNumParams () const |
Protected Types | |
typedef std::map< ParamId, ParamType > | ParamTable |
Protected Attributes | |
ParamTable | m_params |
Friends | |
class | boost::serialization::access |
|
|
|
|
|
|
|
|
|
|
|
Non-throwing version.
|
|
Throws if the paramId is not in the table, or if the requested type is wrong.
|
|
|
|
Reimplemented in geom::ParametricCurve< n >, and geom::ParametricCurve< 2 >. |
|
|