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

Go to the source code of this file.
Classes | |
| class | FromHex< T > |
| Can be used with fromString to convert hex strings into numbers. More... | |
| class | FromOct< T > |
| Can be used with fromString to convert oct strings into numbers. More... | |
Namespaces | |
| mira | |
| specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Functions | |
| template<typename T > | |
| T | fromString (const std::string &str) |
| Converts a string to any data type that supports the stream >> operator. More... | |
| template<> | |
| char | fromString< char > (const std::string &str) |
| Specialization for char. More... | |
| template<> | |
| signed char | fromString< signed char > (const std::string &str) |
| Specialization for signed char. More... | |
| template<> | |
| unsigned char | fromString< unsigned char > (const std::string &str) |
| Specialization for unsigned char. More... | |
| template<> | |
| std::string | fromString< std::string > (const std::string &str) |
| Specialization for string. More... | |
| template<> | |
| float | fromString< float > (const std::string &str) |
| Specialization for float. More... | |
| template<> | |
| double | fromString< double > (const std::string &str) |
| Specialization for double. More... | |
| template<> | |
| long double | fromString< long double > (const std::string &str) |
| Specialization for long double. More... | |
| template<> | |
| bool | fromString< bool > (const std::string &str) |
| Specialization for bool. More... | |
Contains fromString functions for converting strings to data types.
1.8.14