|
rippled
|
#include <STObject.h>


Public Member Functions | |
| OptionalProxy (OptionalProxy const &)=default | |
| OptionalProxy & | operator= (OptionalProxy const &)=delete |
| operator bool () const noexcept | |
Returns true if the field is set. More... | |
| operator optional_type () const | |
| optional_type | operator~ () const |
| Explicit conversion to std::optional. More... | |
| value_type | value_or (value_type val) const |
| OptionalProxy & | operator= (std::nullopt_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) |
| value_type | value () const |
| value_type | operator* () const |
| T const * | operator-> () const |
Protected Member Functions | |
| T const * | find () const |
| template<class U > | |
| void | assign (U &&u) |
Protected Attributes | |
| STObject * | st_ |
| SOEStyle | style_ |
| TypedField< T > const * | f_ |
Private Types | |
| using | value_type = typename T::value_type |
| using | optional_type = std::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 |
Friends | |
| class | STObject |
| bool | operator== (OptionalProxy const &lhs, std::nullopt_t) noexcept |
| bool | operator== (std::nullopt_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, std::nullopt_t) noexcept |
| bool | operator!= (std::nullopt_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 561 of file STObject.h.
|
private |
Definition at line 564 of file STObject.h.
|
private |
Definition at line 566 of file STObject.h.
|
default |
|
private |
Definition at line 867 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 808 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 std::optional.
Definition at line 822 of file STObject.h.
| STObject::OptionalProxy< T >::value_type ripple::STObject::OptionalProxy< T >::value_or | ( | value_type | val | ) | const |
Definition at line 903 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | std::nullopt_t const & | ) |
Definition at line 829 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | optional_type && | v | ) |
Definition at line 837 of file STObject.h.
| auto ripple::STObject::OptionalProxy< T >::operator= | ( | optional_type const & | v | ) |
Definition at line 848 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 874 of file STObject.h.
|
private |
Definition at line 881 of file STObject.h.
|
private |
Definition at line 894 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 860 of file STObject.h.
|
inherited |
Definition at line 707 of file STObject.h.
|
inherited |
Definition at line 726 of file STObject.h.
|
inherited |
Definition at line 733 of file STObject.h.
|
protectedinherited |
Definition at line 740 of file STObject.h.
|
protectedinherited |
Definition at line 748 of file STObject.h.
|
friend |
Definition at line 669 of file STObject.h.
|
friend |
Definition at line 588 of file STObject.h.
|
friend |
Definition at line 594 of file STObject.h.
|
friend |
Definition at line 600 of file STObject.h.
|
friend |
Definition at line 610 of file STObject.h.
|
friend |
Definition at line 616 of file STObject.h.
|
friend |
Definition at line 624 of file STObject.h.
|
friend |
Definition at line 630 of file STObject.h.
|
friend |
Definition at line 636 of file STObject.h.
|
friend |
Definition at line 642 of file STObject.h.
|
friend |
Definition at line 648 of file STObject.h.
|
protectedinherited |
Definition at line 499 of file STObject.h.
|
protectedinherited |
Definition at line 500 of file STObject.h.
|
protectedinherited |
Definition at line 501 of file STObject.h.