PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
BaseOutPoint Class Reference

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

#include <transaction.h>

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

Public Member Functions

 BaseOutPoint ()
 
 BaseOutPoint (const uint256 &hashIn, const uint32_t nIn, bool isTransparentIn=true)
 
 SERIALIZE_METHODS (BaseOutPoint, obj)
 
void SetNull ()
 
bool IsNull () const
 
std::string ToString () const
 
std::string ToStringShort () const
 
size_t DynamicMemoryUsage () const
 

Public Attributes

uint256 hash
 
uint32_t n
 
bool isTransparent {true}
 

Friends

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

Detailed Description

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

Definition at line 32 of file transaction.h.

Constructor & Destructor Documentation

◆ BaseOutPoint() [1/2]

BaseOutPoint::BaseOutPoint ( )
inline

Definition at line 39 of file transaction.h.

Here is the call graph for this function:

◆ BaseOutPoint() [2/2]

BaseOutPoint::BaseOutPoint ( const uint256 hashIn,
const uint32_t  nIn,
bool  isTransparentIn = true 
)
inline

Definition at line 40 of file transaction.h.

Member Function Documentation

◆ DynamicMemoryUsage()

size_t BaseOutPoint::DynamicMemoryUsage ( ) const
inline

Definition at line 66 of file transaction.h.

◆ IsNull()

bool BaseOutPoint::IsNull ( ) const
inline

Definition at line 46 of file transaction.h.

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

◆ SERIALIZE_METHODS()

BaseOutPoint::SERIALIZE_METHODS ( BaseOutPoint  ,
obj   
)
inline

Definition at line 43 of file transaction.h.

◆ SetNull()

void BaseOutPoint::SetNull ( )
inline

Definition at line 45 of file transaction.h.

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

◆ ToString()

std::string BaseOutPoint::ToString ( ) const

◆ ToStringShort()

std::string BaseOutPoint::ToStringShort ( ) const

Definition at line 13 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 BaseOutPoint a,
const BaseOutPoint b 
)
friend

Definition at line 58 of file transaction.h.

◆ operator<

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

Definition at line 48 of file transaction.h.

◆ operator==

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

Definition at line 53 of file transaction.h.

Member Data Documentation

◆ hash

uint256 BaseOutPoint::hash

Definition at line 35 of file transaction.h.

◆ isTransparent

bool BaseOutPoint::isTransparent {true}

Definition at line 37 of file transaction.h.

◆ n

uint32_t BaseOutPoint::n

Definition at line 36 of file transaction.h.


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