1#ifndef XRPL_PROTOCOL_SEQ_PROXY_H_INCLUDED
2#define XRPL_PROTOCOL_SEQ_PROXY_H_INCLUDED
101 friend constexpr bool
109 friend constexpr bool
112 return !(lhs == rhs);
115 friend constexpr bool
123 friend constexpr bool
129 friend constexpr bool
135 friend constexpr bool
144 os << (seqProx.
isSeq() ?
"sequence " :
"ticket ");
145 os << seqProx.
value();
A type that represents either a sequence value or a ticket value.
friend constexpr bool operator<(SeqProxy lhs, SeqProxy rhs)
friend constexpr bool operator>(SeqProxy lhs, SeqProxy rhs)
static constexpr SeqProxy sequence(std::uint32_t v)
Factory function to return a sequence-based SeqProxy.
constexpr bool isSeq() const
friend constexpr bool operator!=(SeqProxy lhs, SeqProxy rhs)
constexpr std::uint32_t value() const
constexpr SeqProxy(Type t, std::uint32_t v)
friend constexpr bool operator>=(SeqProxy lhs, SeqProxy rhs)
friend constexpr bool operator==(SeqProxy lhs, SeqProxy rhs)
SeqProxy & operator=(SeqProxy const &other)=default
friend std::ostream & operator<<(std::ostream &os, SeqProxy seqProx)
constexpr bool isTicket() const
friend constexpr bool operator<=(SeqProxy lhs, SeqProxy rhs)
SeqProxy(SeqProxy const &other)=default
SeqProxy & advanceBy(std::uint32_t amount)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.