Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
BaseHash< HashType > Class Template Reference

#include <standard.h>

Collaboration diagram for BaseHash< HashType >:
[legend]

Public Member Functions

 BaseHash ()
 
 BaseHash (const HashType &in)
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
 operator std::vector< unsigned char > () const
 
std::string ToString () const
 
bool operator== (const BaseHash< HashType > &other) const noexcept
 
bool operator!= (const BaseHash< HashType > &other) const noexcept
 
bool operator< (const BaseHash< HashType > &other) const noexcept
 
size_t size () const
 
unsigned char * data ()
 
const unsigned char * data () const
 

Protected Attributes

HashType m_hash
 

Detailed Description

template<typename HashType>
class BaseHash< HashType >

Definition at line 24 of file standard.h.

Constructor & Destructor Documentation

◆ BaseHash() [1/2]

template<typename HashType>
BaseHash< HashType >::BaseHash ( )
inline

Definition at line 30 of file standard.h.

◆ BaseHash() [2/2]

template<typename HashType>
BaseHash< HashType >::BaseHash ( const HashType &  in)
inline

Definition at line 31 of file standard.h.

Member Function Documentation

◆ begin() [1/2]

template<typename HashType>
unsigned char* BaseHash< HashType >::begin ( )
inline

Definition at line 33 of file standard.h.

Here is the caller graph for this function:

◆ begin() [2/2]

template<typename HashType>
const unsigned char* BaseHash< HashType >::begin ( ) const
inline

Definition at line 38 of file standard.h.

◆ data() [1/2]

template<typename HashType>
unsigned char* BaseHash< HashType >::data ( )
inline

Definition at line 83 of file standard.h.

◆ data() [2/2]

template<typename HashType>
const unsigned char* BaseHash< HashType >::data ( ) const
inline

Definition at line 84 of file standard.h.

◆ end() [1/2]

template<typename HashType>
unsigned char* BaseHash< HashType >::end ( )
inline

Definition at line 43 of file standard.h.

◆ end() [2/2]

template<typename HashType>
const unsigned char* BaseHash< HashType >::end ( ) const
inline

Definition at line 48 of file standard.h.

◆ operator std::vector< unsigned char >()

template<typename HashType>
BaseHash< HashType >::operator std::vector< unsigned char > ( ) const
inline

Definition at line 53 of file standard.h.

◆ operator!=()

template<typename HashType>
bool BaseHash< HashType >::operator!= ( const BaseHash< HashType > &  other) const
inlinenoexcept

Definition at line 68 of file standard.h.

◆ operator<()

template<typename HashType>
bool BaseHash< HashType >::operator< ( const BaseHash< HashType > &  other) const
inlinenoexcept

Definition at line 73 of file standard.h.

◆ operator==()

template<typename HashType>
bool BaseHash< HashType >::operator== ( const BaseHash< HashType > &  other) const
inlinenoexcept

Definition at line 63 of file standard.h.

◆ size()

template<typename HashType>
size_t BaseHash< HashType >::size ( ) const
inline

Definition at line 78 of file standard.h.

Here is the caller graph for this function:

◆ ToString()

template<typename HashType>
std::string BaseHash< HashType >::ToString ( ) const
inline

Definition at line 58 of file standard.h.

Member Data Documentation

◆ m_hash

template<typename HashType>
HashType BaseHash< HashType >::m_hash
protected

Definition at line 27 of file standard.h.


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