|
libpointmatcher 1.0.2
|
Functions and classes that are not dependant on scalar type are defined in this namespace. More...
Classes | |
| struct | InvalidModuleType |
| An exception thrown when one tries to use a module type that does not exist. More... | |
| struct | SharedPtrVector |
| A vector of std::shared_ptr<S> that behaves like a std::vector<S> More... | |
| struct | Logger |
| The logger interface, used to output warnings and informations. More... | |
| struct | Parametrizable |
| The superclass of classes that are constructed using generic parameters. This class provides the parameter storage and fetching mechanism. More... | |
| struct | InvalidElement |
| An exception thrown when one tries to instanciate an element that does not exist in the registrar. More... | |
| struct | Registrar |
| A factor for subclasses of Interface. More... | |
Typedefs | |
|
typedef std::map< std::string, std::vector< std::string > > | CsvElements |
| Data from a CSV file. | |
Functions | |
| void | setLogger (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 , 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<typename S > | |
| std::string | toParam (const S &value) |
| Return the a string value using lexical_cast. | |
| 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::ParametersDoc &p) |
| Dump the documentation of these parameters to a stream. | |
| bool | FalseLexicalComparison (std::string, std::string) |
| Return always false. | |
Variables | |
| boost::mutex | loggerMutex |
| mutex to protect access to logging | |
| std::shared_ptr< Logger > | logger |
| the current logger | |
Functions and classes that are not dependant on scalar type are defined in this namespace.
1.7.4