Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
CDiskBlockPos Struct Reference

#include <chain.h>

Inheritance diagram for CDiskBlockPos:
[legend]

Public Member Functions

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
 CDiskBlockPos ()
 
 CDiskBlockPos (int nFileIn, unsigned int nPosIn)
 
void SetNull ()
 
bool IsNull () const
 
std::string ToString () const
 

Public Attributes

int nFile
 
unsigned int nPos
 
 ADD_SERIALIZE_METHODS
 

Friends

bool operator== (const CDiskBlockPos &a, const CDiskBlockPos &b)
 
bool operator!= (const CDiskBlockPos &a, const CDiskBlockPos &b)
 

Detailed Description

Definition at line 85 of file chain.h.

Constructor & Destructor Documentation

◆ CDiskBlockPos() [1/2]

CDiskBlockPos::CDiskBlockPos ( )
inline

Definition at line 98 of file chain.h.

Here is the call graph for this function:

◆ CDiskBlockPos() [2/2]

CDiskBlockPos::CDiskBlockPos ( int  nFileIn,
unsigned int  nPosIn 
)
inline

Definition at line 102 of file chain.h.

Member Function Documentation

◆ IsNull()

bool CDiskBlockPos::IsNull ( ) const
inline

Definition at line 116 of file chain.h.

◆ SerializationOp()

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

Definition at line 93 of file chain.h.

◆ SetNull()

void CDiskBlockPos::SetNull ( )
inline

Definition at line 115 of file chain.h.

Here is the caller graph for this function:

◆ ToString()

std::string CDiskBlockPos::ToString ( ) const
inline

Definition at line 118 of file chain.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 111 of file chain.h.

◆ operator==

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

Definition at line 107 of file chain.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CDiskBlockPos::ADD_SERIALIZE_METHODS

Definition at line 90 of file chain.h.

◆ nFile

int CDiskBlockPos::nFile

Definition at line 87 of file chain.h.

◆ nPos

unsigned int CDiskBlockPos::nPos

Definition at line 88 of file chain.h.


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