|
MIRA
|
Contains toString functions for converting data types to strings. More...
#include <boost/algorithm/string/predicate.hpp>#include <error/Exceptions.h>#include <math/Math.h>#include <utils/FromToStringConstants.h>

Go to the source code of this file.
Classes | |
| class | ToHex< T > |
| Can be used with toString to convert values to their string hex representation. More... | |
| class | ToOct< T > |
| Can be used with toString to convert values to their string oct representation. More... | |
Namespaces | |
| mira | |
| specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Functions | |
| template<typename T > | |
| std::string | toString (const T &value, int precision=-1) |
| Converts any data type to string (the data type must support the stream << operator). More... | |
| template<> | |
| std::string | toString< char > (const char &value, int precision) |
| Specialization for char. More... | |
| template<> | |
| std::string | toString< signed char > (const signed char &value, int precision) |
| Specialization for signed char. More... | |
| template<> | |
| std::string | toString< unsigned char > (const unsigned char &value, int precision) |
| Specialization for unsigned char. More... | |
| template<> | |
| std::string | toString< std::string > (const std::string &value, int precision) |
| Specialization for string. More... | |
| template<> | |
| std::string | toString< float > (const float &value, int precision) |
| Specialization for float. More... | |
| template<> | |
| std::string | toString< double > (const double &value, int precision) |
| Specialization for double. More... | |
| template<> | |
| std::string | toString< long double > (const long double &value, int precision) |
| Specialization for long double. More... | |
| template<> | |
| std::string | toString< bool > (const bool &value, int precision) |
| Specialization for bool. More... | |
Contains toString functions for converting data types to strings.
1.8.14