20#ifndef XRPL_PROTOCOL_STNUMBER_H_INCLUDED
21#define XRPL_PROTOCOL_STNUMBER_H_INCLUDED
23#include <xrpl/basics/CountedObject.h>
24#include <xrpl/basics/Number.h>
25#include <xrpl/protocol/STBase.h>
Tracks the number of instances of an object.
A type which can be exported to a well known binary format.
SerializedTypeID getSType() const override
bool isDefault() const override
void add(Serializer &s) const override
STNumber & operator=(Number const &rhs)
std::string getText() const override
void setValue(Number const &v)
STBase * move(std::size_t n, void *buf) override
Number const & value() const
STBase * copy(std::size_t n, void *buf) const override
bool isEquivalent(STBase const &t) const override
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
NumberParts partsFromString(std::string const &number)
std::ostream & operator<<(std::ostream &out, base_uint< Bits, Tag > const &u)
STNumber numberFromJson(SField const &field, Json::Value const &value)