rippled
Classes | Public Member Functions | Private Attributes | List of all members
ripple::CashDiff Class Reference
Collaboration diagram for ripple::CashDiff:
Collaboration graph
[legend]

Classes

class  Impl
 
struct  OfferAmounts
 

Public Member Functions

 CashDiff ()=delete
 
 CashDiff (CashDiff const &)=delete
 
 CashDiff (CashDiff &&other) noexcept
 
CashDiffoperator= (CashDiff const &)=delete
 
 ~CashDiff ()
 
 CashDiff (ReadView const &view, CashFilter lhsFilter, detail::ApplyStateTable const &lhs, CashFilter rhsFilter, detail::ApplyStateTable const &rhs)
 
std::size_t commonCount () const
 
std::size_t rhsOnlyCount () const
 
std::size_t lhsOnlyCount () const
 
bool hasDiff () const
 
int xrpRoundToZero () const
 
bool rmDust ()
 
bool rmLhsDeletedOffers ()
 
bool rmRhsDeletedOffers ()
 

Private Attributes

std::unique_ptr< Implimpl_
 

Detailed Description

Definition at line 60 of file CashDiff.h.

Constructor & Destructor Documentation

◆ CashDiff() [1/4]

ripple::CashDiff::CashDiff ( )
delete

◆ CashDiff() [2/4]

ripple::CashDiff::CashDiff ( CashDiff const &  )
delete

◆ CashDiff() [3/4]

ripple::CashDiff::CashDiff ( CashDiff &&  other)
noexcept

Definition at line 689 of file CashDiff.cpp.

◆ ~CashDiff()

ripple::CashDiff::~CashDiff ( )
default

◆ CashDiff() [4/4]

ripple::CashDiff::CashDiff ( ReadView const &  view,
CashFilter  lhsFilter,
detail::ApplyStateTable const &  lhs,
CashFilter  rhsFilter,
detail::ApplyStateTable const &  rhs 
)

Definition at line 695 of file CashDiff.cpp.

Member Function Documentation

◆ operator=()

CashDiff& ripple::CashDiff::operator= ( CashDiff const &  )
delete

◆ commonCount()

std::size_t ripple::CashDiff::commonCount ( ) const

Definition at line 706 of file CashDiff.cpp.

◆ rhsOnlyCount()

std::size_t ripple::CashDiff::rhsOnlyCount ( ) const

Definition at line 712 of file CashDiff.cpp.

◆ lhsOnlyCount()

std::size_t ripple::CashDiff::lhsOnlyCount ( ) const

Definition at line 718 of file CashDiff.cpp.

◆ hasDiff()

bool ripple::CashDiff::hasDiff ( ) const

Definition at line 724 of file CashDiff.cpp.

◆ xrpRoundToZero()

int ripple::CashDiff::xrpRoundToZero ( ) const

Definition at line 730 of file CashDiff.cpp.

◆ rmDust()

bool ripple::CashDiff::rmDust ( )

Definition at line 736 of file CashDiff.cpp.

◆ rmLhsDeletedOffers()

bool ripple::CashDiff::rmLhsDeletedOffers ( )

Definition at line 742 of file CashDiff.cpp.

◆ rmRhsDeletedOffers()

bool ripple::CashDiff::rmRhsDeletedOffers ( )

Definition at line 748 of file CashDiff.cpp.

Member Data Documentation

◆ impl_

std::unique_ptr<Impl> ripple::CashDiff::impl_
private

Definition at line 157 of file CashDiff.h.