rippled
|
A field with a type known at compile time. More...
Public Types | |
using | type = T |
enum | { sMD_Never = 0x00, sMD_ChangeOrig = 0x01, sMD_ChangeNew = 0x02, sMD_DeleteFinal = 0x04, sMD_Create = 0x08, sMD_Always = 0x10, sMD_Default } |
enum | IsSigning : unsigned char { IsSigning::no, IsSigning::yes } |
Public Member Functions | |
template<class... Args> | |
TypedField (Args &&... args) | |
TypedField (TypedField &&u) | |
std::string const & | getName () const |
bool | hasName () const |
Json::StaticString const & | getJsonName () const |
bool | isInvalid () const |
bool | isUseful () const |
bool | isBinary () const |
bool | isDiscardable () const |
int | getCode () const |
int | getNum () const |
bool | shouldMeta (int c) const |
bool | shouldInclude (bool withSigningField) const |
bool | operator== (const SField &f) const |
bool | operator!= (const SField &f) const |
Static Public Member Functions | |
static const SField & | getField (int fieldCode) |
static const SField & | getField (std::string const &fieldName) |
static const SField & | getField (int type, int value) |
static const SField & | getField (SerializedTypeID type, int value) |
static int | getNumFields () |
static int | compare (const SField &f1, const SField &f2) |
Public Attributes | |
const int | fieldCode |
const SerializedTypeID | fieldType |
const int | fieldValue |
const std::string | fieldName |
const int | fieldMeta |
const int | fieldNum |
const IsSigning | signingField |
const Json::StaticString | jsonName |
Static Public Attributes | |
static const IsSigning | notSigning = IsSigning::no |
Static Private Attributes | |
static int | num = 0 |
static std::map< int, SField const * > | knownCodeToField |
A field with a type known at compile time.
using ripple::TypedField< T >::type = T |
|
inherited |
|
stronginherited |
|
explicit |
ripple::TypedField< T >::TypedField | ( | TypedField< T > && | u | ) |
|
staticinherited |
Definition at line 387 of file SField.cpp.
|
staticinherited |
Definition at line 415 of file SField.cpp.
|
staticinherited |
|
staticinherited |
|
inherited |
|
inherited |
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 399 of file SField.cpp.
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |