|
rippled
|
Ledger Entry: NFTokenPage. More...
#include <NFTokenPage.h>


Public Member Functions | |
| NFTokenPage (std::shared_ptr< SLE const > sle) | |
| Construct a NFTokenPage ledger entry wrapper from an existing SLE object. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getPreviousPageMin () const |
| Get sfPreviousPageMin (soeOPTIONAL) | |
| bool | hasPreviousPageMin () const |
| Check if sfPreviousPageMin is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getNextPageMin () const |
| Get sfNextPageMin (soeOPTIONAL) | |
| bool | hasNextPageMin () const |
| Check if sfNextPageMin is present. | |
| STArray const & | getNFTokens () const |
| Get sfNFTokens (soeREQUIRED) | |
| SF_UINT256::type::value_type | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeREQUIRED) | |
| SF_UINT32::type::value_type | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeREQUIRED) | |
| bool | validate () const |
| Validate the ledger entry. | |
| LedgerEntryType | getType () const |
| Get the ledger entry type. | |
| uint256 const & | getKey () const |
| Get the key (index) of this ledger entry. | |
| std::optional< uint256 > | getLedgerIndex () const |
| Get the ledger index (sfLedgerIndex). | |
| bool | hasLedgerIndex () const |
| Check if the ledger entry has a ledger index. | |
| uint16_t | getLedgerEntryType () const |
| Get the ledger entry type field (sfLedgerEntryType). | |
| std::uint32_t | getFlags () const |
| Get the flags field (sfFlags). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltNFTOKEN_PAGE |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: NFTokenPage.
Type: ltNFTOKEN_PAGE (0x0050) RPC Name: nft_page
Immutable wrapper around SLE providing type-safe field access. Use NFTokenPageBuilder to construct new ledger entries.
Definition at line 27 of file NFTokenPage.h.
|
explicit |
Construct a NFTokenPage ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
Definition at line 36 of file NFTokenPage.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::NFTokenPage::getPreviousPageMin | ( | ) | const |
Get sfPreviousPageMin (soeOPTIONAL)
Definition at line 54 of file NFTokenPage.h.
| bool xrpl::ledger_entries::NFTokenPage::hasPreviousPageMin | ( | ) | const |
Check if sfPreviousPageMin is present.
Definition at line 67 of file NFTokenPage.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::NFTokenPage::getNextPageMin | ( | ) | const |
Get sfNextPageMin (soeOPTIONAL)
Definition at line 78 of file NFTokenPage.h.
| bool xrpl::ledger_entries::NFTokenPage::hasNextPageMin | ( | ) | const |
Check if sfNextPageMin is present.
Definition at line 91 of file NFTokenPage.h.
| STArray const & xrpl::ledger_entries::NFTokenPage::getNFTokens | ( | ) | const |
Get sfNFTokens (soeREQUIRED)
Definition at line 103 of file NFTokenPage.h.
| SF_UINT256::type::value_type xrpl::ledger_entries::NFTokenPage::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeREQUIRED)
Definition at line 114 of file NFTokenPage.h.
| SF_UINT32::type::value_type xrpl::ledger_entries::NFTokenPage::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeREQUIRED)
Definition at line 125 of file NFTokenPage.h.
|
inherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
inherited |
Get the key (index) of this ledger entry.
The key uniquely identifies this ledger entry in the ledger state.
Definition at line 70 of file LedgerEntryBase.h.
|
inherited |
Get the ledger index (sfLedgerIndex).
This field is OPTIONAL and represents the index of the ledger entry.
Definition at line 85 of file LedgerEntryBase.h.
|
inherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type field (sfLedgerEntryType).
This field is REQUIRED for all ledger entries and indicates the type of the ledger entry (e.g., AccountRoot, RippleState, Offer, etc.).
Definition at line 114 of file LedgerEntryBase.h.
|
inherited |
Get the flags field (sfFlags).
This field is REQUIRED for all ledger entries and contains type-specific flags that modify the behavior of the ledger entry.
Definition at line 128 of file LedgerEntryBase.h.
|
inherited |
Get the underlying SLE object.
Provides direct access to the wrapped serialized ledger entry object for cases where the type-safe accessors are insufficient.
Definition at line 142 of file LedgerEntryBase.h.
|
staticconstexpr |
Definition at line 30 of file NFTokenPage.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.