ifw-core  5.0.0-pre2
Namespaces | Functions
conversion.cpp File Reference
#include <core/utils/conversion/conversion.hpp>

Namespaces

 core
 
 core::utils
 
 core::utils::conversion
 

Functions

std::string core::utils::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 core::utils::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 core::utils::conversion::Boolean (const std::string &value, const bool permissive=false)
 Interpret a string as a boolean (t/T/true/TRUE -> true; f/F/false/FALSE -> false). More...
 
void core::utils::conversion::Convert (const std::string &str_value, std::string &native_value)
 Handle case: Conversion of std::string to std::string. More...