Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CVectorWriter Class Reference

#include <streams.h>

Public Member Functions

 CVectorWriter (int nTypeIn, int nVersionIn, std::vector< unsigned char > &vchDataIn, size_t nPosIn)
 
template<typename... Args>
 CVectorWriter (int nTypeIn, int nVersionIn, std::vector< unsigned char > &vchDataIn, size_t nPosIn, Args &&...args)
 
void write (const char *pch, size_t nSize)
 
template<typename T >
CVectorWriteroperator<< (const T &obj)
 
int GetVersion () const
 
int GetType () const
 
void seek (size_t nSize)
 

Private Attributes

const int nType
 
const int nVersion
 
std::vector< unsigned char > & vchData
 
size_t nPos
 

Detailed Description

Definition at line 76 of file streams.h.

Constructor & Destructor Documentation

CVectorWriter::CVectorWriter ( int  nTypeIn,
int  nVersionIn,
std::vector< unsigned char > &  vchDataIn,
size_t  nPosIn 
)
inline

Definition at line 87 of file streams.h.

template<typename... Args>
CVectorWriter::CVectorWriter ( int  nTypeIn,
int  nVersionIn,
std::vector< unsigned char > &  vchDataIn,
size_t  nPosIn,
Args &&...  args 
)
inline

Definition at line 97 of file streams.h.

Here is the call graph for this function:

Member Function Documentation

int CVectorWriter::GetType ( ) const
inline

Definition at line 124 of file streams.h.

int CVectorWriter::GetVersion ( ) const
inline

Definition at line 120 of file streams.h.

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

Definition at line 114 of file streams.h.

Here is the call graph for this function:

void CVectorWriter::seek ( size_t  nSize)
inline

Definition at line 128 of file streams.h.

void CVectorWriter::write ( const char *  pch,
size_t  nSize 
)
inline

Definition at line 101 of file streams.h.

Here is the call graph for this function:

Member Data Documentation

size_t CVectorWriter::nPos
private

Definition at line 138 of file streams.h.

const int CVectorWriter::nType
private

Definition at line 135 of file streams.h.

const int CVectorWriter::nVersion
private

Definition at line 136 of file streams.h.

std::vector<unsigned char>& CVectorWriter::vchData
private

Definition at line 137 of file streams.h.


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