36 #if defined (_MSC_VER) 38 typedef signed char Int8;
39 typedef unsigned char UInt8;
41 typedef signed short Int16;
42 typedef unsigned short UInt16;
44 typedef signed int Int32;
45 typedef unsigned int UInt32;
47 typedef signed long long Int64;
48 typedef unsigned long long UInt64;
50 #elif defined (__GNUC__) 52 typedef signed char Int8;
53 typedef unsigned char UInt8;
55 typedef signed short Int16;
56 typedef unsigned short UInt16;
58 #if defined (__LP64__) 60 typedef signed int Int32;
61 typedef unsigned int UInt32;
63 typedef signed long Int64;
64 typedef unsigned long UInt64;
68 typedef signed int Int32;
69 typedef unsigned int UInt32;
71 typedef signed long long Int64;
72 typedef unsigned long long UInt64;
82 Cannot identify compiler toolset to define integral types. \ 83 Please contact support@onixs.biz on further assistance. 90 template<
typename Type, Type Constant>
117 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, Int8);
120 inline std::string
toStr(Int8 number)
130 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, UInt8);
133 inline std::string
toStr(UInt8 number)
143 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, Int16);
146 inline std::string
toStr(Int16 number)
156 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, UInt16);
159 inline std::string
toStr(UInt16 number)
169 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, Int32);
172 inline std::string
toStr(Int32 number)
182 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, UInt32);
185 inline std::string
toStr(UInt32 number)
195 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, Int64);
198 inline std::string
toStr(Int64 number)
208 ONIXS_EUROTLX_GTP_API
void toStr(std::string&, UInt64);
211 inline std::string
toStr(UInt64 number)
221 template <
typename Type,Type Constant>
224 toStr(str, constant());
228 template <
typename Type, Type Constant >
233 toStr(str, constant);
#define ONIXS_EUROTLX_GTP_EXPLICIT
Value operator()() const
Returns value of the constant.
Type Value
Type of the constant.
static const Value value()
Returns value of the constant.
ONIXS_EUROTLX_GTP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.