xrpld
Loading...
Searching...
No Matches
xrpl::OwnerCounts Struct Reference

#include <OwnerCounts.h>

Collaboration diagram for xrpl::OwnerCounts:

Public Member Functions

 OwnerCounts ()=default
 OwnerCounts (SLE::const_ref sle)
std::uint32_t count () const
auto operator<=> (OwnerCounts const &o) const
bool operator== (OwnerCounts const &o) const

Public Attributes

std::uint32_t owner = 0
std::uint32_t sponsored = 0
std::uint32_t sponsoring = 0

Detailed Description

Definition at line 14 of file OwnerCounts.h.

Constructor & Destructor Documentation

◆ OwnerCounts() [1/2]

xrpl::OwnerCounts::OwnerCounts ( )
default

◆ OwnerCounts() [2/2]

xrpl::OwnerCounts::OwnerCounts ( SLE::const_ref sle)

Definition at line 21 of file OwnerCounts.h.

Member Function Documentation

◆ count()

std::uint32_t xrpl::OwnerCounts::count ( ) const
nodiscard

Definition at line 34 of file OwnerCounts.h.

◆ operator<=>()

auto xrpl::OwnerCounts::operator<=> ( OwnerCounts const & o) const

Definition at line 50 of file OwnerCounts.h.

◆ operator==()

bool xrpl::OwnerCounts::operator== ( OwnerCounts const & o) const

Definition at line 63 of file OwnerCounts.h.

Member Data Documentation

◆ owner

std::uint32_t xrpl::OwnerCounts::owner = 0

Definition at line 16 of file OwnerCounts.h.

◆ sponsored

std::uint32_t xrpl::OwnerCounts::sponsored = 0

Definition at line 17 of file OwnerCounts.h.

◆ sponsoring

std::uint32_t xrpl::OwnerCounts::sponsoring = 0

Definition at line 18 of file OwnerCounts.h.