20 #ifndef RIPPLE_PROTOCOL_STVECTOR256_H_INCLUDED
21 #define RIPPLE_PROTOCOL_STVECTOR256_H_INCLUDED
23 #include <ripple/protocol/STBase.h>
24 #include <ripple/protocol/STBitString.h>
25 #include <ripple/protocol/STInteger.h>
116 copy(
std::
size_t n,
void* buf) const override;
118 move(
std::
size_t n,
void* buf) override;
120 friend class detail::STVar;
135 :
STBase(n), mValue(vector)
248 return mValue.erase(position);
std::vector< uint256 >::iterator erase(std::vector< uint256 >::iterator position)
STVector256 & operator=(std::vector< uint256 > const &v)
void push_back(uint256 const &v)
std::vector< uint256 >::iterator end()
STBase * move(std::size_t n, void *buf) override
void setValue(const STVector256 &v)
bool isDefault() const override
std::vector< uint256 >::iterator begin()
std::vector< uint256 > const & value() const
SerializedTypeID getSType() const override
Integers of any length that is a multiple of 32-bits.
void add(Serializer &s) const override
bool isEquivalent(const STBase &t) const override
std::vector< uint256 >::reference operator[](std::vector< uint256 >::size_type n)
std::vector< uint256 >::iterator insert(std::vector< uint256 >::const_iterator pos, uint256 const &value)
std::vector< uint256 > mValue
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
STBase * copy(std::size_t n, void *buf) const override
A type which can be exported to a well known binary format.
void resize(std::size_t n)
Json::Value getJson(JsonOptions) const override