|
rippled
|


Public Member Functions | |
| OptionalProxy (OptionalProxy const &)=default | |
| OptionalProxy & | operator= (OptionalProxy const &)=delete |
| operator bool () const noexcept | |
Returns true if the field is set. More... | |
| value_type | operator* () const |
| Return the contained value. More... | |
| operator optional_type () const | |
| optional_type | operator~ () const |
| Explicit conversion to boost::optional. More... | |
| value_type | value_or (value_type val) const |
| OptionalProxy & | operator= (boost::none_t const &) |
| OptionalProxy & | operator= (optional_type &&v) |
| OptionalProxy & | operator= (optional_type const &v) |
| template<class U > | |
| std::enable_if_t< std::is_assignable_v< T, U >, OptionalProxy & > | operator= (U &&u) |
| template<class U > | |
| std::enable_if_t< std::is_assignable_v< T, U >, STObject::OptionalProxy< T > & > | operator= (U &&u) |
Private Types | |
| using | value_type = typename T::value_type |
| using | optional_type = boost::optional< typename std::decay< value_type >::type > |
Private Member Functions | |
| OptionalProxy (STObject *st, TypedField< T > const *f) | |
| bool | engaged () const noexcept |
| void | disengage () |
| optional_type | optional_value () const |
| value_type | value () const |
| T const * | find () const |
| template<class U > | |
| void | assign (U &&u) |
Private Attributes | |
| STObject * | st_ |
| SOEStyle | style_ |
| TypedField< T > const * | f_ |
Friends | |
| class | STObject |
| bool | operator== (OptionalProxy const &lhs, boost::none_t) noexcept |
| bool | operator== (boost::none_t, OptionalProxy const &rhs) noexcept |
| bool | operator== (OptionalProxy const &lhs, optional_type const &rhs) noexcept |
| bool | operator== (optional_type const &lhs, OptionalProxy const &rhs) noexcept |
| bool | operator== (OptionalProxy const &lhs, OptionalProxy const &rhs) noexcept |
| bool | operator!= (OptionalProxy const &lhs, boost::none_t) noexcept |
| bool | operator!= (boost::none_t, OptionalProxy const &rhs) noexcept |
| bool | operator!= (OptionalProxy const &lhs, optional_type const &rhs) noexcept |
| bool | operator!= (optional_type const &lhs, OptionalProxy const &rhs) noexcept |
| bool | operator!= (OptionalProxy const &lhs, OptionalProxy const &rhs) noexcept |
Definition at line 101 of file STObject.h.
|
private |
Definition at line 104 of file STObject.h.
|
private |
Definition at line 107 of file STObject.h.
|
default |
|
private |
Definition at line 939 of file STObject.h.
|
delete |
|
explicitnoexcept |
Returns true if the field is set.
Fields with soeDEFAULT and set to the default value will return true
Definition at line 873 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator* | ( | ) | const |
Return the contained value.
Throws:
STObject::FieldErr if !engaged()
Definition at line 880 of file STObject.h.
| ripple::STObject::OptionalProxy< T >::operator optional_type | ( | ) | const |
| STObject::OptionalProxy< T >::optional_type ripple::STObject::OptionalProxy< T >::operator~ | ( | ) | const |
Explicit conversion to boost::optional.
Definition at line 894 of file STObject.h.
| value_type ripple::STObject::OptionalProxy< T >::value_or | ( | value_type | val | ) | const |
Definition at line 204 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | boost::none_t const & | ) |
Definition at line 901 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | optional_type && | v | ) |
Definition at line 909 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | optional_type const & | v | ) |
Definition at line 920 of file STObject.h.
| std::enable_if_t<std::is_assignable_v<T, U>, OptionalProxy&> ripple::STObject::OptionalProxy< T >::operator= | ( | U && | u | ) |
|
privatenoexcept |
Definition at line 946 of file STObject.h.
|
private |
Definition at line 953 of file STObject.h.
|
private |
Definition at line 966 of file STObject.h.
| std::enable_if_t<std::is_assignable_v<T, U>, STObject::OptionalProxy<T>&> ripple::STObject::OptionalProxy< T >::operator= | ( | U && | u | ) |
Definition at line 932 of file STObject.h.
|
protectedinherited |
Definition at line 810 of file STObject.h.
|
protectedinherited |
Definition at line 823 of file STObject.h.
|
protectedinherited |
Definition at line 831 of file STObject.h.
|
friend |
Definition at line 221 of file STObject.h.
|
friend |
Definition at line 137 of file STObject.h.
|
friend |
Definition at line 143 of file STObject.h.
|
friend |
Definition at line 149 of file STObject.h.
|
friend |
Definition at line 159 of file STObject.h.
|
friend |
Definition at line 165 of file STObject.h.
|
friend |
Definition at line 173 of file STObject.h.
|
friend |
Definition at line 179 of file STObject.h.
|
friend |
Definition at line 185 of file STObject.h.
|
friend |
Definition at line 191 of file STObject.h.
|
friend |
Definition at line 197 of file STObject.h.
|
protectedinherited |
Definition at line 61 of file STObject.h.
|
protectedinherited |
Definition at line 62 of file STObject.h.
|
protectedinherited |
Definition at line 63 of file STObject.h.
1.8.17