Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CCoinsViewCursor Class Referenceabstract

Cursor for iterating over CoinsView state. More...

#include <coins.h>

Inheritance diagram for CCoinsViewCursor:
[legend]
Collaboration diagram for CCoinsViewCursor:
[legend]

Public Member Functions

 CCoinsViewCursor (const uint256 &hashBlockIn)
 
virtual ~CCoinsViewCursor ()
 
virtual bool GetKey (COutPoint &key) const =0
 
virtual bool GetValue (Coin &coin) const =0
 
virtual unsigned int GetValueSize () const =0
 
virtual bool Valid () const =0
 
virtual void Next ()=0
 
const uint256GetBestBlock () const
 Get best block at the time this cursor was created. More...
 

Private Attributes

uint256 hashBlock
 

Detailed Description

Cursor for iterating over CoinsView state.

Definition at line 125 of file coins.h.

Constructor & Destructor Documentation

CCoinsViewCursor::CCoinsViewCursor ( const uint256 hashBlockIn)
inline

Definition at line 128 of file coins.h.

virtual CCoinsViewCursor::~CCoinsViewCursor ( )
inlinevirtual

Definition at line 129 of file coins.h.

Member Function Documentation

const uint256& CCoinsViewCursor::GetBestBlock ( ) const
inline

Get best block at the time this cursor was created.

Definition at line 139 of file coins.h.

virtual bool CCoinsViewCursor::GetKey ( COutPoint key) const
pure virtual

Implemented in CCoinsViewDBCursor.

virtual bool CCoinsViewCursor::GetValue ( Coin coin) const
pure virtual

Implemented in CCoinsViewDBCursor.

virtual unsigned int CCoinsViewCursor::GetValueSize ( ) const
pure virtual

Implemented in CCoinsViewDBCursor.

virtual void CCoinsViewCursor::Next ( )
pure virtual

Implemented in CCoinsViewDBCursor.

virtual bool CCoinsViewCursor::Valid ( ) const
pure virtual

Implemented in CCoinsViewDBCursor.

Member Data Documentation

uint256 CCoinsViewCursor::hashBlock
private

Definition at line 141 of file coins.h.


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