rippled
|
A type which can be exported to a well known binary format. More...
Public Member Functions | |
virtual | ~STBase ()=default |
STBase () | |
STBase (const STBase &)=default | |
STBase & | operator= (const STBase &t) |
STBase (SField const &n) | |
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 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) |
Private Member Functions | |
virtual STBase * | copy (std::size_t n, void *buf) const |
virtual STBase * | move (std::size_t n, void *buf) |
Private Attributes | |
SField const * | fName |
Friends | |
class | detail::STVar |
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.
|
virtualdefault |
ripple::STBase::STBase | ( | ) |
Definition at line 27 of file STBase.cpp.
|
default |
|
explicit |
Definition at line 31 of file STBase.cpp.
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 |
Reimplemented in ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STObject, ripple::STTx, ripple::STBlob, ripple::STAccount, ripple::STLedgerEntry, and ripple::STVector256.
Definition at line 69 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STAmount, ripple::STObject, ripple::STArray, ripple::STTx, and ripple::STLedgerEntry.
Definition at line 75 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STAmount, ripple::STObject, ripple::STArray, ripple::STBlob, ripple::STAccount, and ripple::STLedgerEntry.
Definition at line 94 of file STBase.cpp.
|
virtual |
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.
|
virtual |
Reimplemented in ripple::STAmount, ripple::STPathSet, ripple::STObject, ripple::STArray, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 105 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STObject, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 112 of file STBase.cpp.
|
virtual |
Reimplemented in ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STObject, ripple::STBlob, ripple::STAccount, and ripple::STVector256.
Definition at line 119 of file STBase.cpp.
void ripple::STBase::setFName | ( | SField const & | n | ) |
SField const & ripple::STBase::getFName | ( | ) | const |
Definition at line 132 of file STBase.cpp.
void ripple::STBase::addFieldID | ( | Serializer & | s | ) | const |
Definition at line 138 of file STBase.cpp.
|
staticprotected |
|
privatevirtual |
Reimplemented in ripple::STObject, ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STTx, ripple::STValidation, ripple::STVector256, ripple::STLedgerEntry, ripple::STBlob, and ripple::STAccount.
Definition at line 57 of file STBase.cpp.
|
privatevirtual |
Reimplemented in ripple::STObject, ripple::STAmount, ripple::STPathSet, ripple::STArray, ripple::STTx, ripple::STValidation, ripple::STVector256, ripple::STLedgerEntry, ripple::STBlob, and ripple::STAccount.
Definition at line 63 of file STBase.cpp.
|
friend |