31 typedef signed char Int8;
32 typedef unsigned char UInt8;
34 typedef signed short Int16;
35 typedef unsigned short UInt16;
37 typedef signed int Int32;
38 typedef unsigned int UInt32;
40 typedef signed long long Int64;
41 typedef unsigned long long UInt64;
43 #elif defined(__GNUC__) 45 typedef signed char Int8;
46 typedef unsigned char UInt8;
48 typedef signed short Int16;
49 typedef unsigned short UInt16;
51 # if defined(__LP64__) 53 typedef signed int Int32;
54 typedef unsigned int UInt32;
56 typedef signed long Int64;
57 typedef unsigned long UInt64;
61 typedef signed int Int32;
62 typedef unsigned int UInt32;
64 typedef signed long long Int64;
65 typedef unsigned long long UInt64;
74 # error Cannot identify compiler toolset to define integral types. \ 75 Please contact support@onixs.biz on further assistance. 82 template <
typename Type, Type Constant>
89 operator Value()
const 193 void toStr(std::string&, Int64);
196 inline std::string
toStr(Int64 number)
220 template <
typename Type, Type Constant>
223 toStr(str, constant());
227 template <
typename Type, Type Constant>
232 toStr(str, constant);
bool fromStr(UInt64 &, const Char *, size_t)
Deserializes numeric value from its text representation.
Value operator()() const
Returns value of the constant.
Type Value
Type of the constant.
char Char
Character type alias.
std::string toStr(IntegralConstant< Type, Constant > constant)
Serializes given constant into a string.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_EXPORTED
UInt16 UInt16
uInt16 optional.
static Value value()
Returns value of the constant.
#define ONIXS_CMEMDH_NAMESPACE_END