|
xrpld
|
#include <STVector256.h>


Public Types | |
| using | value_type = std::vector<uint256> const& |
Public Member Functions | |
| STVector256 ()=default | |
| STVector256 (SField const &n) | |
| STVector256 (std::vector< uint256 > vector) | |
| STVector256 (SField const &n, std::vector< uint256 > vector) | |
| STVector256 (SerialIter &sit, SField const &name) | |
| SerializedTypeID | getSType () const override |
| void | add (Serializer &s) const override |
| json::Value | getJson (JsonOptions) const override |
| bool | isEquivalent (STBase const &t) const override |
| bool | isDefault () const override |
| STVector256 & | operator= (std::vector< uint256 > const &v) |
| STVector256 & | operator= (std::vector< uint256 > &&v) |
| void | setValue (STVector256 const &v) |
| operator std::vector< uint256 > () const | |
| Retrieve a copy of the vector we contain. | |
| std::size_t | size () const |
| void | resize (std::size_t n) |
| bool | empty () const |
| std::vector< uint256 >::reference | operator[] (std::vector< uint256 >::size_type n) |
| std::vector< uint256 >::const_reference | operator[] (std::vector< uint256 >::size_type n) const |
| std::vector< uint256 > const & | value () const |
| std::vector< uint256 >::iterator | insert (std::vector< uint256 >::const_iterator pos, uint256 const &value) |
| void | pushBack (uint256 const &v) |
| std::vector< uint256 >::iterator | begin () |
| std::vector< uint256 >::const_iterator | begin () const |
| std::vector< uint256 >::iterator | end () |
| std::vector< uint256 >::const_iterator | end () const |
| std::vector< uint256 >::iterator | erase (std::vector< uint256 >::iterator position) |
| void | clear () noexcept |
| 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 |
| virtual std::string | getFullText () const |
| virtual std::string | getText () const |
| void | setFName (SField const &n) |
| A STBase is a field. | |
| SField const & | getFName () const |
| void | addFieldID (Serializer &s) const |
Public Attributes | |
| friend | Object |
Static Protected Member Functions | |
| template<class T> | |
| static STBase * | emplace (std::size_t n, void *buf, T &&val) |
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 | |
| std::vector< uint256 > | value_ |
| SField const * | fName_ |
Friends | |
| class | detail::STVar |
Definition at line 16 of file STVector256.h.
| using xrpl::STVector256::value_type = std::vector<uint256> const& |
Definition at line 21 of file STVector256.h.
|
default |
|
explicit |
Definition at line 110 of file STVector256.h.
|
explicit |
Definition at line 114 of file STVector256.h.
| xrpl::STVector256::STVector256 | ( | SField const & | n, |
| std::vector< uint256 > | vector ) |
Definition at line 118 of file STVector256.h.
| xrpl::STVector256::STVector256 | ( | SerialIter & | sit, |
| SField const & | name ) |
Definition at line 18 of file STVector256.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 49 of file STVector256.cpp.
|
overridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 61 of file STVector256.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 76 of file STVector256.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 69 of file STVector256.cpp.
|
nodiscardoverridevirtual |
Reimplemented from xrpl::STBase.
Definition at line 55 of file STVector256.cpp.
| STVector256 & xrpl::STVector256::operator= | ( | std::vector< uint256 > const & | v | ) |
Definition at line 124 of file STVector256.h.
| STVector256 & xrpl::STVector256::operator= | ( | std::vector< uint256 > && | v | ) |
Definition at line 131 of file STVector256.h.
| void xrpl::STVector256::setValue | ( | STVector256 const & | v | ) |
Definition at line 138 of file STVector256.h.
|
explicit |
Retrieve a copy of the vector we contain.
Definition at line 146 of file STVector256.h.
|
nodiscard |
Definition at line 153 of file STVector256.h.
| void xrpl::STVector256::resize | ( | std::size_t | n | ) |
Definition at line 159 of file STVector256.h.
|
nodiscard |
Definition at line 165 of file STVector256.h.
| std::vector< uint256 >::reference xrpl::STVector256::operator[] | ( | std::vector< uint256 >::size_type | n | ) |
Definition at line 171 of file STVector256.h.
| std::vector< uint256 >::const_reference xrpl::STVector256::operator[] | ( | std::vector< uint256 >::size_type | n | ) | const |
Definition at line 177 of file STVector256.h.
|
nodiscard |
Definition at line 183 of file STVector256.h.
| std::vector< uint256 >::iterator xrpl::STVector256::insert | ( | std::vector< uint256 >::const_iterator | pos, |
| uint256 const & | value ) |
Definition at line 189 of file STVector256.h.
| void xrpl::STVector256::pushBack | ( | uint256 const & | v | ) |
Definition at line 195 of file STVector256.h.
| std::vector< uint256 >::iterator xrpl::STVector256::begin | ( | ) |
Definition at line 201 of file STVector256.h.
|
nodiscard |
Definition at line 207 of file STVector256.h.
| std::vector< uint256 >::iterator xrpl::STVector256::end | ( | ) |
Definition at line 213 of file STVector256.h.
|
nodiscard |
Definition at line 219 of file STVector256.h.
| std::vector< uint256 >::iterator xrpl::STVector256::erase | ( | std::vector< uint256 >::iterator | position | ) |
Definition at line 225 of file STVector256.h.
|
noexcept |
Definition at line 231 of file STVector256.h.
|
overrideprivatevirtual |
Reimplemented from xrpl::STBase.
Definition at line 37 of file STVector256.cpp.
|
overrideprivatevirtual |
Reimplemented from xrpl::STBase.
Definition at line 43 of file STVector256.cpp.
|
inherited |
Definition at line 36 of file STBase.cpp.
|
inherited |
|
nodiscardinherited |
|
nodiscardvirtualinherited |
Reimplemented in xrpl::STAmount, xrpl::STArray, xrpl::STLedgerEntry, xrpl::STObject, and xrpl::STTx.
Definition at line 60 of file STBase.cpp.
|
nodiscardvirtualinherited |
Reimplemented in xrpl::STAccount, xrpl::STAmount, xrpl::STArray, xrpl::STBitString< Bits >, xrpl::STBitString< 128 >, xrpl::STBitString< 160 >, xrpl::STBitString< 192 >, xrpl::STBitString< 256 >, xrpl::STBlob, xrpl::STCurrency, xrpl::STInteger< Integer >, xrpl::STInteger< std::int32_t >, xrpl::STInteger< std::uint16_t >, xrpl::STInteger< std::uint32_t >, xrpl::STInteger< std::uint64_t >, xrpl::STInteger< unsigned char >, xrpl::STIssue, xrpl::STLedgerEntry, xrpl::STNumber, xrpl::STObject, and xrpl::STXChainBridge.
Definition at line 79 of file STBase.cpp.
|
inherited |
|
nodiscardinherited |
Definition at line 120 of file STBase.cpp.
|
inherited |
Definition at line 126 of file STBase.cpp.
|
staticprotectedinherited |
|
staticprivatenoexceptinherited |
Definition at line 113 of file CountedObject.h.
|
friend |
Definition at line 107 of file STVector256.h.
|
private |
Definition at line 18 of file STVector256.h.
|
inherited |
Definition at line 138 of file CountedObject.h.