3#include <xrpl/basics/CountedObject.h>
4#include <xrpl/protocol/AccountID.h>
5#include <xrpl/protocol/STBase.h>
50 value() const noexcept;
57 copy(
std::
size_t n,
void* buf) const override;
59 move(
std::
size_t n,
void* buf) override;
99 return lhs.
value() == rhs;
105 return lhs.
value() < rhs;
111 return lhs < rhs.
value();
Like std::vector<char> but better.
Tracks the number of instances of an object.
bool isDefault() const override
bool isEquivalent(STBase const &t) const override
void add(Serializer &s) const override
STBase * move(std::size_t n, void *buf) override
void setValue(AccountID const &v)
friend class detail::STVar
SerializedTypeID getSType() const override
STAccount & operator=(AccountID const &value)
STBase * copy(std::size_t n, void *buf) const override
std::string getText() const override
AccountID const & value() const noexcept
A type which can be exported to a well known binary format.
bool operator==(STBase const &t) const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool operator<(Slice const &lhs, Slice const &rhs) noexcept
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.