xrpld
Loading...
Searching...
No Matches
xrpl::CanonicalTXSet::Key Class Reference
Collaboration diagram for xrpl::CanonicalTXSet::Key:

Public Member Functions

 Key (uint256 const &account, SeqProxy seqProx, uint256 const &id)
uint256 const & getAccount () const
uint256 const & getTXID () const

Private Attributes

uint256 account_
uint256 txId_
SeqProxy seqProxy_

Friends

bool operator< (CanonicalTXSet::Key const &lhs, CanonicalTXSet::Key const &rhs)
bool operator> (Key const &lhs, Key const &rhs)
bool operator<= (Key const &lhs, Key const &rhs)
bool operator>= (Key const &lhs, Key const &rhs)
bool operator== (Key const &lhs, Key const &rhs)
bool operator!= (Key const &lhs, Key const &rhs)

Detailed Description

Definition at line 21 of file CanonicalTXSet.h.

Constructor & Destructor Documentation

◆ Key()

xrpl::CanonicalTXSet::Key::Key ( uint256 const & account,
SeqProxy seqProx,
uint256 const & id )

Definition at line 24 of file CanonicalTXSet.h.

Member Function Documentation

◆ getAccount()

uint256 const & xrpl::CanonicalTXSet::Key::getAccount ( ) const
nodiscard

Definition at line 63 of file CanonicalTXSet.h.

◆ getTXID()

uint256 const & xrpl::CanonicalTXSet::Key::getTXID ( ) const
nodiscard

Definition at line 69 of file CanonicalTXSet.h.

◆ operator<

bool operator< ( CanonicalTXSet::Key const & lhs,
CanonicalTXSet::Key const & rhs )
friend

Definition at line 15 of file CanonicalTXSet.cpp.

◆ operator>

bool operator> ( Key const & lhs,
Key const & rhs )
friend

Definition at line 33 of file CanonicalTXSet.h.

◆ operator<=

bool operator<= ( Key const & lhs,
Key const & rhs )
friend

Definition at line 38 of file CanonicalTXSet.h.

◆ operator>=

bool operator>= ( Key const & lhs,
Key const & rhs )
friend

Definition at line 45 of file CanonicalTXSet.h.

◆ operator==

bool operator== ( Key const & lhs,
Key const & rhs )
friend

Definition at line 51 of file CanonicalTXSet.h.

◆ operator!=

bool operator!= ( Key const & lhs,
Key const & rhs )
friend

Definition at line 57 of file CanonicalTXSet.h.

Member Data Documentation

◆ account_

uint256 xrpl::CanonicalTXSet::Key::account_
private

Definition at line 75 of file CanonicalTXSet.h.

◆ txId_

uint256 xrpl::CanonicalTXSet::Key::txId_
private

Definition at line 76 of file CanonicalTXSet.h.

◆ seqProxy_

SeqProxy xrpl::CanonicalTXSet::Key::seqProxy_
private

Definition at line 77 of file CanonicalTXSet.h.