CppWAMP
C++11 client library for the WAMP protocol
|
Go to the documentation of this file.
7 #ifndef CPPWAMP_VARIANTDEFS_HPP
8 #define CPPWAMP_VARIANTDEFS_HPP
47 using Int = std::int64_t;
48 using UInt = std::uint64_t;
51 using Array = std::vector<Variant>;
52 using Object = std::map<String, Variant>;
57 #endif // CPPWAMP_VARIANTDEFS_HPP
TypeId
Integer ID used to indicate the current dynamic type of a Variant.
Definition: variantdefs.hpp:26
std::uint64_t UInt
Variant bound type for unsigned integers.
Definition: variantdefs.hpp:48
@ array
For Variant::Array.
@ string
For Variant::String.
std::map< String, Variant > Object
Variant bound type for maps of variants.
Definition: variantdefs.hpp:52
Definition: anyhandler.hpp:36
std::vector< Variant > Array
Variant bound type for arrays of variants.
Definition: variantdefs.hpp:51
std::int64_t Int
Variant bound type for signed integers.
Definition: variantdefs.hpp:47
bool Bool
Variant bound type for boolean values.
Definition: variantdefs.hpp:46
@ boolean
For Variant::Bool.
double Real
Variant bound type for floating-point numbers.
Definition: variantdefs.hpp:49
std::string String
Variant bound type for text strings.
Definition: variantdefs.hpp:50
@ integer
For Variant::Int.