|
| | ParameterFile () |
| |
| | ParameterFile (const ParameterFile &source) |
| | Copy constructor.
|
| |
| | ~ParameterFile () |
| |
| virtual void | Load (const std::string &filename, const bool merge=false) |
| | Load a file containing parameters.
|
| |
| virtual void | LoadUser (const std::string &filename, const bool merge=false) |
| |
| const std::string & | GetProcFile () const |
| | Return reference to file being processed (loaded).
|
| |
| ParameterFile & | operator= (const ParameterFile &source) |
| | Assignment operator.
|
| |
| | ParameterSet () |
| |
| | ParameterSet (const ParameterSet &source) |
| | Copy constructor.
|
| |
| | ~ParameterSet () |
| |
| ParameterSet & | Clear () |
| | Clear the object.
|
| |
| void | Store (const std::string &par_name, const std::string &value, const std::string &comment="") |
| | Store a parameter name, value and possibly comment in the object.
|
| |
| std::string | GetValue (const std::string &par_name, const bool exception=false) const |
| | Return value for the referenced parameter as a string.
|
| |
| template<class TYPE> |
| bool | GetValue (const std::string &name, TYPE &value, const bool exception=false) const |
| | Return value for the referenced parameter as its native data type.
|
| |
| const ifw::core::utils::param::Parameter & | GetPar (const std::string &par_name) const |
| | Get reference to parameter object, referenced by its name.
|
| |
| bool | HasPar (const std::string &par_name) const |
| | Returns true if parameter is defined.
|
| |
| bool | HasPar (const std::string &par_name, ifw::core::utils::param::Parameter ¶meter) const |
| | Returns true if parameter defined, copies parameter object to object provided.
|
| |
| bool | HasPar (const std::string &par_name, std::string &value) const |
| | Returns true if parameter defined and copies value into "value" parameter.
|
| |
| template<class TYPE> |
| bool | HasPar (const std::string &par_name, TYPE &value) const |
| | Return true if parameter defined, sets the value as the native value.
|
| |
| uint32_t | Scan (const std::string &filter_reg_exp, std::vector< ifw::core::utils::param::Parameter > &matches) const |
| | Scans through the parameter object namespace and creates list of matching parameters.
|
| |
| std::string | ToString (const std::string &filter_reg_exp="") const |
| | Prints out contents of object, applying regular expression filtering, if specified.
|
| |
| std::vector< std::string > | ParNames () const |
| | Returns list of parameter names.
|
| |
| const std::map< std::string, ifw::core::utils::param::Parameter > & | GetParameterMap () const |
| | Return reference to the internal map with the names/parameter objects.
|
| |
| void | Merge (const ParameterSet &source_set) |
| | Merge the parameters of the source into this instance.
|
| |
| ParameterSet & | operator= (const ParameterSet &source) |
| | Assignment operator.
|
| |
Class to handle a set of parameters.