NEST
2.6.0,not_revisioned_source_dir@0
|
Go to the source code of this file.
Functions | |
template<typename FT > | |
FT | getValue (const DictionaryDatum &d, Name const n) |
Get the value of an existing dictionary entry. More... | |
double | get_double_in_range (const DictionaryDatum &d, Name const n, double min, double max, int mode=2) |
Get the value of an existing dictionary entry and check that it is in a specified range. More... | |
long | get_long_in_range (const DictionaryDatum &d, Name const n, long min, long max, int mode=2) |
Get the value of an existing dictionary entry and check that it is in a specified range. More... | |
template<typename FT , class D > | |
void | def2 (DictionaryDatum &d, Name const n, FT const &value) |
Define a new dictionary entry from a fundamental type. More... | |
template<typename FT > | |
void | def (DictionaryDatum &d, Name const n, FT const &value) |
Define a new dictionary entry from a fundamental type. More... | |
template<typename FT , typename VT > | |
bool | updateValue (DictionaryDatum const &d, Name const n, VT &value) |
Update a variable from a dictionary entry if it exists, skip call if it doesn't. More... | |
template<typename FT , typename VT , class C > | |
void | updateValue2 (DictionaryDatum const &d, Name const n, C &obj, void(C::*setfunc)(VT)) |
Call a member function of an object, passing the value of an dictionary entry if it exists, skip call if it doesn't. More... | |
void | initialize_property_array (DictionaryDatum &d, Name propname) |
Create a property of type ArrayDatum in the dictionary, if it does not already exist. More... | |
void | initialize_property_doublevector (DictionaryDatum &d, Name propname) |
Create a property of type DoubleVectorDatum in the dictionary, if it does not already exist. More... | |
void | initialize_property_intvector (DictionaryDatum &d, Name propname) |
Create a property of type IntVectorDatum in the dictionary, if it does not already exist. More... | |
template<typename PropT > | |
void | append_property (DictionaryDatum &d, Name propname, const PropT &prop) |
Append a value to a property ArrayDatum in the dictionary. More... | |
template<> | |
void | append_property< std::vector< double > > (DictionaryDatum &d, Name propname, const std::vector< double > &prop) |
Append a value to a property DoubleVectorDatum in the dictionary. More... | |
template<> | |
void | append_property< std::vector< long > > (DictionaryDatum &d, Name propname, const std::vector< long > &prop) |
Append a value to a property IntVectorDatum in the dictionary. More... | |
void | provide_property (DictionaryDatum &, Name, const std::vector< double > &) |
Provide a value to a property DoubleVectorDatum in the dictionary. More... | |
void | provide_property (DictionaryDatum &, Name, const std::vector< long > &) |
Provide a value to a property IntVectorDatum in the dictionary. More... | |
void | accumulate_property (DictionaryDatum &, Name, const std::vector< double > &) |
Add values of a vector<double> to a property DoubleVectorDatum in the dictionary. More... | |