siplasplas
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
cpp::dynamic_reflection::Object Class Reference

Public Types

enum  Kind { VALUE, REFERENCE, POINTER }
 

Public Member Functions

 Object (const cpp::dynamic_reflection::Type &type)
 
 Object (const cpp::dynamic_reflection::Type &type, void *fromRaw, bool isReference=false)
 
template<typename T , typename = std::enable_if_t< !std::is_same<std::decay_t<T>, cpp::dynamic_reflection::Type>::value && !std::is_same<std::decay_t<T>, Object>::value && !std::is_pointer<std::decay_t<T>>::value >>
 Object (T &&value)
 
template<typename T >
 Object (const T *pointer)
 
 Object (const Object &other)
 
 Object (Object &&other)
 
Objectoperator= (const Object &other)
 
Objectoperator= (Object &&other)
 
template<typename T >
Objectoperator= (const T &value)
 
template<typename T >
T & get () const
 
template<typename T >
 operator T & () const
 
cpp::dynamic_reflection::Type type () const
 
bool isReference () const
 
Kind kind () const
 
bool empty () const
 
const void * raw () const
 
void * raw ()
 
std::string toString () const
 

Static Public Member Functions

static Object fromString (const std::string &typeName, const std::string &value)
 

Static Public Attributes

static constexpr bool ConstructReference = true
 

The documentation for this class was generated from the following files: