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

#include <flatfile.h>

Inheritance diagram for FlatFilePos:
[legend]

Public Member Functions

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
 FlatFilePos ()
 
 FlatFilePos (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 FlatFilePos &a, const FlatFilePos &b)
 
bool operator!= (const FlatFilePos &a, const FlatFilePos &b)
 

Detailed Description

Definition at line 14 of file flatfile.h.

Constructor & Destructor Documentation

◆ FlatFilePos() [1/2]

FlatFilePos::FlatFilePos ( )
inline

Definition at line 27 of file flatfile.h.

◆ FlatFilePos() [2/2]

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

Definition at line 29 of file flatfile.h.

Member Function Documentation

◆ IsNull()

bool FlatFilePos::IsNull ( ) const
inline

Definition at line 43 of file flatfile.h.

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

◆ SerializationOp()

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

Definition at line 22 of file flatfile.h.

◆ SetNull()

void FlatFilePos::SetNull ( )
inline

Definition at line 42 of file flatfile.h.

Here is the caller graph for this function:

◆ ToString()

std::string FlatFilePos::ToString ( ) const

Definition at line 23 of file flatfile.cpp.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 38 of file flatfile.h.

◆ operator==

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

Definition at line 34 of file flatfile.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

FlatFilePos::ADD_SERIALIZE_METHODS

Definition at line 19 of file flatfile.h.

◆ nFile

int FlatFilePos::nFile

Definition at line 16 of file flatfile.h.

◆ nPos

unsigned int FlatFilePos::nPos

Definition at line 17 of file flatfile.h.


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