rippled
Public Member Functions | Private Types | Private Member Functions | Friends | List of all members
ripple::STObject::ValueProxy< T > Class Template Reference

Public Member Functions

 ValueProxy (ValueProxy const &)=default
 
ValueProxyoperator= (ValueProxy const &)=delete
 
template<class U >
std::enable_if_t< std::is_assignable_v< T, U >, ValueProxy & > operator= (U &&u)
 
 operator value_type () const
 
template<class U >
std::enable_if_t< std::is_assignable_v< T, U >, STObject::ValueProxy< T > & > operator= (U &&u)
 

Private Types

using value_type = typename T::value_type
 

Private Member Functions

 ValueProxy (STObject *st, TypedField< T > const *f)
 

Friends

class STObject
 

Detailed Description

template<class T>
class ripple::STObject::ValueProxy< T >

Definition at line 57 of file STObject.h.

Member Typedef Documentation

◆ value_type

template<class T >
using ripple::STObject::ValueProxy< T >::value_type = typename T::value_type
private

Definition at line 493 of file STObject.h.

Constructor & Destructor Documentation

◆ ValueProxy() [1/2]

template<class T >
ripple::STObject::ValueProxy< T >::ValueProxy ( ValueProxy< T > const &  )
default

◆ ValueProxy() [2/2]

template<class T >
ripple::STObject::ValueProxy< T >::ValueProxy ( STObject st,
TypedField< T > const *  f 
)
private

Definition at line 728 of file STObject.h.

Member Function Documentation

◆ operator=() [1/3]

template<class T >
ValueProxy& ripple::STObject::ValueProxy< T >::operator= ( ValueProxy< T > const &  )
delete

◆ operator=() [2/3]

template<class T >
template<class U >
std::enable_if_t<std::is_assignable_v<T, U>, ValueProxy&> ripple::STObject::ValueProxy< T >::operator= ( U &&  u)

◆ operator value_type()

template<class T >
ripple::STObject::ValueProxy< T >::operator value_type ( ) const

Definition at line 722 of file STObject.h.

◆ operator=() [3/3]

template<class T >
template<class U >
std::enable_if_t<std::is_assignable_v<T, U>, STObject::ValueProxy<T>&> ripple::STObject::ValueProxy< T >::operator= ( U &&  u)

Definition at line 715 of file STObject.h.

Friends And Related Function Documentation

◆ STObject

template<class T >
friend class STObject
friend

Definition at line 507 of file STObject.h.