Public Member Functions | Private Types | List of all members
sol::property_wrapper< R, W > Struct Template Reference

#include <sol.hpp>

Inheritance diagram for sol::property_wrapper< R, W >:
Inheritance graph
[legend]

Public Member Functions

template<typename Rx , typename Wx >
 property_wrapper (Rx &&r, Wx &&w)
 
R & read ()
 
const R & read () const
 
W & write ()
 
const W & write () const
 
- Public Member Functions inherited from sol::detail::ebco< R, 0 >
 ebco ()=default
 
 ebco (Arg &&arg, Args &&... args) noexcept(std::is_nothrow_constructible_v< R, Arg, Args... >)
 
 ebco (const ebco &)=default
 
 ebco (const R &v) noexcept(std::is_nothrow_copy_constructible_v< R >)
 
 ebco (ebco &&)=default
 
 ebco (R &&v) noexcept(std::is_nothrow_move_constructible_v< R >)
 
ebcooperator= (const ebco &)=default
 
ebcooperator= (const R &v) noexcept(std::is_nothrow_copy_assignable_v< R >)
 
ebcooperator= (ebco &&)=default
 
ebcooperator= (R &&v) noexcept(std::is_nothrow_move_assignable_v< R >)
 
R && value () &&noexcept
 
R & value () &noexcept
 
R const & value () const &noexcept
 
- Public Member Functions inherited from sol::detail::ebco< W, 1 >
 ebco ()=default
 
 ebco (Arg &&arg, Args &&... args) noexcept(std::is_nothrow_constructible_v< W, Arg, Args... >)
 
 ebco (const ebco &)=default
 
 ebco (const W &v) noexcept(std::is_nothrow_copy_constructible_v< W >)
 
 ebco (ebco &&)=default
 
 ebco (W &&v) noexcept(std::is_nothrow_move_constructible_v< W >)
 
ebcooperator= (const ebco &)=default
 
ebcooperator= (const W &v) noexcept(std::is_nothrow_copy_assignable_v< W >)
 
ebcooperator= (ebco &&)=default
 
ebcooperator= (W &&v) noexcept(std::is_nothrow_move_assignable_v< W >)
 
W && value () &&noexcept
 
W & value () &noexcept
 
W const & value () const &noexcept
 

Private Types

using read_base_t = detail::ebco< R, 0 >
 
using write_base_t = detail::ebco< W, 1 >
 

Additional Inherited Members

- Public Attributes inherited from sol::detail::ebco< R, 0 >
m_value
 
- Public Attributes inherited from sol::detail::ebco< W, 1 >
m_value
 

Detailed Description

template<typename R, typename W>
struct sol::property_wrapper< R, W >

Definition at line 17928 of file sol.hpp.

Member Typedef Documentation

◆ read_base_t

template<typename R , typename W >
using sol::property_wrapper< R, W >::read_base_t = detail::ebco<R, 0>
private

Definition at line 17930 of file sol.hpp.

◆ write_base_t

template<typename R , typename W >
using sol::property_wrapper< R, W >::write_base_t = detail::ebco<W, 1>
private

Definition at line 17931 of file sol.hpp.

Constructor & Destructor Documentation

◆ property_wrapper()

template<typename R , typename W >
template<typename Rx , typename Wx >
sol::property_wrapper< R, W >::property_wrapper ( Rx &&  r,
Wx &&  w 
)
inline

Definition at line 17935 of file sol.hpp.

Member Function Documentation

◆ read() [1/2]

template<typename R , typename W >
R& sol::property_wrapper< R, W >::read ( )
inline

Definition at line 17946 of file sol.hpp.

◆ read() [2/2]

template<typename R , typename W >
const R& sol::property_wrapper< R, W >::read ( ) const
inline

Definition at line 17950 of file sol.hpp.

◆ write() [1/2]

template<typename R , typename W >
W& sol::property_wrapper< R, W >::write ( )
inline

Definition at line 17938 of file sol.hpp.

◆ write() [2/2]

template<typename R , typename W >
const W& sol::property_wrapper< R, W >::write ( ) const
inline

Definition at line 17942 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53