Bitcoin Core 28.99.0
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

 SERIALIZE_METHODS (FlatFilePos, obj)
 
 FlatFilePos ()=default
 
 FlatFilePos (int nFileIn, unsigned int nPosIn)
 
bool IsNull () const
 
std::string ToString () const
 

Public Attributes

int nFile {-1}
 
unsigned int nPos {0}
 

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 ( )
default

◆ FlatFilePos() [2/2]

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

Definition at line 23 of file flatfile.h.

Member Function Documentation

◆ IsNull()

bool FlatFilePos::IsNull ( ) const
inline

Definition at line 36 of file flatfile.h.

Here is the caller graph for this function:

◆ SERIALIZE_METHODS()

FlatFilePos::SERIALIZE_METHODS ( FlatFilePos  ,
obj   
)
inline

Definition at line 19 of file flatfile.h.

◆ 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 32 of file flatfile.h.

◆ operator==

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

Definition at line 28 of file flatfile.h.

Member Data Documentation

◆ nFile

int FlatFilePos::nFile {-1}

Definition at line 16 of file flatfile.h.

◆ nPos

unsigned int FlatFilePos::nPos {0}

Definition at line 17 of file flatfile.h.


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