Raven Core  3.0.0
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
 
std::string ToSerializedString () 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 22 of file transaction.h.

Constructor & Destructor Documentation

◆ COutPoint() [1/2]

COutPoint::COutPoint ( )
inline

Definition at line 28 of file transaction.h.

Here is the caller graph for this function:

◆ COutPoint() [2/2]

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

Definition at line 29 of file transaction.h.

Member Function Documentation

◆ IsNull()

bool COutPoint::IsNull ( ) const
inline

Definition at line 40 of file transaction.h.

Here is the call graph for this function:

◆ SerializationOp()

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

Definition at line 34 of file transaction.h.

◆ SetNull()

void COutPoint::SetNull ( )
inline

Definition at line 39 of file transaction.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToSerializedString()

std::string COutPoint::ToSerializedString ( ) const

Definition at line 19 of file transaction.cpp.

Here is the caller graph for this function:

◆ ToString()

std::string COutPoint::ToString ( ) const

Definition at line 14 of file transaction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 53 of file transaction.h.

◆ operator<

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

Definition at line 42 of file transaction.h.

◆ operator==

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

Definition at line 48 of file transaction.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

COutPoint::ADD_SERIALIZE_METHODS

Definition at line 31 of file transaction.h.

◆ hash

uint256 COutPoint::hash

Definition at line 25 of file transaction.h.

◆ n

uint32_t COutPoint::n

Definition at line 26 of file transaction.h.


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