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

#include <hash_type.h>

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 9 of file hash_type.h.

Constructor & Destructor Documentation

◆ BaseHash() [1/2]

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

Definition at line 15 of file hash_type.h.

◆ BaseHash() [2/2]

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

Definition at line 16 of file hash_type.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 18 of file hash_type.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 23 of file hash_type.h.

◆ data() [1/2]

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

Definition at line 68 of file hash_type.h.

◆ data() [2/2]

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

Definition at line 69 of file hash_type.h.

◆ end() [1/2]

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

Definition at line 28 of file hash_type.h.

◆ end() [2/2]

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

Definition at line 33 of file hash_type.h.

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

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

Definition at line 38 of file hash_type.h.

◆ operator!=()

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

Definition at line 53 of file hash_type.h.

◆ operator<()

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

Definition at line 58 of file hash_type.h.

◆ operator==()

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

Definition at line 48 of file hash_type.h.

◆ size()

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

Definition at line 63 of file hash_type.h.

◆ ToString()

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

Definition at line 43 of file hash_type.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_hash

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

Definition at line 12 of file hash_type.h.


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