rippled
|
Public Types | |
using | value_type = Slice |
Public Member Functions | |
STBlob ()=default | |
STBlob (STBlob const &rhs) | |
STBlob (SField const &f, void const *data, std::size_t size) | |
STBlob (SField const &f, Buffer &&b) | |
STBlob (SField const &n) | |
STBlob (SerialIter &, SField const &name=sfGeneric) | |
std::size_t | size () const |
std::uint8_t const * | data () const |
SerializedTypeID | getSType () const override |
std::string | getText () const override |
void | add (Serializer &s) const override |
bool | isEquivalent (const STBase &t) const override |
bool | isDefault () const override |
STBlob & | operator= (Slice const &slice) |
value_type | value () const noexcept |
STBlob & | operator= (Buffer &&buffer) |
void | setValue (Buffer &&b) |
bool | operator== (const STBase &t) const |
bool | operator!= (const STBase &t) const |
template<class D > | |
D & | downcast () |
template<class D > | |
D const & | downcast () const |
virtual std::string | getFullText () const |
virtual Json::Value | getJson (JsonOptions) 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 Member Functions | |
STBase * | copy (std::size_t n, void *buf) const override |
STBase * | move (std::size_t n, void *buf) override |
Private Attributes | |
Buffer | value_ |
SField const * | fName |
Friends | |
class | detail::STVar |
using ripple::STBlob::value_type = Slice |
|
default |
ripple::STBlob::STBlob | ( | SField const & | f, |
void const * | data, | ||
std::size_t | size | ||
) |
ripple::STBlob::STBlob | ( | SerialIter & | st, |
SField const & | name = sfGeneric |
||
) |
Definition at line 25 of file STBlob.cpp.
std::size_t ripple::STBlob::size | ( | ) | const |
std::uint8_t const * ripple::STBlob::data | ( | ) | const |
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 43 of file STBlob.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 49 of file STBlob.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 55 of file STBlob.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 65 of file STBlob.cpp.
|
overridevirtual |
Reimplemented from ripple::STBase.
Definition at line 72 of file STBlob.cpp.
|
noexcept |
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 31 of file STBlob.cpp.
|
overrideprivatevirtual |
Reimplemented from ripple::STBase.
Definition at line 37 of file STBlob.cpp.
|
inherited |
Definition at line 45 of file STBase.cpp.
|
inherited |
Definition at line 51 of file STBase.cpp.
|
inherited |
|
virtualinherited |
Reimplemented in ripple::STAmount, ripple::STObject, ripple::STArray, ripple::STTx, and ripple::STLedgerEntry.
Definition at line 75 of file STBase.cpp.
|
virtualinherited |
Reimplemented in ripple::STAmount, ripple::STPathSet, ripple::STVector256, ripple::STObject, ripple::STTx, ripple::STLedgerEntry, and ripple::STArray.
Definition at line 99 of file STBase.cpp.
|
inherited |
|
inherited |
Definition at line 132 of file STBase.cpp.
|
inherited |
Definition at line 138 of file STBase.cpp.
|
staticprotectedinherited |
|
friend |