|
xrpld
|
A field with a type known at compile time. More...
#include <SField.h>


Public Types | |
| using | type = T |
| enum class | IsSigning : unsigned char { No , Yes } |
Public Member Functions | |
| template<class... Args> | |
| TypedField (PrivateAccessTagT pat, Args &&... args) | |
| std::string const & | getName () const |
| bool | hasName () const |
| json::StaticString const & | getJsonName () const |
| operator json::StaticString const & () 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== (SField const &f) const |
| bool | operator!= (SField const &f) const |
Static Public Member Functions | |
| static SField const & | getField (int fieldCode) |
| static SField const & | getField (std::string const &fieldName) |
| static SField const & | getField (int type, int value) |
| static SField const & | getField (SerializedTypeID type, int value) |
| static int | getNumFields () |
| static int | compare (SField const &f1, SField const &f2) |
| static std::unordered_map< int, SField const * > const & | getKnownCodeToField () |
Public Attributes | |
| int const | fieldCodeMem |
| SerializedTypeID const | fieldType |
| int const | fieldValue |
| std::string const | fieldName |
| int const | fieldMeta |
| int const | fieldNum |
| IsSigning const | signingField |
| json::StaticString const | jsonName |
Static Public Attributes | |
| static constexpr auto | kSmdNever = 0x00 |
| static constexpr auto | kSmdChangeOrig = 0x01 |
| static constexpr auto | kSmdChangeNew = 0x02 |
| static constexpr auto | kSmdDeleteFinal = 0x04 |
| static constexpr auto | kSmdCreate = 0x08 |
| static constexpr auto | kSmdAlways = 0x10 |
| static constexpr auto | kSmdBaseTen = 0x20 |
| static constexpr auto | kSmdPseudoAccount = 0x40 |
| static constexpr auto | kSmdNeedsAsset = 0x80 |
| static constexpr auto | kSmdDefault |
| static IsSigning const | kNotSigning = IsSigning::No |
Static Private Attributes | |
| static int | num = 0 |
| static std::unordered_map< int, SField const * > | knownCodeToField |
| static std::unordered_map< std::string, SField const * > | knownNameToField |
A field with a type known at compile time.
| using xrpl::TypedField< T >::type = T |
|
stronginherited |
|
explicit |
Definition at line 26 of file SField.cpp.
|
staticinherited |
Definition at line 116 of file SField.cpp.
|
staticinherited |
Definition at line 144 of file SField.cpp.
|
staticinherited |
|
staticinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
inherited |
|
inherited |
Definition at line 128 of file SField.cpp.
|
staticinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |
|
staticprivateinherited |
|
staticprivateinherited |