1#ifndef XRPL_PROTOCOL_STACCOUNT_H_INCLUDED
2#define XRPL_PROTOCOL_STACCOUNT_H_INCLUDED
4#include <xrpl/basics/CountedObject.h>
5#include <xrpl/protocol/AccountID.h>
6#include <xrpl/protocol/STBase.h>
51 value() const noexcept;
58 copy(
std::
size_t n,
void* buf) const override;
60 move(
std::
size_t n,
void* buf) override;
100 return lhs.
value() == rhs;
106 return lhs.
value() < rhs;
112 return lhs < rhs.
value();
Like std::vector<char> but better.
Tracks the number of instances of an object.
void add(Serializer &s) const override
AccountID const & value() const noexcept
void setValue(AccountID const &v)
STAccount & operator=(AccountID const &value)
friend class detail::STVar
STBase * copy(std::size_t n, void *buf) const override
SerializedTypeID getSType() const override
STBase * move(std::size_t n, void *buf) override
bool isDefault() const override
std::string getText() const override
bool isEquivalent(STBase const &t) const override
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.
base_uint< 160, detail::AccountIDTag > AccountID
A 160-bit unsigned that uniquely identifies an account.
bool operator<(Slice const &lhs, Slice const &rhs) noexcept