rippled
|
Public Types | |
using | value_type = STObject |
using | size_type = list_type::size_type |
using | iterator = list_type::iterator |
using | const_iterator = list_type::const_iterator |
Public Member Functions | |
STArray ()=default | |
STArray (STArray const &)=default | |
template<class Iter , class = std::enable_if_t<std::is_convertible_v< typename std::iterator_traits<Iter>::reference, STObject>>> | |
STArray (Iter first, Iter last) | |
template<class Iter , class = std::enable_if_t<std::is_convertible_v< typename std::iterator_traits<Iter>::reference, STObject>>> | |
STArray (SField const &f, Iter first, Iter last) | |
STArray & | operator= (STArray const &)=default |
STArray (STArray &&) | |
STArray & | operator= (STArray &&) |
STArray (SField const &f, int n) | |
STArray (SerialIter &sit, SField const &f, int depth=0) | |
STArray (int n) | |
STArray (SField const &f) | |
STObject & | operator[] (std::size_t j) |
STObject const & | operator[] (std::size_t j) const |
STObject & | back () |
STObject const & | back () const |
template<class... Args> | |
void | emplace_back (Args &&... args) |
void | push_back (STObject const &object) |
void | push_back (STObject &&object) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
size_type | size () const |
bool | empty () const |
void | clear () |
void | reserve (std::size_t n) |
void | swap (STArray &a) noexcept |
std::string | getFullText () const override |
std::string | getText () const override |
Json::Value | getJson (JsonOptions index) const override |
void | add (Serializer &s) const override |
void | sort (bool(*compare)(const STObject &o1, const STObject &o2)) |
bool | operator== (const STArray &s) const |
bool | operator!= (const STArray &s) const |
iterator | erase (iterator pos) |
iterator | erase (const_iterator pos) |
iterator | erase (iterator first, iterator last) |
iterator | erase (const_iterator first, const_iterator last) |
SerializedTypeID | getSType () const override |
bool | isEquivalent (const STBase &t) const override |
bool | isDefault () const override |
bool | operator== (const STBase &t) const |
bool | operator!= (const STBase &t) const |
template<class D > | |
D & | downcast () |
template<class D > | |
D const & | downcast () const |
void | setFName (SField const &n) |
A STBase is a field. More... | |
SField const & | getFName () const |
void | addFieldID (Serializer &s) const |
Static Protected Member Functions | |
template<class T > | |
static STBase * | emplace (std::size_t n, void *buf, T &&val) |
Private Types | |
using | list_type = std::vector< STObject > |
Private Member Functions | |
STBase * | copy (std::size_t n, void *buf) const override |
STBase * | move (std::size_t n, void *buf) override |
Static Private Member Functions | |
static auto & | getCounter () noexcept |
Private Attributes | |
list_type | v_ |
SField const * | fName |
Friends | |
class | detail::STVar |
|
private |
using ripple::STArray::value_type = STObject |
using ripple::STArray::size_type = list_type::size_type |
using ripple::STArray::iterator = list_type::iterator |
using ripple::STArray::const_iterator = list_type::const_iterator |
|
default |
|
default |
|
explicit |
ripple::STArray::STArray | ( | SField const & | f, |
Iter | first, | ||
Iter | last | ||
) |
ripple::STArray::STArray | ( | STArray && | other | ) |
Definition at line 27 of file STArray.cpp.
ripple::STArray::STArray | ( | SField const & | f, |
int | n | ||
) |
Definition at line 49 of file STArray.cpp.
ripple::STArray::STArray | ( | SerialIter & | sit, |
SField const & | f, | ||
int | depth = 0 |
||
) |
Definition at line 54 of file STArray.cpp.
|
explicit |
Definition at line 40 of file STArray.cpp.
|
explicit |
Definition at line 45 of file STArray.cpp.
Definition at line 33 of file STArray.cpp.
STObject & ripple::STArray::operator[] | ( | std::size_t | j | ) |
STObject const & ripple::STArray::operator[] | ( | std::size_t | j | ) | const |
STObject const& ripple::STArray::back | ( | ) | const |
void ripple::STArray::emplace_back | ( | Args &&... | args | ) |
void ripple::STArray::push_back | ( | STObject const & | object | ) |
STArray::const_iterator ripple::STArray::begin | ( | ) |
STArray::const_iterator ripple::STArray::end | ( | ) |
const_iterator ripple::STArray::begin | ( | ) | const |
const_iterator ripple::STArray::end | ( | ) | const |
STArray::size_type ripple::STArray::size | ( | ) | const |
void ripple::STArray::reserve | ( | std::size_t | n | ) |
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 105 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 124 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 143 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 158 of file STArray.cpp.
Definition at line 188 of file STArray.cpp.
bool ripple::STArray::operator== | ( | const STArray & | s | ) | const |
bool ripple::STArray::operator!= | ( | const STArray & | s | ) | const |
STArray::iterator ripple::STArray::erase | ( | iterator | pos | ) |
STArray::iterator ripple::STArray::erase | ( | const_iterator | pos | ) |
STArray::iterator ripple::STArray::erase | ( | iterator | first, |
iterator | last | ||
) |
STArray::iterator ripple::STArray::erase | ( | const_iterator | first, |
const_iterator | last | ||
) |
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 169 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 175 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 182 of file STArray.cpp.
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 93 of file STArray.cpp.
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 99 of file STArray.cpp.
|
inherited |
Definition at line 45 of file STBase.cpp.
|
inherited |
Definition at line 51 of file STBase.cpp.
|
inherited |
|
inherited |
|
inherited |
Definition at line 132 of file STBase.cpp.
|
inherited |
Definition at line 138 of file STBase.cpp.
|
staticprotectedinherited |
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
friend |