rttr::argument Class Reference

The argument class is used for forwarding arguments to properties or methods. More...

#include <argument.h>

Public Member Functions

 argument ()
 
 argument (argument &&arg)
 
 argument (const argument &other)
 
 argument (variant &var)
 
 argument (const variant &var)
 
template<typename T , typename Tp = decay_arg_t<T>>
 argument (const T &data)
 
template<typename T , typename Tp = decay_arg_t<T>>
 argument (T &data)
 
type get_type () const
 
template<typename T >
T & get_value () const
 
template<typename T >
bool is_type () const
 
argumentoperator= (const argument &other)
 

Detailed Description

The argument class is used for forwarding arguments to properties or methods.

Remarks
This class should never be explicitly instantiated.

Constructor & Destructor Documentation

rttr::argument::argument ( )
rttr::argument::argument ( argument &&  arg)
rttr::argument::argument ( const argument other)
rttr::argument::argument ( variant var)
rttr::argument::argument ( const variant var)
template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( const T &  data)
template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( T &  data)

Member Function Documentation

type rttr::argument::get_type ( ) const
template<typename T >
T& rttr::argument::get_value ( ) const
template<typename T >
bool rttr::argument::is_type ( ) const
argument& rttr::argument::operator= ( const argument other)

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