20#ifndef RIPPLE_PROTOCOL_STACCOUNT_H_INCLUDED
21#define RIPPLE_PROTOCOL_STACCOUNT_H_INCLUDED
23#include <xrpl/basics/CountedObject.h>
24#include <xrpl/protocol/AccountID.h>
25#include <xrpl/protocol/STBase.h>
70 value() const noexcept;
77 copy(
std::
size_t n,
void* buf) const override;
79 move(
std::
size_t n,
void* buf) override;
119 return lhs.
value() == rhs;
125 return lhs.
value() < rhs;
131 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