|
rippled
|
A type which can be exported to a well known binary format. More...


Public Member Functions | |
| STBase () | |
| STBase (SField const &n) | |
| virtual | ~STBase ()=default |
| STBase (const STBase &t)=default | |
| STBase & | operator= (const STBase &t) |
| bool | operator== (const STBase &t) const |
| bool | operator!= (const STBase &t) const |
| virtual STBase * | copy (std::size_t n, void *buf) const |
| virtual STBase * | move (std::size_t n, void *buf) |
| template<class D > | |
| D & | downcast () |
| template<class D > | |
| D const & | downcast () const |
| virtual SerializedTypeID | getSType () const |
| virtual std::string | getFullText () const |
| virtual std::string | getText () const |
| virtual Json::Value | getJson (JsonOptions) const |
| virtual void | add (Serializer &s) const |
| virtual bool | isEquivalent (STBase const &t) const |
| virtual bool | isDefault () 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) |
Protected Attributes | |
| SField const * | fName |
A type which can be exported to a well known binary format.
A STBase:
Like JSON, a SerializedObject is a basket which has rules on what it can hold.
| ripple::STBase::STBase | ( | ) |
Definition at line 27 of file STBase.cpp.
|
explicit |
Definition at line 31 of file STBase.cpp.
|
virtualdefault |
|
default |
Definition at line 37 of file STBase.cpp.
| bool ripple::STBase::operator== | ( | const STBase & | t | ) | const |
Definition at line 45 of file STBase.cpp.
| bool ripple::STBase::operator!= | ( | const STBase & | t | ) | const |
Definition at line 51 of file STBase.cpp.
|
virtual |
|
virtual |
| D const& ripple::STBase::downcast | ( | ) | const |
|
virtual |
Reimplemented in ripple::STObject, ripple::STPathSet, ripple::STAmount, ripple::STArray, ripple::STTx, ripple::STBlob, ripple::STLedgerEntry, ripple::STVector256, and ripple::STAccount.
Definition at line 57 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STObject, ripple::STAmount, ripple::STArray, ripple::STTx, and ripple::STLedgerEntry.
Definition at line 63 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STObject, ripple::STAmount, ripple::STArray, ripple::STBlob, ripple::STLedgerEntry, and ripple::STAccount.
Definition at line 82 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STPathSet, ripple::STAmount, ripple::STVector256, ripple::STObject, ripple::STTx, ripple::STLedgerEntry, and ripple::STArray.
Definition at line 87 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STObject, ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 93 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STPathSet, ripple::STObject, ripple::STAmount, ripple::STArray, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 100 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STPathSet, ripple::STObject, ripple::STAmount, ripple::STArray, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 107 of file STBase.cpp.
| void ripple::STBase::setFName | ( | SField const & | n | ) |
| SField const & ripple::STBase::getFName | ( | ) | const |
Definition at line 120 of file STBase.cpp.
| void ripple::STBase::addFieldID | ( | Serializer & | s | ) | const |
Definition at line 126 of file STBase.cpp.
|
staticprotected |
1.8.17