rttr::argument Class - 0.9.7 |RTTR
rttr::argument Class Reference

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

#include <argument.h>

Public Member Functions

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

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 ( )
noexcept
rttr::argument::argument ( argument &&  arg)
noexcept
rttr::argument::argument ( const argument other)
noexcept
rttr::argument::argument ( variant var)
noexcept
rttr::argument::argument ( const variant var)
noexcept
template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( const T &  data)
noexcept
template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( T &  data)
noexcept

Member Function Documentation

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

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