Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
varianttyperesolver.h File Reference
Include dependency graph for varianttyperesolver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ion::base::internal::IsSameOrDerivedFrom< T, Base >
 Helper structs. More...
 
struct  ion::base::internal::ResolverHelper< VariantType, TypeToResolve, Base >
 This struct is specialized for each of the defined types supported by a Variant. More...
 
struct  ion::base::VariantTypeResolver< VariantType, TypeToResolve >
 The VariantTypeResolver struct allows users of the Variant class to determine which type defined by a particular Variant can be used to store a value of a particular type. More...
 

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::base
 EnumHelper instantiations. These must be in the ion::base namespace.
 
 ion::base::internal
 

Macros

#define ION_SPECIALIZE_VARIANT_RESOLVER_HELPER(VariantSubType)
 

Functions

 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type1)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type2)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type3)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type4)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type5)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type6)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type7)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type8)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type9)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type10)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type11)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type12)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type13)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type14)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type15)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type16)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type17)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type18)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type19)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type20)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type21)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type22)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type23)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type24)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type25)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type26)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type27)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type28)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type29)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type30)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type31)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type32)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type33)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type34)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type35)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type36)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type37)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type38)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type39)
 
 ion::base::internal::ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (Type40)
 

Macro Definition Documentation

#define ION_SPECIALIZE_VARIANT_RESOLVER_HELPER (   VariantSubType)
Value:
template <typename VariantType, typename TypeToResolve> \
struct ResolverHelper< \
VariantType, TypeToResolve, \
typename IsSameOrDerivedFrom<TypeToResolve, \
typename VariantType::VariantSubType>::Type> { \
typedef typename VariantType::VariantSubType Type; \
}

Definition at line 55 of file varianttyperesolver.h.