20 #include <ripple/protocol/STBase.h>
21 #include <boost/checked_delete.hpp>
65 return emplace(n, buf, std::move(*
this));
STBase & operator=(const STBase &t)
virtual SerializedTypeID getSType() const
virtual bool isEquivalent(STBase const &t) const
const SField sfGeneric(access, 0)
int addFieldID(int type, int name)
virtual void add(Serializer &s) const
virtual STBase * copy(std::size_t n, void *buf) const
void addFieldID(Serializer &s) const
const std::string fieldName
std::ostream & operator<<(std::ostream &os, TOffer< TIn, TOut > const &offer)
const SerializedTypeID fieldType
virtual bool isDefault() const
static STBase * emplace(std::size_t n, void *buf, T &&val)
void setFName(SField const &n)
A STBase is a field.
virtual std::string getText() const
virtual std::string getFullText() const
SField const & getFName() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
A type which can be exported to a well known binary format.
bool operator!=(const STBase &t) const
bool operator==(const STBase &t) const
virtual STBase * move(std::size_t n, void *buf)
virtual Json::Value getJson(JsonOptions) const