Functions and classes that are not dependant on scalar type are defined in this namespace.
More...
|
|
void | setLogger (std::shared_ptr< Logger > newLogger) |
| | Set a new logger, protected by a mutex.
|
| |
|
void | validateFile (const std::string &fileName) |
| | Throw a runtime_error exception if fileName cannot be opened.
|
| |
|
template<typename Target > |
| Target | lexical_cast_scalar_to_string (const std::string &arg) |
| | A lexical casting function that is an improvements over boost::lexical_cast that can handle "inf", "-inf", "Nan" for float and doubles.
|
| |
|
template<typename Target > |
| Target | lexical_cast_scalar_to_string (const char *&arg) |
| | Overloaded function for convenience.
|
| |
|
template<typename Target , typename Source > |
| Target | lexical_cast (const Source &arg) |
| | General case of lexical cast, use boost.
|
| |
|
template<> |
| float | lexical_cast (const std::string &arg) |
| | Special case of lexical cast to float, use lexical_cast_scalar_to_string.
|
| |
|
template<> |
| double | lexical_cast (const std::string &arg) |
| | Special case of lexical cast to float, use lexical_cast_scalar_to_string.
|
| |
|
template<typename S > |
| std::string | toParam (const S &value) |
| | Return the a string value using lexical_cast.
|
| |
|
std::ostream & | operator<< (std::ostream &o, const Parametrizable::ParametersDoc &p) |
| | Dump the documentation of these parameters to a stream.
|
| |
|
void | getNameParamsFromYAML (const YAML::Node &module, std::string &name, Parametrizable::Parameters ¶ms) |
| | Retrieve name and parameters from a yaml node.
|
| |
|
std::ostream & | operator<< (std::ostream &o, const Parametrizable::ParameterDoc &p) |
| | Dump the documentation of this parameter to a stream.
|
| |
|
std::ostream & | operator<< (std::ostream &o, const Parametrizable &p) |
| | Dump the documentation of this object to a stream.
|
| |
|
bool | FalseLexicalComparison (std::string, std::string) |
| | Return always false.
|
| |
Functions and classes that are not dependant on scalar type are defined in this namespace.