|
xrpld
|
#include <STXChainBridge.h>


Public Types | |
| enum class | ChainType { Locking , Issuing } |
| using | value_type = STXChainBridge |
Public Member Functions | |
| STXChainBridge () | |
| STXChainBridge (SField const &name) | |
| STXChainBridge (STXChainBridge const &rhs)=default | |
| STXChainBridge (STObject const &o) | |
| STXChainBridge (AccountID const &srcChainDoor, Issue const &srcChainIssue, AccountID const &dstChainDoor, Issue const &dstChainIssue) | |
| STXChainBridge (json::Value const &v) | |
| STXChainBridge (SField const &name, json::Value const &v) | |
| STXChainBridge (SerialIter &sit, SField const &name) | |
| STXChainBridge & | operator= (STXChainBridge const &rhs)=default |
| std::string | getText () const override |
| STObject | toSTObject () const |
| AccountID const & | lockingChainDoor () const |
| Issue const & | lockingChainIssue () const |
| AccountID const & | issuingChainDoor () const |
| Issue const & | issuingChainIssue () const |
| AccountID const & | door (ChainType ct) const |
| Issue const & | issue (ChainType ct) const |
| SerializedTypeID | getSType () const override |
| json::Value | getJson (JsonOptions) const override |
| void | add (Serializer &s) const override |
| bool | isEquivalent (STBase const &t) const override |
| bool | isDefault () const override |
| value_type const & | value () const noexcept |
| bool | operator== (STBase const &t) const |
| bool | operator!= (STBase const &t) const |
| template<class D> | |
| D & | downcast () |
| template<class D> | |
| D const & | downcast () const |
| template<class D> | |
| D const & | downcast () const |
| virtual std::string | getFullText () const |
| void | setFName (SField const &n) |
| A STBase is a field. | |
| SField const & | getFName () const |
| void | addFieldID (Serializer &s) const |
Static Public Member Functions | |
| static ChainType | otherChain (ChainType ct) |
| static ChainType | srcChain (bool wasLockingChainSend) |
| static ChainType | dstChain (bool wasLockingChainSend) |
Public Attributes | |
| friend | Object |
Static Protected Member Functions | |
| template<class T> | |
| static STBase * | emplace (std::size_t n, void *buf, T &&val) |
Private Member Functions | |
| STBase * | copy (std::size_t n, void *buf) const override |
| STBase * | move (std::size_t n, void *buf) override |
Static Private Member Functions | |
| static std::unique_ptr< STXChainBridge > | construct (SerialIter &, SField const &name) |
| static auto & | getCounter () noexcept |
Private Attributes | |
| STAccount | lockingChainDoor_ {sfLockingChainDoor} |
| STIssue | lockingChainIssue_ {sfLockingChainIssue} |
| STAccount | issuingChainDoor_ {sfIssuingChainDoor} |
| STIssue | issuingChainIssue_ {sfIssuingChainIssue} |
| SField const * | fName_ |
Friends | |
| bool | operator== (STXChainBridge const &lhs, STXChainBridge const &rhs) |
| bool | operator< (STXChainBridge const &lhs, STXChainBridge const &rhs) |
Definition at line 13 of file STXChainBridge.h.
Definition at line 21 of file STXChainBridge.h.
|
strong |
| Enumerator | |
|---|---|
| Locking | |
| Issuing | |
Definition at line 23 of file STXChainBridge.h.
| xrpl::STXChainBridge::STXChainBridge | ( | ) |
Definition at line 24 of file STXChainBridge.cpp.
|
explicit |
Definition at line 28 of file STXChainBridge.cpp.
|
default |
| xrpl::STXChainBridge::STXChainBridge | ( | STObject const & | o | ) |
Definition at line 45 of file STXChainBridge.cpp.
| xrpl::STXChainBridge::STXChainBridge | ( | AccountID const & | srcChainDoor, |
| Issue const & | srcChainIssue, | ||
| AccountID const & | dstChainDoor, | ||
| Issue const & | dstChainIssue ) |
Definition at line 32 of file STXChainBridge.cpp.
|
explicit |
Definition at line 54 of file STXChainBridge.cpp.
|
explicit |
Definition at line 58 of file STXChainBridge.cpp.
|
explicit |
Definition at line 112 of file STXChainBridge.cpp.
|
static |
Definition at line 191 of file STXChainBridge.h.
|
static |
Definition at line 199 of file STXChainBridge.h.
|
static |
Definition at line 207 of file STXChainBridge.h.
|
default |
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 142 of file STXChainBridge.cpp.
|
nodiscard |
Definition at line 152 of file STXChainBridge.cpp.
|
nodiscard |
Definition at line 145 of file STXChainBridge.h.
|
nodiscard |
Definition at line 151 of file STXChainBridge.h.
|
nodiscard |
Definition at line 157 of file STXChainBridge.h.
|
nodiscard |
Definition at line 163 of file STXChainBridge.h.
Definition at line 175 of file STXChainBridge.h.
Definition at line 183 of file STXChainBridge.h.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 163 of file STXChainBridge.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 131 of file STXChainBridge.cpp.
|
overridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 122 of file STXChainBridge.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 169 of file STXChainBridge.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 176 of file STXChainBridge.cpp.
|
nodiscardnoexcept |
Definition at line 169 of file STXChainBridge.h.
|
staticprivate |
Definition at line 183 of file STXChainBridge.cpp.
|
overrideprivatevirtual |
Reimplemented from xrpl::STBase.
Definition at line 189 of file STXChainBridge.cpp.
|
overrideprivatevirtual |
Reimplemented from xrpl::STBase.
Definition at line 195 of file STXChainBridge.cpp.
|
inherited |
Definition at line 36 of file STBase.cpp.
|
inherited |
Definition at line 42 of file STBase.cpp.
|
inherited |
|
nodiscardinherited |
|
nodiscardvirtualinherited |
Reimplemented in xrpl::STAmount, xrpl::STArray, xrpl::STLedgerEntry, xrpl::STObject, and xrpl::STTx.
Definition at line 66 of file STBase.cpp.
|
inherited |
|
nodiscardinherited |
Definition at line 126 of file STBase.cpp.
|
inherited |
Definition at line 132 of file STBase.cpp.
|
staticprotectedinherited |
|
staticprivatenoexceptinherited |
Definition at line 109 of file CountedObject.h.
|
friend |
Definition at line 115 of file STXChainBridge.h.
|
friend |
Definition at line 129 of file STXChainBridge.h.
|
private |
Definition at line 15 of file STXChainBridge.h.
|
private |
Definition at line 16 of file STXChainBridge.h.
|
private |
Definition at line 17 of file STXChainBridge.h.
|
private |
Definition at line 18 of file STXChainBridge.h.
|
inherited |
Definition at line 134 of file CountedObject.h.