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


Public Member Functions | |
| NegativeUNLBuilder () | |
| Construct a new NegativeUNLBuilder with required fields. | |
| NegativeUNLBuilder (std::shared_ptr< SLE const > sle) | |
| Construct a NegativeUNLBuilder from an existing SLE object. | |
| NegativeUNLBuilder & | setDisabledValidators (STArray const &value) |
| Ledger entry-specific field setters. | |
| NegativeUNLBuilder & | setValidatorToDisable (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfValidatorToDisable (soeOPTIONAL) | |
| NegativeUNLBuilder & | setValidatorToReEnable (std::decay_t< typename SF_VL::type::value_type > const &value) |
| Set sfValidatorToReEnable (soeOPTIONAL) | |
| NegativeUNLBuilder & | setPreviousTxnID (std::decay_t< typename SF_UINT256::type::value_type > const &value) |
| Set sfPreviousTxnID (soeOPTIONAL) | |
| NegativeUNLBuilder & | setPreviousTxnLgrSeq (std::decay_t< typename SF_UINT32::type::value_type > const &value) |
| Set sfPreviousTxnLgrSeq (soeOPTIONAL) | |
| NegativeUNL | build (uint256 const &index) |
| Build and return the completed NegativeUNL wrapper. | |
| bool | validate () const |
| Validate the ledger entry. | |
| NegativeUNLBuilder & | setLedgerIndex (uint256 const &value) |
| Set the ledger index. | |
| NegativeUNLBuilder & | setFlags (uint32_t value) |
| Set the flags. | |
Protected Attributes | |
| STObject | object_ |
Builder for NegativeUNL 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 177 of file NegativeUNL.h.
| xrpl::ledger_entries::NegativeUNLBuilder::NegativeUNLBuilder | ( | ) |
Construct a new NegativeUNLBuilder with required fields.
Definition at line 183 of file NegativeUNL.h.
| xrpl::ledger_entries::NegativeUNLBuilder::NegativeUNLBuilder | ( | std::shared_ptr< SLE const > | sle | ) |
Construct a NegativeUNLBuilder 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 193 of file NegativeUNL.h.
| NegativeUNLBuilder & xrpl::ledger_entries::NegativeUNLBuilder::setDisabledValidators | ( | STArray const & | value | ) |
Ledger entry-specific field setters.
Set sfDisabledValidators (soeOPTIONAL)
Definition at line 209 of file NegativeUNL.h.
| NegativeUNLBuilder & xrpl::ledger_entries::NegativeUNLBuilder::setValidatorToDisable | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfValidatorToDisable (soeOPTIONAL)
Definition at line 220 of file NegativeUNL.h.
| NegativeUNLBuilder & xrpl::ledger_entries::NegativeUNLBuilder::setValidatorToReEnable | ( | std::decay_t< typename SF_VL::type::value_type > const & | value | ) |
Set sfValidatorToReEnable (soeOPTIONAL)
Definition at line 231 of file NegativeUNL.h.
| NegativeUNLBuilder & xrpl::ledger_entries::NegativeUNLBuilder::setPreviousTxnID | ( | std::decay_t< typename SF_UINT256::type::value_type > const & | value | ) |
Set sfPreviousTxnID (soeOPTIONAL)
Definition at line 242 of file NegativeUNL.h.
| NegativeUNLBuilder & xrpl::ledger_entries::NegativeUNLBuilder::setPreviousTxnLgrSeq | ( | std::decay_t< typename SF_UINT32::type::value_type > const & | value | ) |
Set sfPreviousTxnLgrSeq (soeOPTIONAL)
Definition at line 253 of file NegativeUNL.h.
| NegativeUNL xrpl::ledger_entries::NegativeUNLBuilder::build | ( | uint256 const & | index | ) |
Build and return the completed NegativeUNL wrapper.
| index | The ledger entry index. |
Definition at line 265 of file NegativeUNL.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.