|
rippled
|
#include <STArray.h>


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, std::size_t 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)(STObject const &o1, STObject const &o2)) |
| bool | operator== (STArray const &s) const |
| bool | operator!= (STArray const &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 (STBase const &t) const override |
| bool | isDefault () const override |
| bool | operator== (STBase const &t) const |
| bool | operator!= (STBase const &t) const |
| template<class D > | |
| D & | downcast () |
| template<class D > | |
| D const & | downcast () const |
| template<class D > | |
| D const & | downcast () const |
| void | setFName (SField const &n) |
| A STBase is a field. | |
| 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 36 of file STArray.cpp.
| ripple::STArray::STArray | ( | SField const & | f, |
| std::size_t | n | ||
| ) |
Definition at line 58 of file STArray.cpp.
| ripple::STArray::STArray | ( | SerialIter & | sit, |
| SField const & | f, | ||
| int | depth = 0 |
||
| ) |
Definition at line 63 of file STArray.cpp.
|
explicit |
Definition at line 49 of file STArray.cpp.
|
explicit |
Definition at line 54 of file STArray.cpp.
Definition at line 42 of file STArray.cpp.
| STObject & ripple::STArray::operator[] | ( | std::size_t | j | ) |
| STObject const & ripple::STArray::operator[] | ( | std::size_t | j | ) | const |
| void ripple::STArray::emplace_back | ( | Args &&... | args | ) |
| void ripple::STArray::push_back | ( | STObject const & | object | ) |
| STArray::iterator ripple::STArray::begin | ( | ) |
| STArray::iterator ripple::STArray::end | ( | ) |
| STArray::const_iterator ripple::STArray::begin | ( | ) | const |
| STArray::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 114 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 133 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 152 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 167 of file STArray.cpp.
Definition at line 197 of file STArray.cpp.
| bool ripple::STArray::operator== | ( | STArray const & | s | ) | const |
| bool ripple::STArray::operator!= | ( | STArray const & | 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 178 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 184 of file STArray.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 191 of file STArray.cpp.
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 102 of file STArray.cpp.
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 108 of file STArray.cpp.
|
inherited |
Definition at line 51 of file STBase.cpp.
|
inherited |
Definition at line 57 of file STBase.cpp.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 141 of file STBase.cpp.
|
inherited |
Definition at line 147 of file STBase.cpp.
|
staticprotectedinherited |
|
staticprivatenoexceptinherited |
Definition at line 129 of file CountedObject.h.
|
friend |