CppWAMP
C++11 client library for the WAMP protocol
variantdefs.hpp File Reference

Contains fundamental type definitions related to Variant. More...

#include <cstdint>
#include <string>
#include <map>
#include <vector>

Go to the source code of this file.

Namespaces

 wamp
 

Typedefs

Variant bound types
using wamp::Bool = bool
 Variant bound type for boolean values.
 
using wamp::Int = std::int64_t
 Variant bound type for signed integers.
 
using wamp::UInt = std::uint64_t
 Variant bound type for unsigned integers.
 
using wamp::Real = double
 Variant bound type for floating-point numbers.
 
using wamp::String = std::string
 Variant bound type for text strings.
 
using wamp::Array = std::vector< Variant >
 Variant bound type for arrays of variants.
 
using wamp::Object = std::map< String, Variant >
 Variant bound type for maps of variants.
 
Variant bound types
using wamp::Bool = bool
 Variant bound type for boolean values.
 
using wamp::Int = std::int64_t
 Variant bound type for signed integers.
 
using wamp::UInt = std::uint64_t
 Variant bound type for unsigned integers.
 
using wamp::Real = double
 Variant bound type for floating-point numbers.
 
using wamp::String = std::string
 Variant bound type for text strings.
 
using wamp::Array = std::vector< Variant >
 Variant bound type for arrays of variants.
 
using wamp::Object = std::map< String, Variant >
 Variant bound type for maps of variants.
 

Enumerations

enum  wamp::TypeId : uint8_t {
  wamp::TypeId::null,
  wamp::TypeId::boolean,
  wamp::TypeId::integer,
  wamp::TypeId::uint,
  wamp::TypeId::real,
  wamp::TypeId::string,
  wamp::TypeId::blob,
  wamp::TypeId::array,
  wamp::TypeId::object
}
 Integer ID used to indicate the current dynamic type of a Variant. More...
 

Detailed Description

Contains fundamental type definitions related to Variant.