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


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_BaseTen = 0x20 , sMD_PseudoAccount = 0x40 , sMD_Default }  | 
| enum class | IsSigning : unsigned char { no , yes } | 
Public Member Functions | |
| template<class... Args> | |
| TypedField (private_access_tag_t 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 | fieldCode | 
| 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 IsSigning const | notSigning = 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 ripple::TypedField< T >::type = T | 
      
  | 
  inherited | 
      
  | 
  stronginherited | 
      
  | 
  explicit | 
Definition at line 44 of file SField.cpp.
      
  | 
  staticinherited | 
Definition at line 135 of file SField.cpp.
      
  | 
  staticinherited | 
Definition at line 163 of file SField.cpp.
      
  | 
  staticinherited | 
      
  | 
  staticinherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  staticinherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
Definition at line 147 of file SField.cpp.
      
  | 
  staticinherited | 
      
  | 
  staticinherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  staticprivateinherited | 
      
  | 
  staticprivateinherited |