|
rippled
|
Builder for XChainOwnedClaimID ledger entries. More...
#include <XChainOwnedClaimID.h>


Public Member Functions | |
| XChainOwnedClaimIDBuilder (std::decay_t< typename SF_ACCOUNT::type::value_type > const &account, std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &xChainBridge, std::decay_t< typename SF_UINT64::type::value_type > const &xChainClaimID, std::decay_t< typename SF_ACCOUNT::type::value_type > const &otherChainSource, STArray const &xChainClaimAttestations, std::decay_t< typename SF_AMOUNT::type::value_type > const &signatureReward, std::decay_t< typename SF_UINT64::type::value_type > const &ownerNode, std::decay_t< typename SF_UINT256::type::value_type > const &previousTxnID, std::decay_t< typename SF_UINT32::type::value_type > const &previousTxnLgrSeq) | |
| Construct a new XChainOwnedClaimIDBuilder with required fields. | |
| XChainOwnedClaimIDBuilder (std::shared_ptr< SLE const > sle) | |
| Construct a XChainOwnedClaimIDBuilder from an existing SLE object. | |
| XChainOwnedClaimIDBuilder & | setAccount (std::decay_t< typename SF_ACCOUNT::type::value_type > const &value) |
| Ledger entry-specific field setters. | |
| XChainOwnedClaimIDBuilder & | setXChainBridge (std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const &value) |
| Set sfXChainBridge (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setXChainClaimID (std::decay_t< typename SF_UINT64::type::value_type > const &value) |
| Set sfXChainClaimID (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setOtherChainSource (std::decay_t< typename SF_ACCOUNT::type::value_type > const &value) |
| Set sfOtherChainSource (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setXChainClaimAttestations (STArray const &value) |
| Set sfXChainClaimAttestations (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setSignatureReward (std::decay_t< typename SF_AMOUNT::type::value_type > const &value) |
| Set sfSignatureReward (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setOwnerNode (std::decay_t< typename SF_UINT64::type::value_type > const &value) |
| Set sfOwnerNode (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setPreviousTxnID (std::decay_t< typename SF_UINT256::type::value_type > const &value) |
| Set sfPreviousTxnID (soeREQUIRED) | |
| XChainOwnedClaimIDBuilder & | setPreviousTxnLgrSeq (std::decay_t< typename SF_UINT32::type::value_type > const &value) |
| Set sfPreviousTxnLgrSeq (soeREQUIRED) | |
| XChainOwnedClaimID | build (uint256 const &index) |
| Build and return the completed XChainOwnedClaimID wrapper. | |
| bool | validate () const |
| Validate the ledger entry. | |
| XChainOwnedClaimIDBuilder & | setLedgerIndex (uint256 const &value) |
| Set the ledger index. | |
| XChainOwnedClaimIDBuilder & | setFlags (uint32_t value) |
| Set the flags. | |
Protected Attributes | |
| STObject | object_ |
Builder for XChainOwnedClaimID ledger entries.
Provides a fluent interface for constructing ledger entries with method chaining. Uses Json::Value internally for flexible ledger entry construction. Inherits common field setters from LedgerEntryBuilderBase.
Definition at line 156 of file XChainOwnedClaimID.h.
| xrpl::ledger_entries::XChainOwnedClaimIDBuilder::XChainOwnedClaimIDBuilder | ( | std::decay_t< typename SF_ACCOUNT::type::value_type > const & | account, |
| std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const & | xChainBridge, | ||
| std::decay_t< typename SF_UINT64::type::value_type > const & | xChainClaimID, | ||
| std::decay_t< typename SF_ACCOUNT::type::value_type > const & | otherChainSource, | ||
| STArray const & | xChainClaimAttestations, | ||
| std::decay_t< typename SF_AMOUNT::type::value_type > const & | signatureReward, | ||
| std::decay_t< typename SF_UINT64::type::value_type > const & | ownerNode, | ||
| std::decay_t< typename SF_UINT256::type::value_type > const & | previousTxnID, | ||
| std::decay_t< typename SF_UINT32::type::value_type > const & | previousTxnLgrSeq | ||
| ) |
Construct a new XChainOwnedClaimIDBuilder with required fields.
| account | The sfAccount field value. |
| xChainBridge | The sfXChainBridge field value. |
| xChainClaimID | The sfXChainClaimID field value. |
| otherChainSource | The sfOtherChainSource field value. |
| xChainClaimAttestations | The sfXChainClaimAttestations field value. |
| signatureReward | The sfSignatureReward field value. |
| ownerNode | The sfOwnerNode field value. |
| previousTxnID | The sfPreviousTxnID field value. |
| previousTxnLgrSeq | The sfPreviousTxnLgrSeq field value. |
Definition at line 171 of file XChainOwnedClaimID.h.
| xrpl::ledger_entries::XChainOwnedClaimIDBuilder::XChainOwnedClaimIDBuilder | ( | std::shared_ptr< SLE const > | sle | ) |
Construct a XChainOwnedClaimIDBuilder from an existing SLE object.
| sle | The existing ledger entry to copy from. |
| std::runtime_error | if the ledger entry type doesn't match. |
Definition at line 190 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setAccount | ( | std::decay_t< typename SF_ACCOUNT::type::value_type > const & | value | ) |
Ledger entry-specific field setters.
Set sfAccount (soeREQUIRED)
Definition at line 206 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setXChainBridge | ( | std::decay_t< typename SF_XCHAIN_BRIDGE::type::value_type > const & | value | ) |
Set sfXChainBridge (soeREQUIRED)
Definition at line 217 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setXChainClaimID | ( | std::decay_t< typename SF_UINT64::type::value_type > const & | value | ) |
Set sfXChainClaimID (soeREQUIRED)
Definition at line 228 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setOtherChainSource | ( | std::decay_t< typename SF_ACCOUNT::type::value_type > const & | value | ) |
Set sfOtherChainSource (soeREQUIRED)
Definition at line 239 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setXChainClaimAttestations | ( | STArray const & | value | ) |
Set sfXChainClaimAttestations (soeREQUIRED)
Definition at line 250 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setSignatureReward | ( | std::decay_t< typename SF_AMOUNT::type::value_type > const & | value | ) |
Set sfSignatureReward (soeREQUIRED)
Definition at line 261 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setOwnerNode | ( | std::decay_t< typename SF_UINT64::type::value_type > const & | value | ) |
Set sfOwnerNode (soeREQUIRED)
Definition at line 272 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setPreviousTxnID | ( | std::decay_t< typename SF_UINT256::type::value_type > const & | value | ) |
Set sfPreviousTxnID (soeREQUIRED)
Definition at line 283 of file XChainOwnedClaimID.h.
| XChainOwnedClaimIDBuilder & xrpl::ledger_entries::XChainOwnedClaimIDBuilder::setPreviousTxnLgrSeq | ( | std::decay_t< typename SF_UINT32::type::value_type > const & | value | ) |
Set sfPreviousTxnLgrSeq (soeREQUIRED)
Definition at line 294 of file XChainOwnedClaimID.h.
| XChainOwnedClaimID xrpl::ledger_entries::XChainOwnedClaimIDBuilder::build | ( | uint256 const & | index | ) |
Build and return the completed XChainOwnedClaimID wrapper.
| index | The ledger entry index. |
Definition at line 306 of file XChainOwnedClaimID.h.
|
inherited |
Validate the ledger entry.
Definition at line 45 of file LedgerEntryBuilderBase.h.
|
inherited |
Set the ledger index.
| value | Ledger index |
Definition at line 62 of file LedgerEntryBuilderBase.h.
|
inherited |
Set the flags.
| value | Flags value |
Definition at line 74 of file LedgerEntryBuilderBase.h.
|
protectedinherited |
Definition at line 81 of file LedgerEntryBuilderBase.h.