20 #ifndef RIPPLE_PROTOCOL_STARRAY_H_INCLUDED
21 #define RIPPLE_PROTOCOL_STARRAY_H_INCLUDED
23 #include <ripple/basics/CountedObject.h>
24 #include <ripple/protocol/STObject.h>
49 explicit STArray(Iter first, Iter last);
81 template <
class... Args>
169 template <
class Iter,
class>
174 template <
class Iter,
class>
176 :
STBase(f), v_(first, last)
204 template <
class... Args>
bool operator==(const STArray &s) const
Tracks the number of instances of an object.
list_type::iterator iterator
bool isEquivalent(const STBase &t) const override
Json::Value getJson(JsonOptions index) const override
void push_back(STObject const &object)
STBase * copy(std::size_t n, void *buf) const override
list_type::const_iterator const_iterator
SerializedTypeID getSType() const override
list_type::size_type size_type
bool operator!=(const STArray &s) const
bool isDefault() const override
STArray & operator=(STArray const &)=default
void swap(STArray &a) noexcept
std::string getFullText() const override
void sort(bool(*compare)(const STObject &o1, const STObject &o2))
std::string getText() const override
T emplace_back(T... args)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
STObject & operator[](std::size_t j)
A type which can be exported to a well known binary format.
void emplace_back(Args &&... args)
iterator erase(iterator pos)
STBase * move(std::size_t n, void *buf) override
void add(Serializer &s) const override
void reserve(std::size_t n)