#include <magic/mstring.h>
#include <magic/mmap.h>
Go to the source code of this file.
Compounds | |
class | BoolParameter |
class | DoubleParameter |
class | DynParameter |
Dynamic field (or object) type parameter. More... | |
class | IntParameter |
class | IParameterized |
Interface for dynamically parameterizable objects. More... | |
class | StringParameter |
Defines | |
#define | INITPARAMS(mapname, initcode) |
Definition in file mparameter.h.
|
Value: try { const_cast<StringMap&>(mapname).failByThrow(); initcode \ } catch (Exception e) {\ String errorstr = e.what();\ errorstr += "\nInitialization parameter missing. Parameters are:\n";\ Array<DynParameter>* pars = parameters ();\ for (int i=0; i<pars->size(); i++)\ errorstr += (*pars)[i].name () + " ";\ errorstr += '\n';\ throw Exception (errorstr);\ }
Definition at line 170 of file mparameter.h. |