Represents a cursor into the transactions table.
More...
#include <Types.hpp>
|
| TransactionsCursor (std::uint32_t ledgerSequence, std::uint32_t transactionIndex) |
| Construct a new Transactions Cursor object.
|
|
| TransactionsCursor (std::tuple< std::uint32_t, std::uint32_t > data) |
| Construct a new Transactions Cursor object.
|
|
bool | operator== (TransactionsCursor const &other) const =default |
|
std::tuple< std::uint32_t, std::uint32_t > | asTuple () const |
| Convert the cursor to a tuple of seq and index.
|
|
|
std::uint32_t | ledgerSequence = 0 |
|
std::uint32_t | transactionIndex = 0 |
|
Represents a cursor into the transactions table.
◆ TransactionsCursor() [1/2]
data::TransactionsCursor::TransactionsCursor |
( |
std::uint32_t | ledgerSequence, |
|
|
std::uint32_t | transactionIndex ) |
|
inline |
Construct a new Transactions Cursor object.
- Parameters
-
ledgerSequence | The ledger sequence |
transactionIndex | The transaction index |
◆ TransactionsCursor() [2/2]
data::TransactionsCursor::TransactionsCursor |
( |
std::tuple< std::uint32_t, std::uint32_t > | data | ) |
|
|
inline |
Construct a new Transactions Cursor object.
- Parameters
-
data | The data to construct from |
◆ asTuple()
std::tuple< std::uint32_t, std::uint32_t > data::TransactionsCursor::asTuple |
( |
| ) |
const |
|
inlinenodiscard |
Convert the cursor to a tuple of seq and index.
- Returns
- The cursor as a tuple
The documentation for this struct was generated from the following file: