#include <stdexcept>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <boost/lexical_cast.hpp>
#include <limits>
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::ParametersDoc |
The documentation of all parameters. 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. | |
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 S > | |
std::string | PointMatcherSupport::toParam (const S &value) |
Return the a string value using lexical_cast. |