Classes | Namespaces | Macros | Functions
Parametrizable.h File Reference
#include <stdexcept>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <boost/lexical_cast.hpp>
#include <limits>
#include <boost/assign/list_inserter.hpp>
Include dependency graph for Parametrizable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PointMatcherSupport::Parametrizable::InvalidParameter
 An exception thrown when one tries to fetch the value of an unexisting parameter. More...
 
struct  PointMatcherSupport::Parametrizable::ParameterDoc
 The documentation of a parameter. More...
 
struct  PointMatcherSupport::Parametrizable
 The superclass of classes that are constructed using generic parameters. This class provides the parameter storage and fetching mechanism. More...
 

Namespaces

 PointMatcherSupport
 Functions and classes that are not dependant on scalar type are defined in this namespace.
 

Macros

#define BOOST_ASSIGN_MAX_PARAMS   6
 

Functions

template<typename Target , typename Source >
Target PointMatcherSupport::lexical_cast (const Source &arg)
 General case of lexical cast, use boost. More...
 
template<>
float PointMatcherSupport::lexical_cast (const std::string &arg)
 Special case of lexical cast to float, use lexical_cast_scalar_to_string. More...
 
template<>
double PointMatcherSupport::lexical_cast (const std::string &arg)
 Special case of lexical cast to float, use lexical_cast_scalar_to_string. More...
 
template<typename Target >
Target PointMatcherSupport::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. More...
 
template<typename Target >
Target PointMatcherSupport::lexical_cast_scalar_to_string (const char *&arg)
 Overloaded function for convenience. More...
 
std::ostream & PointMatcherSupport::operator<< (std::ostream &o, const Parametrizable::ParametersDoc &p)
 Dump the documentation of these parameters to a stream. More...
 
template<typename S >
std::string PointMatcherSupport::toParam (const S &value)
 Return the a string value using lexical_cast. More...
 

Macro Definition Documentation

◆ BOOST_ASSIGN_MAX_PARAMS

#define BOOST_ASSIGN_MAX_PARAMS   6

Definition at line 46 of file Parametrizable.h.



libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03