|
xrpld
|
#include <TrustLine.h>


Public Member Functions | |
| RPCTrustLine ()=delete | |
| RPCTrustLine (SLE::ConstRef sle, AccountID const &viewAccount) | |
| Rate const & | getQualityIn () const |
| Rate const & | getQualityOut () const |
| UInt256 const & | key () const |
| Returns the state map key for the ledger entry. | |
| AccountID const & | getAccountID () const |
| AccountID const & | getAccountIDPeer () const |
| bool | getAuth () const |
| bool | getAuthPeer () const |
| bool | getNoRipple () const |
| bool | getNoRipplePeer () const |
| LineDirection | getDirection () const |
| LineDirection | getDirectionPeer () const |
| bool | getFreeze () const |
| Have we set the freeze flag on our peer. | |
| bool | getDeepFreeze () const |
| Have we set the deep freeze flag on our peer. | |
| bool | getFreezePeer () const |
| Has the peer set the freeze flag on us. | |
| bool | getDeepFreezePeer () const |
| Has the peer set the deep freeze flag on us. | |
| STAmount const & | getBalance () const |
| STAmount const & | getLimit () const |
| STAmount const & | getLimitPeer () const |
| json::Value | getJson (int) |
Static Public Member Functions | |
| static std::optional< RPCTrustLine > | makeItem (AccountID const &accountID, SLE::ConstRef sle) |
| static std::vector< RPCTrustLine > | getItems (AccountID const &accountID, ReadView const &view) |
Public Attributes | |
| friend | Object |
Protected Attributes | |
| UInt256 | key_ |
| STAmount const | lowLimit_ |
| STAmount const | highLimit_ |
| STAmount | balance_ |
| std::uint32_t | flags_ |
| bool | viewLowest_ |
Private Member Functions | |
| TrustLineBase (SLE::ConstRef sle, AccountID const &viewAccount) | |
| TrustLineBase (TrustLineBase const &)=default | |
| TrustLineBase (TrustLineBase &&)=default | |
Static Private Member Functions | |
| static auto & | getCounter () noexcept |
Private Attributes | |
| Rate | lowQualityIn_ |
| Rate | lowQualityOut_ |
| Rate | highQualityIn_ |
| Rate | highQualityOut_ |
Definition at line 203 of file TrustLine.h.
|
delete |
| xrpl::RPCTrustLine::RPCTrustLine | ( | SLE::ConstRef | sle, |
| AccountID const & | viewAccount ) |
Definition at line 77 of file TrustLine.cpp.
|
nodiscard |
Definition at line 213 of file TrustLine.h.
|
nodiscard |
Definition at line 219 of file TrustLine.h.
|
static |
Definition at line 87 of file TrustLine.cpp.
|
static |
Definition at line 95 of file TrustLine.cpp.
|
private |
Definition at line 49 of file TrustLine.cpp.
|
privatedefault |
|
privatedefault |
|
nodiscardinherited |
Returns the state map key for the ledger entry.
Definition at line 60 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 68 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 74 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 81 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 87 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 93 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 99 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 105 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 111 of file TrustLine.h.
|
nodiscardinherited |
Have we set the freeze flag on our peer.
Definition at line 120 of file TrustLine.h.
|
nodiscardinherited |
Have we set the deep freeze flag on our peer.
Definition at line 129 of file TrustLine.h.
|
nodiscardinherited |
Has the peer set the freeze flag on us.
Definition at line 138 of file TrustLine.h.
|
nodiscardinherited |
Has the peer set the deep freeze flag on us.
Definition at line 147 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 153 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 159 of file TrustLine.h.
|
nodiscardinherited |
Definition at line 165 of file TrustLine.h.
|
inherited |
Definition at line 30 of file TrustLine.cpp.
|
staticprivatenoexceptinherited |
Definition at line 113 of file CountedObject.h.
|
private |
Definition at line 231 of file TrustLine.h.
|
private |
Definition at line 232 of file TrustLine.h.
|
private |
Definition at line 233 of file TrustLine.h.
|
private |
Definition at line 234 of file TrustLine.h.
|
protectedinherited |
Definition at line 174 of file TrustLine.h.
|
protectedinherited |
Definition at line 176 of file TrustLine.h.
|
protectedinherited |
Definition at line 177 of file TrustLine.h.
|
protectedinherited |
Definition at line 179 of file TrustLine.h.
|
protectedinherited |
Definition at line 181 of file TrustLine.h.
|
protectedinherited |
Definition at line 183 of file TrustLine.h.
|
inherited |
Definition at line 138 of file CountedObject.h.