20 #ifndef RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED
21 #define RIPPLE_APP_PATHS_RIPPLESTATE_H_INCLUDED
23 #include <ripple/basics/CountedObject.h>
24 #include <ripple/ledger/View.h>
25 #include <ripple/protocol/Rate.h>
26 #include <ripple/protocol/STAmount.h>
27 #include <ripple/protocol/STLedgerEntry.h>
LineDirection getDirection() const
Tracks the number of instances of an object.
bool getNoRipplePeer() const
LineDirection
Describes how an account was found in a path, and how to find the next set of paths.
Represents a transfer rate.
Rate const & getQualityOut() const
TrustLineBase(std::shared_ptr< SLE const > const &sle, AccountID const &viewAccount)
STAmount const & getBalance() const
AccountID const & getAccountIDPeer() const
STAmount const & getLimit() const
static std::optional< PathFindTrustLine > makeItem(AccountID const &accountID, std::shared_ptr< SLE const > const &sle)
AccountID const & getIssuer() const
const STAmount mHighLimit
LineDirection getDirectionPeer() const
uint256 const & key() const
Returns the state map key for the ledger entry.
Rate const & getQualityIn() const
STAmount const & getLimitPeer() const
PathFindTrustLine()=delete
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
AccountID const & getAccountID() const
static std::optional< RPCTrustLine > makeItem(AccountID const &accountID, std::shared_ptr< SLE const > const &sle)
bool getFreezePeer() const
Has the peer set the freeze flag on us.
bool getDefaultRipple() const
TrustLineBase & operator=(TrustLineBase const &)=delete
bool getFreeze() const
Have we set the freeze flag on our peer.
static std::vector< PathFindTrustLine > getItems(AccountID const &accountID, ReadView const &view, LineDirection direction)
Wraps a trust line SLE for convenience.
static std::vector< RPCTrustLine > getItems(AccountID const &accountID, ReadView const &view)