1#ifndef XRPL_PROTOCOL_STARRAY_H_INCLUDED
2#define XRPL_PROTOCOL_STARRAY_H_INCLUDED
4#include <xrpl/basics/CountedObject.h>
5#include <xrpl/protocol/STObject.h>
30 explicit STArray(Iter first, Iter last);
62 template <
class... Args>
150template <
class Iter,
class>
155template <
class Iter,
class>
157 :
STBase(f), v_(first, last)
185template <
class... Args>
Tracks the number of instances of an object.
bool operator!=(STArray const &s) const
void sort(bool(*compare)(STObject const &o1, STObject const &o2))
void emplace_back(Args &&... args)
std::string getFullText() const override
iterator erase(iterator pos)
STBase * move(std::size_t n, void *buf) override
STBase * copy(std::size_t n, void *buf) const override
void add(Serializer &s) const override
bool isEquivalent(STBase const &t) const override
list_type::iterator iterator
list_type::const_iterator const_iterator
STObject & operator[](std::size_t j)
SerializedTypeID getSType() const override
bool operator==(STArray const &s) const
void reserve(std::size_t n)
Json::Value getJson(JsonOptions index) const override
bool isDefault() const override
list_type::size_type size_type
STArray(STArray const &)=default
STArray & operator=(STArray const &)=default
std::string getText() const override
void push_back(STObject const &object)
void swap(STArray &a) noexcept
A type which can be exported to a well known binary format.
T emplace_back(T... args)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Note, should be treated as flags that can be | and &.