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

◆ argument() [1/7]

rttr::argument::argument ( )
noexcept

◆ argument() [2/7]

rttr::argument::argument ( argument &&  arg)
noexcept

◆ argument() [3/7]

rttr::argument::argument ( const argument other)
noexcept

◆ argument() [4/7]

rttr::argument::argument ( variant var)
noexcept

◆ argument() [5/7]

rttr::argument::argument ( const variant var)
noexcept

◆ argument() [6/7]

template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( const T &  data)
noexcept

◆ argument() [7/7]

template<typename T , typename Tp = decay_arg_t<T>>
rttr::argument::argument ( T &  data)
noexcept

Member Function Documentation

◆ get_type()

type rttr::argument::get_type ( ) const
noexcept

◆ get_value()

template<typename T >
T& rttr::argument::get_value ( ) const
noexcept

◆ is_type()

template<typename T >
bool rttr::argument::is_type ( ) const
noexcept

◆ operator=()

argument& rttr::argument::operator= ( const argument other)
noexcept

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