Anoncoin  0.9.4
P2P Digital Currency
Public Member Functions | Public Attributes | Private Attributes | List of all members
CHashWriter Class Reference

#include <hash.h>

Public Member Functions

void Init ()
 
 CHashWriter (int nTypeIn, int nVersionIn)
 
CHashWriterwrite (const char *pch, size_t size)
 
uint256 GetHash ()
 
template<typename T >
CHashWriteroperator<< (const T &obj)
 

Public Attributes

int nType
 
int nVersion
 

Private Attributes

SHA256_CTX ctx
 

Detailed Description

Definition at line 30 of file hash.h.

Constructor & Destructor Documentation

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

Definition at line 43 of file hash.h.

Here is the call graph for this function:

Member Function Documentation

uint256 CHashWriter::GetHash ( )
inline

Definition at line 53 of file hash.h.

Here is the caller graph for this function:

void CHashWriter::Init ( )
inline

Definition at line 39 of file hash.h.

Here is the caller graph for this function:

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

Definition at line 62 of file hash.h.

Here is the call graph for this function:

CHashWriter& CHashWriter::write ( const char *  pch,
size_t  size 
)
inline

Definition at line 47 of file hash.h.

Member Data Documentation

SHA256_CTX CHashWriter::ctx
private

Definition at line 33 of file hash.h.

int CHashWriter::nType

Definition at line 36 of file hash.h.

int CHashWriter::nVersion

Definition at line 37 of file hash.h.


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