xrpld
Loading...
Searching...
No Matches
xrpl::test::csf::Tx Class Reference

A single transaction. More...

#include <Tx.h>

Collaboration diagram for xrpl::test::csf::Tx:

Public Types

using ID = std::uint32_t

Public Member Functions

 Tx (ID i)
template<typename T>
requires (std::is_same_v<T, Tx>)
 Tx (T const *t)
ID const & id () const
bool operator< (Tx const &o) const
bool operator== (Tx const &o) const

Private Attributes

ID id_

Detailed Description

A single transaction.

Definition at line 23 of file Tx.h.

Member Typedef Documentation

◆ ID

Definition at line 26 of file Tx.h.

Constructor & Destructor Documentation

◆ Tx() [1/2]

xrpl::test::csf::Tx::Tx ( ID i)

Definition at line 28 of file Tx.h.

◆ Tx() [2/2]

template<typename T>
requires (std::is_same_v<T, Tx>)
xrpl::test::csf::Tx::Tx ( T const * t)

Definition at line 33 of file Tx.h.

Member Function Documentation

◆ id()

ID const & xrpl::test::csf::Tx::id ( ) const
nodiscard

Definition at line 40 of file Tx.h.

◆ operator<()

bool xrpl::test::csf::Tx::operator< ( Tx const & o) const

Definition at line 45 of file Tx.h.

◆ operator==()

bool xrpl::test::csf::Tx::operator== ( Tx const & o) const

Definition at line 52 of file Tx.h.

Member Data Documentation

◆ id_

ID xrpl::test::csf::Tx::id_
private

Definition at line 58 of file Tx.h.