|
rippled
|
Note, should be treated as flags that can be | and &. More...
#include <STBase.h>
Public Types | |
| enum | values : underlying_t { none = 0b0000'0000 , include_date = 0b0000'0001 , disable_API_prior_V2 = 0b0000'0010 , _all = 0b0000'0011 } |
| using | underlying_t = unsigned int |
Public Member Functions | |
| constexpr | JsonOptions (underlying_t v) noexcept |
| constexpr | operator underlying_t () const noexcept |
| constexpr | operator bool () const noexcept |
| constexpr auto friend | operator== (JsonOptions lh, JsonOptions rh) noexcept -> bool=default |
| constexpr auto friend | operator!= (JsonOptions lh, JsonOptions rh) noexcept -> bool=default |
| constexpr JsonOptions friend | operator| (JsonOptions lh, JsonOptions rh) noexcept |
| Returns JsonOptions union of lh and rh. | |
| constexpr JsonOptions friend | operator& (JsonOptions lh, JsonOptions rh) noexcept |
| Returns JsonOptions intersection of lh and rh. | |
| constexpr JsonOptions friend | operator~ (JsonOptions v) noexcept |
| Returns JsonOptions binary negation, can be used with & (above) for set difference e.g. | |
Public Attributes | |
| underlying_t | value |
| using ripple::JsonOptions::underlying_t = unsigned int |
|
constexprnoexcept |
|
explicitconstexprnoexcept |
|
explicitconstexprnoexcept |
|
constexprdefaultnoexcept |
|
constexprdefaultnoexcept |
|
constexprnoexcept |
Returns JsonOptions union of lh and rh.
|
constexprnoexcept |
Returns JsonOptions intersection of lh and rh.
|
constexprnoexcept |
Returns JsonOptions binary negation, can be used with & (above) for set difference e.g.
(options & ~JsonOptionsinclude_date)
| underlying_t ripple::JsonOptions::value |