rippled
Public Types | Public Member Functions | Private Attributes | List of all members
ripple::test::csf::Tx Class Reference

A single transaction. More...

Collaboration diagram for ripple::test::csf::Tx:
Collaboration graph
[legend]

Public Types

using ID = std::uint32_t
 

Public Member Functions

 Tx (ID i)
 
template<typename T , typename = std::enable_if_t<std::is_same_v<T, Tx>>>
 Tx (T const *t)
 
ID 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 35 of file Tx.h.

Member Typedef Documentation

◆ ID

Definition at line 38 of file Tx.h.

Constructor & Destructor Documentation

◆ Tx() [1/2]

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

Definition at line 40 of file Tx.h.

◆ Tx() [2/2]

template<typename T , typename = std::enable_if_t<std::is_same_v<T, Tx>>>
ripple::test::csf::Tx::Tx ( T const *  t)

Definition at line 45 of file Tx.h.

Member Function Documentation

◆ id()

ID ripple::test::csf::Tx::id ( ) const

Definition at line 50 of file Tx.h.

◆ operator<()

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

Definition at line 56 of file Tx.h.

◆ operator==()

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

Definition at line 62 of file Tx.h.

Member Data Documentation

◆ id_

ID ripple::test::csf::Tx::id_
private

Definition at line 68 of file Tx.h.