20 #ifndef RIPPLE_PROTOCOL_ISSUE_H_INCLUDED
21 #define RIPPLE_PROTOCOL_ISSUE_H_INCLUDED
27 #include <ripple/protocol/UintTypes.h>
58 template <
class Hasher>
71 compare(Issue
const& lhs, Issue
const& rhs);
76 operator==(Issue
const& lhs, Issue
const& rhs);
78 operator!=(Issue
const& lhs, Issue
const& rhs);
84 operator<(Issue
const& lhs, Issue
const& rhs);
86 operator>(Issue
const& lhs, Issue
const& rhs);
88 operator>=(Issue
const& lhs, Issue
const& rhs);
90 operator<=(Issue
const& lhs, Issue
const& rhs);
bool operator>(base_uint< Bits, Tag > const &a, base_uint< Bits, Tag > const &b)
A currency issued by an account.
Currency const & noCurrency()
A placeholder for empty currencies.
bool isConsistent(Book const &book)
bool operator>=(base_uint< Bits, Tag > const &a, base_uint< Bits, Tag > const &b)
Issue const & noIssue()
Returns an asset specifier that represents no account and currency.
std::string to_string(ListDisposition disposition)
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
bool operator==(Manifest const &lhs, Manifest const &rhs)
bool operator<=(base_uint< Bits, Tag > const &a, base_uint< Bits, Tag > const &b)
bool operator<(CanonicalTXSet::Key const &lhs, CanonicalTXSet::Key const &rhs)
int compare(base_uint< Bits, Tag > const &a, base_uint< Bits, Tag > const &b)
bool operator!=(Manifest const &lhs, Manifest const &rhs)
AccountID const & xrpAccount()
Compute AccountID from public key.
Issue(Currency const &c, AccountID const &a)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
void hash_append(Hasher &h, Slice const &v)
Issue const & xrpIssue()
Returns an asset specifier that represents XRP.
AccountID const & noAccount()
A placeholder for empty accounts.
Currency const & xrpCurrency()
XRP currency.