Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
CSizeComputer Class Reference

#include <serialize.h>

Public Member Functions

 CSizeComputer (int nTypeIn, int nVersionIn)
 
void write (const char *psz, size_t _nSize)
 
void seek (size_t _nSize)
 Pretend _nSize bytes are written, without specifying them. More...
 
template<typename T >
CSizeComputeroperator<< (const T &obj)
 
size_t size () const
 
int GetVersion () const
 
int GetType () const
 

Protected Attributes

size_t nSize
 
const int nType
 
const int nVersion
 

Detailed Description

Definition at line 859 of file serialize.h.

Constructor & Destructor Documentation

CSizeComputer::CSizeComputer ( int  nTypeIn,
int  nVersionIn 
)
inline

Definition at line 867 of file serialize.h.

Member Function Documentation

int CSizeComputer::GetType ( ) const
inline

Definition at line 892 of file serialize.h.

int CSizeComputer::GetVersion ( ) const
inline

Definition at line 891 of file serialize.h.

template<typename T >
CSizeComputer& CSizeComputer::operator<< ( const T &  obj)
inline

Definition at line 881 of file serialize.h.

Here is the call graph for this function:

void CSizeComputer::seek ( size_t  _nSize)
inline

Pretend _nSize bytes are written, without specifying them.

Definition at line 875 of file serialize.h.

Here is the caller graph for this function:

size_t CSizeComputer::size ( ) const
inline

Definition at line 887 of file serialize.h.

void CSizeComputer::write ( const char *  psz,
size_t  _nSize 
)
inline

Definition at line 869 of file serialize.h.

Member Data Documentation

size_t CSizeComputer::nSize
protected

Definition at line 862 of file serialize.h.

const int CSizeComputer::nType
protected

Definition at line 864 of file serialize.h.

const int CSizeComputer::nVersion
protected

Definition at line 865 of file serialize.h.


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