Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
COutPoint Class Reference

An outpoint - a combination of a transaction hash and an index n into its vout. More...

#include <transaction.h>

Collaboration diagram for COutPoint:
[legend]

Public Member Functions

 COutPoint ()
 
 COutPoint (const uint256 &hashIn, uint32_t nIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
void SetNull ()
 
bool IsNull () const
 
std::string ToString () const
 

Public Attributes

uint256 hash
 
uint32_t n
 
 ADD_SERIALIZE_METHODS
 

Friends

bool operator< (const COutPoint &a, const COutPoint &b)
 
bool operator== (const COutPoint &a, const COutPoint &b)
 
bool operator!= (const COutPoint &a, const COutPoint &b)
 

Detailed Description

An outpoint - a combination of a transaction hash and an index n into its vout.

Definition at line 18 of file transaction.h.

Constructor & Destructor Documentation

COutPoint::COutPoint ( )
inline

Definition at line 24 of file transaction.h.

Here is the caller graph for this function:

COutPoint::COutPoint ( const uint256 hashIn,
uint32_t  nIn 
)
inline

Definition at line 25 of file transaction.h.

Member Function Documentation

bool COutPoint::IsNull ( ) const
inline

Definition at line 36 of file transaction.h.

Here is the call graph for this function:

template<typename Stream , typename Operation >
void COutPoint::SerializationOp ( Stream &  s,
Operation  ser_action 
)
inline

Definition at line 30 of file transaction.h.

void COutPoint::SetNull ( )
inline

Definition at line 35 of file transaction.h.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string COutPoint::ToString ( ) const

Definition at line 13 of file transaction.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

bool operator!= ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 49 of file transaction.h.

bool operator< ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 38 of file transaction.h.

bool operator== ( const COutPoint a,
const COutPoint b 
)
friend

Definition at line 44 of file transaction.h.

Member Data Documentation

COutPoint::ADD_SERIALIZE_METHODS

Definition at line 27 of file transaction.h.

uint256 COutPoint::hash

Definition at line 21 of file transaction.h.

uint32_t COutPoint::n

Definition at line 22 of file transaction.h.


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