30 #if defined (_MSC_VER) 32 typedef signed char Int8;
33 typedef unsigned char UInt8;
35 typedef signed short Int16;
36 typedef unsigned short UInt16;
38 typedef signed int Int32;
39 typedef unsigned int UInt32;
41 typedef signed long long Int64;
42 typedef unsigned long long UInt64;
44 #elif defined (__GNUC__) 46 typedef signed char Int8;
47 typedef unsigned char UInt8;
49 typedef signed short Int16;
50 typedef unsigned short UInt16;
52 #if defined (__LP64__) 54 typedef signed int Int32;
55 typedef unsigned int UInt32;
57 typedef signed long Int64;
58 typedef unsigned long UInt64;
62 typedef signed int Int32;
63 typedef unsigned int UInt32;
65 typedef signed long long Int64;
66 typedef unsigned long long UInt64;
76 Cannot identify compiler toolset to define integral types. \ 77 Please contact support@onixs.biz on further assistance. 84 template<
typename Type, Type Constant>
110 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, Int8);
113 inline std::string
toStr(Int8 number)
123 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, UInt8);
126 inline std::string
toStr(UInt8 number)
136 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, Int16);
139 inline std::string
toStr(Int16 number)
149 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, UInt16);
152 inline std::string
toStr(UInt16 number)
162 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, Int32);
165 inline std::string
toStr(Int32 number)
175 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, UInt32);
178 inline std::string
toStr(UInt32 number)
188 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, Int64);
191 inline std::string
toStr(Int64 number)
201 ONIXS_ESPEED_ITCH_API
void toStr(std::string&, UInt64);
204 inline std::string
toStr(UInt64 number)
214 template <
typename Type,Type Constant>
217 toStr(str, constant());
221 template <
typename Type, Type Constant >
226 toStr(str, constant);
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
Value operator()() const
Returns value of the constant.
static const Value value()
Returns value of the constant.
ONIXS_ESPEED_ITCH_API void toStr(std::string &, Int8)
Serializes given integer into a string.
Type Value
Type of the constant.