Bitcoin Core  25.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CHashVerifier< Source > Class Template Reference

#include <hash.h>

Inheritance diagram for CHashVerifier< Source >:
[legend]
Collaboration diagram for CHashVerifier< Source >:
[legend]

Public Member Functions

 CHashVerifier (Source *source_)
 
void read (Span< std::byte > dst)
 
void ignore (size_t nSize)
 
template<typename T >
CHashVerifier< Source > & operator>> (T &&obj)
 
- Public Member Functions inherited from CHashWriter
 CHashWriter (int nTypeIn, int nVersionIn)
 
int GetType () const
 
int GetVersion () const
 
template<typename T >
CHashWriteroperator<< (const T &obj)
 
- Public Member Functions inherited from HashWriter
void write (Span< const std::byte > src)
 
uint256 GetHash ()
 Compute the double-SHA256 hash of all data written to this object. More...
 
uint256 GetSHA256 ()
 Compute the SHA256 hash of all data written to this object. More...
 
uint64_t GetCheapHash ()
 Returns the first 64 bits from the resulting hash. More...
 
template<typename T >
HashWriteroperator<< (const T &obj)
 

Private Attributes

Source * source
 

Detailed Description

template<typename Source>
class CHashVerifier< Source >

Definition at line 203 of file hash.h.

Constructor & Destructor Documentation

◆ CHashVerifier()

template<typename Source >
CHashVerifier< Source >::CHashVerifier ( Source *  source_)
inlineexplicit

Definition at line 209 of file hash.h.

Member Function Documentation

◆ ignore()

template<typename Source >
void CHashVerifier< Source >::ignore ( size_t  nSize)
inline

Definition at line 217 of file hash.h.

Here is the call graph for this function:

◆ operator>>()

template<typename Source >
template<typename T >
CHashVerifier<Source>& CHashVerifier< Source >::operator>> ( T &&  obj)
inline

Definition at line 228 of file hash.h.

Here is the call graph for this function:

◆ read()

template<typename Source >
void CHashVerifier< Source >::read ( Span< std::byte >  dst)
inline

Definition at line 211 of file hash.h.

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

Member Data Documentation

◆ source

template<typename Source >
Source* CHashVerifier< Source >::source
private

Definition at line 206 of file hash.h.


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