21 #ifndef __XAO_UTILS_HXX__
22 #define __XAO_UTILS_HXX__
32 #pragma warning(disable:4290) // Warning Exception ...
81 static const std::string intToString(
const int& value);
89 static const int stringToInt(
const std::string& value)
throw(
XAO_Exception);
96 static const std::string doubleToString(
const double& value);
103 static const double stringToDouble(
const std::string& value)
throw(
XAO_Exception);
110 static const std::string booleanToString(
const bool& value);
118 static const bool stringToBoolean(
const std::string& value)
throw(
XAO_Exception);
183 template <
typename T>
193 operator const char*()
const {
return m_stream.str().c_str(); }