#include <stdexcept>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <boost/lexical_cast.hpp>
#include <limits>
#include <boost/assign/list_inserter.hpp>
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 | |
namespace | PointMatcherSupport |
Functions and classes that are not dependant on scalar type are defined in this namespace. | |
Defines | |
#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. | |
template<> | |
float | PointMatcherSupport::lexical_cast (const std::string &arg) |
Special case of lexical cast to float, use lexical_cast_scalar_to_string. | |
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. | |
template<typename Target > | |
Target | PointMatcherSupport::lexical_cast_scalar_to_string (const char *&arg) |
Overloaded function for convenience. | |
std::ostream & | PointMatcherSupport::operator<< (std::ostream &o, const Parametrizable::ParametersDoc &p) |
Dump the documentation of these parameters to a stream. | |
template<typename S > | |
std::string | PointMatcherSupport::toParam (const S &value) |
Return the a string value using lexical_cast. |
#define BOOST_ASSIGN_MAX_PARAMS 6 |
Definition at line 46 of file Parametrizable.h.