|
ifw
0.0.1-dev
|
#include "ctd/conversion/conversion.hpp"Namespaces | |
| ctd | |
| Conversion source file. | |
| ctd::conversion | |
Functions | |
| std::string | ctd::conversion::DblToString (const double dbl_val, const std::string &prec_or_format="3") |
| Convert a double value to its string representation, applying the given precision. More... | |
| std::string | ctd::conversion::BoolToString (const bool bool_val, const bool long_format=true) |
| Convert a boolean value to a string (Short format: T/F; Long format: True/False). More... | |
| bool | ctd::conversion::Boolean (const std::string &value, const bool permissive=true) |
| Interpret a string as a boolean (t/T/true/TRUE -> true; f/F/false/FALSE -> false). More... | |
| void | ctd::conversion::Convert (const std::string &value, ctd::defines::DataType data_type, Value &native_value) |
| Convert a value represented as a string into its 'native type'. Data type given. More... | |
1.8.5