rippled
|
Public Types | |
enum | Type { typeNone = 0x00, typeAccount, typeCurrency = 0x10, typeIssuer = 0x20, typeBoundary = 0xFF, typeAll = typeAccount | typeCurrency | typeIssuer } |
Public Member Functions | |
STPathElement () | |
STPathElement (STPathElement const &)=default | |
STPathElement & | operator= (STPathElement const &)=default |
STPathElement (std::optional< AccountID > const &account, std::optional< Currency > const ¤cy, std::optional< AccountID > const &issuer) | |
STPathElement (AccountID const &account, Currency const ¤cy, AccountID const &issuer, bool forceCurrency=false) | |
STPathElement (unsigned int uType, AccountID const &account, Currency const ¤cy, AccountID const &issuer) | |
auto | getNodeType () const |
bool | isOffer () const |
bool | isAccount () const |
bool | hasIssuer () const |
bool | hasCurrency () const |
bool | isNone () const |
AccountID const & | getAccountID () const |
Currency const & | getCurrency () const |
AccountID const & | getIssuerID () const |
bool | operator== (const STPathElement &t) const |
bool | operator!= (const STPathElement &t) const |
Static Private Member Functions | |
static std::size_t | get_hash (STPathElement const &element) |
static auto & | getCounter () noexcept |
Private Attributes | |
unsigned int | mType |
AccountID | mAccountID |
Currency | mCurrencyID |
AccountID | mIssuerID |
bool | is_offer_ |
std::size_t | hash_value_ |
Definition at line 34 of file STPathSet.h.
Enumerator | |
---|---|
typeNone | |
typeAccount | |
typeCurrency | |
typeIssuer | |
typeBoundary | |
typeAll |
Definition at line 45 of file STPathSet.h.
ripple::STPathElement::STPathElement | ( | ) |
Definition at line 240 of file STPathSet.h.
|
default |
ripple::STPathElement::STPathElement | ( | std::optional< AccountID > const & | account, |
std::optional< Currency > const & | currency, | ||
std::optional< AccountID > const & | issuer | ||
) |
Definition at line 245 of file STPathSet.h.
ripple::STPathElement::STPathElement | ( | AccountID const & | account, |
Currency const & | currency, | ||
AccountID const & | issuer, | ||
bool | forceCurrency = false |
||
) |
Definition at line 279 of file STPathSet.h.
ripple::STPathElement::STPathElement | ( | unsigned int | uType, |
AccountID const & | account, | ||
Currency const & | currency, | ||
AccountID const & | issuer | ||
) |
Definition at line 302 of file STPathSet.h.
|
default |
auto ripple::STPathElement::getNodeType | ( | ) | const |
Definition at line 317 of file STPathSet.h.
bool ripple::STPathElement::isOffer | ( | ) | const |
Definition at line 323 of file STPathSet.h.
bool ripple::STPathElement::isAccount | ( | ) | const |
Definition at line 329 of file STPathSet.h.
bool ripple::STPathElement::hasIssuer | ( | ) | const |
Definition at line 335 of file STPathSet.h.
bool ripple::STPathElement::hasCurrency | ( | ) | const |
Definition at line 341 of file STPathSet.h.
bool ripple::STPathElement::isNone | ( | ) | const |
Definition at line 347 of file STPathSet.h.
AccountID const & ripple::STPathElement::getAccountID | ( | ) | const |
Definition at line 355 of file STPathSet.h.
Currency const & ripple::STPathElement::getCurrency | ( | ) | const |
Definition at line 361 of file STPathSet.h.
AccountID const & ripple::STPathElement::getIssuerID | ( | ) | const |
Definition at line 367 of file STPathSet.h.
bool ripple::STPathElement::operator== | ( | const STPathElement & | t | ) | const |
Definition at line 373 of file STPathSet.h.
bool ripple::STPathElement::operator!= | ( | const STPathElement & | t | ) | const |
Definition at line 381 of file STPathSet.h.
|
staticprivate |
Definition at line 30 of file STPathSet.cpp.
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
private |
Definition at line 36 of file STPathSet.h.
|
private |
Definition at line 37 of file STPathSet.h.
|
private |
Definition at line 38 of file STPathSet.h.
|
private |
Definition at line 39 of file STPathSet.h.
|
private |
Definition at line 41 of file STPathSet.h.
|
private |
Definition at line 42 of file STPathSet.h.