Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
CCoinControl Class Reference

Coin Control Features. More...

#include <coincontrol.h>

+ Collaboration diagram for CCoinControl:

Public Member Functions

 CCoinControl ()
 
void SetNull ()
 
bool HasSelected () const
 
bool IsSelected (const uint256 &hash, unsigned int n) const
 
void Select (COutPoint &output)
 
void UnSelect (COutPoint &output)
 
void UnSelectAll ()
 
void ListSelected (std::vector< COutPoint > &vOutpoints)
 

Public Attributes

CTxDestination destChange
 

Private Attributes

std::set< COutPointsetSelected
 

Detailed Description

Coin Control Features.

Definition at line 11 of file coincontrol.h.

Constructor & Destructor Documentation

CCoinControl::CCoinControl ( )
inline

Definition at line 16 of file coincontrol.h.

References SetNull().

+ Here is the call graph for this function:

Member Function Documentation

bool CCoinControl::HasSelected ( ) const
inline

Definition at line 27 of file coincontrol.h.

References setSelected.

Referenced by CWallet::AvailableCoins(), mastercore::ClassB_send(), and CWallet::SelectCoins().

+ Here is the caller graph for this function:

bool CCoinControl::IsSelected ( const uint256 hash,
unsigned int  n 
) const
inline

Definition at line 32 of file coincontrol.h.

References setSelected.

Referenced by CWallet::AvailableCoins(), and CoinControlDialog::updateView().

+ Here is the caller graph for this function:

void CCoinControl::ListSelected ( std::vector< COutPoint > &  vOutpoints)
inline

Definition at line 53 of file coincontrol.h.

References setSelected.

Referenced by CoinControlDialog::updateLabels().

+ Here is the caller graph for this function:

void CCoinControl::Select ( COutPoint output)
inline

Definition at line 38 of file coincontrol.h.

References setSelected.

Referenced by selectCoins(), and CoinControlDialog::viewItemChanged().

+ Here is the caller graph for this function:

void CCoinControl::SetNull ( )
inline

Definition at line 21 of file coincontrol.h.

References setSelected.

Referenced by CCoinControl(), and SendCoinsDialog::coinControlFeatureChanged().

+ Here is the caller graph for this function:

void CCoinControl::UnSelect ( COutPoint output)
inline

Definition at line 43 of file coincontrol.h.

References setSelected.

Referenced by CoinControlDialog::updateLabels(), CoinControlDialog::updateView(), and CoinControlDialog::viewItemChanged().

+ Here is the caller graph for this function:

void CCoinControl::UnSelectAll ( )
inline

Definition at line 48 of file coincontrol.h.

References setSelected.

Referenced by CoinControlDialog::buttonSelectAllClicked(), and SendCoinsDialog::on_sendButton_clicked().

+ Here is the caller graph for this function:

Member Data Documentation

CTxDestination CCoinControl::destChange
std::set<COutPoint> CCoinControl::setSelected
private

Definition at line 59 of file coincontrol.h.

Referenced by HasSelected(), IsSelected(), ListSelected(), Select(), SetNull(), UnSelect(), and UnSelectAll().


The documentation for this class was generated from the following file: