GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::cli::Proxy< T > Class Template Reference

Proxy type for making command line option fields that reference other values. More...

#include <GREM/core/command_line_interface.hpp>

Public Member Functions

constexpr Proxy () noexcept=default
constexpr Proxy (T &reference) noexcept
constexpr ~Proxy ()=default
 Proxy (const Proxy &)=delete
 Proxy (Proxy &&)=delete
Proxy & operator= (Proxy &&)=delete
Proxy & operator= (const Proxy &)=delete
template<typename Arg>
requires (requires(T t) { t = std::forward<Arg>(arg); })
decltype(auto) operator= (Arg &&arg)
 operator bool () const noexcept
 operator T& () noexcept
 operator const T & () const noexcept
void reset () noexcept
decltype(auto) emplace ()
bool has_value () const noexcept
decltype(auto) value ()
decltype(auto) value () const
decltype(auto) emplace_back ()
decltype(auto) back ()
decltype(auto) back () const
decltype(auto) size () const noexcept
decltype(auto) operator[] (size_t index)
decltype(auto) operator[] (size_t index) const

Detailed Description

template<typename T>
class grem::cli::Proxy< T >

Proxy type for making command line option fields that reference other values.

Constructor & Destructor Documentation

◆ Proxy() [1/4]

template<typename T>
grem::cli::Proxy< T >::Proxy ( )
constexprdefaultnoexcept

◆ Proxy() [2/4]

template<typename T>
grem::cli::Proxy< T >::Proxy ( T & reference)
inlineconstexprnoexcept

◆ ~Proxy()

template<typename T>
grem::cli::Proxy< T >::~Proxy ( )
constexprdefault

◆ Proxy() [3/4]

template<typename T>
grem::cli::Proxy< T >::Proxy ( const Proxy< T > & )
delete

◆ Proxy() [4/4]

template<typename T>
grem::cli::Proxy< T >::Proxy ( Proxy< T > && )
delete

Member Function Documentation

◆ operator=() [1/3]

template<typename T>
Proxy & grem::cli::Proxy< T >::operator= ( Proxy< T > && )
delete

◆ operator=() [2/3]

template<typename T>
Proxy & grem::cli::Proxy< T >::operator= ( const Proxy< T > & )
delete

◆ operator=() [3/3]

template<typename T>
template<typename Arg>
requires (requires(T t) { t = std::forward<Arg>(arg); })
decltype(auto) grem::cli::Proxy< T >::operator= ( Arg && arg)
inline

◆ operator bool()

template<typename T>
grem::cli::Proxy< T >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator T&()

template<typename T>
grem::cli::Proxy< T >::operator T& ( )
inlinenoexcept

◆ operator const T &()

template<typename T>
grem::cli::Proxy< T >::operator const T & ( ) const
inlinenoexcept

◆ reset()

template<typename T>
void grem::cli::Proxy< T >::reset ( )
inlinenoexcept

◆ emplace()

template<typename T>
decltype(auto) grem::cli::Proxy< T >::emplace ( )
inline

◆ has_value()

template<typename T>
bool grem::cli::Proxy< T >::has_value ( ) const
inlinenodiscardnoexcept

◆ value() [1/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::value ( )
inlinenodiscard

◆ value() [2/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::value ( ) const
inlinenodiscard

◆ emplace_back()

template<typename T>
decltype(auto) grem::cli::Proxy< T >::emplace_back ( )
inlinenodiscard

◆ back() [1/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::back ( )
inlinenodiscard

◆ back() [2/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::back ( ) const
inlinenodiscard

◆ size()

template<typename T>
decltype(auto) grem::cli::Proxy< T >::size ( ) const
inlinenodiscardnoexcept

◆ operator[]() [1/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::operator[] ( size_t index)
inlinenodiscard

◆ operator[]() [2/2]

template<typename T>
decltype(auto) grem::cli::Proxy< T >::operator[] ( size_t index) const
inlinenodiscard

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