|
xrpld
|
#include <STPathSet.h>


Public Types | |
| enum | Type { TypeNone = 0x00 , TypeAccount = 0x01 , TypeCurrency = 0x10 , TypeIssuer = 0x20 , TypeMpt = 0x40 , TypeBoundary = 0xFF , TypeAsset = TypeCurrency | TypeMpt , TypeAll = TypeAccount | TypeCurrency | TypeIssuer | TypeMpt } |
Public Member Functions | |
| STPathElement () | |
| STPathElement (STPathElement const &)=default | |
| STPathElement & | operator= (STPathElement const &)=default |
| STPathElement (std::optional< AccountID > const &account, std::optional< PathAsset > const &asset, std::optional< AccountID > const &issuer) | |
| STPathElement (AccountID const &account, PathAsset const &asset, AccountID const &issuer, bool forceAsset=false) | |
| STPathElement (unsigned int uType, AccountID const &account, PathAsset const &asset, AccountID const &issuer) | |
| std::uint32_t | getNodeType () const |
| bool | isOffer () const |
| bool | isAccount () const |
| bool | hasIssuer () const |
| bool | hasCurrency () const |
| bool | hasMPT () const |
| bool | hasAsset () const |
| bool | isNone () const |
| AccountID const & | getAccountID () const |
| PathAsset const & | getPathAsset () const |
| Currency const & | getCurrency () const |
| MPTID const & | getMPTID () const |
| AccountID const & | getIssuerID () const |
| bool | isType (Type const &pe) const |
| bool | operator== (STPathElement const &t) const |
Public Attributes | |
| friend | Object |
Static Private Member Functions | |
| static std::size_t | getHash (STPathElement const &element) |
| static auto & | getCounter () noexcept |
Private Attributes | |
| unsigned int | type_ |
| AccountID | accountID_ |
| PathAsset | assetID_ |
| AccountID | issuerID_ |
| bool | isOffer_ |
| std::size_t | hashValue_ |
Definition at line 23 of file STPathSet.h.
| Enumerator | |
|---|---|
| TypeNone | |
| TypeAccount | |
| TypeCurrency | |
| TypeIssuer | |
| TypeMpt | |
| TypeBoundary | |
| TypeAsset | |
| TypeAll | |
Definition at line 36 of file STPathSet.h.
| xrpl::STPathElement::STPathElement | ( | ) |
Definition at line 340 of file STPathSet.h.
|
default |
| xrpl::STPathElement::STPathElement | ( | std::optional< AccountID > const & | account, |
| std::optional< PathAsset > const & | asset, | ||
| std::optional< AccountID > const & | issuer ) |
Definition at line 348 of file STPathSet.h.
| xrpl::STPathElement::STPathElement | ( | AccountID const & | account, |
| PathAsset const & | asset, | ||
| AccountID const & | issuer, | ||
| bool | forceAsset = false ) |
Definition at line 383 of file STPathSet.h.
| xrpl::STPathElement::STPathElement | ( | unsigned int | uType, |
| AccountID const & | account, | ||
| PathAsset const & | asset, | ||
| AccountID const & | issuer ) |
Definition at line 406 of file STPathSet.h.
|
default |
|
nodiscard |
Definition at line 427 of file STPathSet.h.
|
nodiscard |
Definition at line 433 of file STPathSet.h.
|
nodiscard |
Definition at line 439 of file STPathSet.h.
|
nodiscard |
Definition at line 451 of file STPathSet.h.
|
nodiscard |
Definition at line 457 of file STPathSet.h.
|
nodiscard |
Definition at line 463 of file STPathSet.h.
|
nodiscard |
Definition at line 469 of file STPathSet.h.
|
nodiscard |
Definition at line 475 of file STPathSet.h.
|
nodiscard |
Definition at line 483 of file STPathSet.h.
|
nodiscard |
Definition at line 489 of file STPathSet.h.
|
nodiscard |
Definition at line 495 of file STPathSet.h.
|
nodiscard |
Definition at line 501 of file STPathSet.h.
|
nodiscard |
Definition at line 507 of file STPathSet.h.
|
nodiscard |
Definition at line 445 of file STPathSet.h.
| bool xrpl::STPathElement::operator== | ( | STPathElement const & | t | ) | const |
Definition at line 513 of file STPathSet.h.
|
staticprivate |
Definition at line 29 of file STPathSet.cpp.
|
staticprivatenoexceptinherited |
Definition at line 113 of file CountedObject.h.
|
private |
Definition at line 25 of file STPathSet.h.
|
private |
Definition at line 26 of file STPathSet.h.
|
private |
Definition at line 27 of file STPathSet.h.
|
private |
Definition at line 28 of file STPathSet.h.
|
private |
Definition at line 30 of file STPathSet.h.
|
private |
Definition at line 31 of file STPathSet.h.
|
inherited |
Definition at line 138 of file CountedObject.h.