20 #ifndef RIPPLE_PROTOCOL_SFIELD_H_INCLUDED
21 #define RIPPLE_PROTOCOL_SFIELD_H_INCLUDED
23 #include <ripple/basics/safe_cast.h>
24 #include <ripple/json/json_value.h>
46 template <std::
size_t>
89 return (safe_cast<int>(
id) << 16) | index;
96 return (
id << 16) | index;
285 template <
class... Args>
307 inline OptionaledField<T>
const SF_UINT64 sfIndexNext
const SF_UINT32 sfSignerListID
const SF_UINT32 sfHighQualityIn
const SF_UINT32 sfOfferSequence
const SF_UINT32 sfPreviousTxnLgrSeq
const SF_UINT32 sfOwnerCount
const SF_HASH256 sfPreviousTxnID
TypedField(TypedField &&u)
const SF_HASH256 sfDigest
const SF_UINT16 sfSignerWeight
const SF_VL sfUNLModifyValidator
const SF_UINT32 sfSourceTag
const SF_UINT32 sfReserveBase
const SF_AMOUNT sfSendMax
static const SField & getField(SerializedTypeID type, int value)
const SF_UINT64 sfOwnerNode
A field with a type known at compile time.
const SF_AMOUNT sfMinimumOffer
const SField sfGeneric(access, 0)
const SF_UINT32 sfLedgerSequence
const SF_ACCOUNT sfDestination
const SField sfTransactionMetaData
const SF_UINT32 sfWalletSize
const SF_UINT32 sfFirstLedgerSequence
const SF_HASH160 sfTakerGetsCurrency
const SF_UINT32 sfQualityOut
const SF_HASH256 sfBookDirectory
const SF_UINT32 sfSequence
const SF_ACCOUNT sfRegularKey
const SF_HASH256 sfWalletLocator
int field_code(SerializedTypeID id, int index)
const std::string fieldName
const SF_VL sfSigningPubKey
const IsSigning signingField
static const SField & getField(int type, int value)
const SF_ACCOUNT sfTarget
const SF_UINT32 sfQualityIn
bool operator!=(const SField &f) const
const SF_UINT32 sfSetFlag
const SField sfFinalFields
Indicate std::optional field semantics.
const SF_HASH128 sfEmailHash
const SF_UINT32 sfCloseTime
const SF_UINT32 sfTicketSequence
const SF_UINT32 sfParentCloseTime
static const SField & getField(int fieldCode)
const SF_HASH256 sfAmendment
static std::map< int, SField const * > knownCodeToField
const SF_HASH256 sfTransactionHash
Json::StaticString const & getJsonName() const
bool operator==(const SField &f) const
SField & operator=(SField const &)=delete
const Json::StaticString jsonName
const SField sfDeletedNode
const SField sfInvalid(access, -1)
TypedField(Args &&... args)
const SF_HASH160 sfTakerGetsIssuer
const SF_HASH256 sfValidatedHash
const SField sfLedgerEntry
const SF_UINT32 sfExpiration
const SF_UINT32 sfSignerQuorum
const SF_VECTOR256 sfIndexes
const SF_HASH256 sfLedgerHash
const SerializedTypeID fieldType
const SF_UINT16 sfVersion
const SF_UINT64 sfLowNode
const SF_AMOUNT sfTakerPays
SField(SField const &)=delete
const SF_UINT16 sfTransactionType
const SF_AMOUNT sfDeliverMin
const SF_UINT32 sfLowQualityOut
const SF_AMOUNT sfLimitAmount
const SF_AMOUNT sfLowLimit
OptionaledField(TypedField< T > const &f_)
const SF_AMOUNT sfDeliveredAmount
const SF_UINT32 sfSettleDelay
const SF_ACCOUNT sfUnauthorize
const SF_UINT64 sfServerVersion
const SF_UINT32 sfBondAmount
const SF_UINT32 sfLoadFee
const SF_HASH160 sfTakerPaysIssuer
const SF_UINT32 sfReserveIncrement
const SF_VL sfMasterSignature
const SF_UINT64 sfIndexPrevious
const SField sfAffectedNodes
const SF_UINT64 sfBookNode
static const IsSigning notSigning
const SF_UINT32 sfLowQualityIn
const SF_VL sfValidatorToDisable
const SF_UINT32 sfTicketCount
const SF_AMOUNT sfRippleEscrow
const SField sfModifiedNode
const SF_UINT64 sfDestinationNode
const SF_AMOUNT sfTakerGets
const SF_HASH256 sfLedgerIndex
const SF_UINT32 sfTransferRate
const SF_UINT8 sfTickSize
const SF_ACCOUNT sfAuthorize
const SF_AMOUNT sfHighLimit
const SF_UINT64 sfExchangeRate
const SF_UINT32 sfStampEscrow
static int getNumFields()
const SF_UINT32 sfClearFlag
const SField sfSignerEntry
const SF_HASH256 sfAccountHash
const SF_HASH160 sfTakerPaysCurrency
const SF_HASH256 sfChannel
const SF_HASH256 sfCheckID
const SF_UINT8 sfUNLModifyDisabling
bool shouldInclude(bool withSigningField) const
const SField sfPreviousFields
const SF_UINT32 sfTransactionIndex
const SField sfSignerEntries
const SF_UINT32 sfOperationLimit
const SF_UINT64 sfBaseFee
const SF_VECTOR256 sfHashes
const SF_VL sfTxnSignature
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_UINT8 sfCloseResolution
const SF_UINT8 sfTransactionResult
const SField sfTemplateEntry
const SF_UINT16 sfLedgerEntryType
const SF_HASH256 sfConsensusHash
const SF_HASH256 sfAccountTxnID
const SF_ACCOUNT sfIssuer
std::string const & getName() const
Lightweight wrapper to tag static string.
bool isDiscardable() const
const SF_HASH256 sfInvoiceID
const SField sfDisabledValidator
const SF_UINT32 sfDestinationTag
const SField sfCreatedNode
const SF_HASH256 sfRootIndex
const SF_AMOUNT sfBalance
static int compare(const SField &f1, const SField &f2)
const SF_UINT32 sfReferenceFeeUnits
const SF_UINT32 sfCancelAfter
const SF_UINT32 sfHighQualityOut
const SField sfValidation
const SF_UINT32 sfFinishAfter
TypedField< T > const * f
const SF_ACCOUNT sfAccount
const SField sfSufficient
const SF_UINT32 sfLastLedgerSequence
bool shouldMeta(int c) const
const SF_HASH256 sfNickname
const SF_HASH256 sfParentHash
const SField sfMajorities
const SF_UINT32 sfSigningTime
const SField sfDisabledValidators
const SF_VL sfFulfillment
const SF_UINT64 sfHighNode
const SField sfTransaction
const SF_VECTOR256 sfAmendments
bool isSigningField() const
constexpr ApplyFlags operator~(ApplyFlags const &flags)
const SF_VL sfValidatorToReEnable