Bitcoin ABC 0.30.5
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)
 
uint8_t * begin ()
 
const uint8_t * begin () const
 
uint8_t * end ()
 
const uint8_t * end () const
 
 operator std::vector< uint8_t > () 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
 
uint8_t * data ()
 
const uint8_t * data () const
 

Protected Attributes

HashType m_hash
 

Detailed Description

template<typename HashType>
class BaseHash< HashType >

Definition at line 8 of file hash_type.h.

Constructor & Destructor Documentation

◆ BaseHash() [1/2]

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

Definition at line 13 of file hash_type.h.

◆ BaseHash() [2/2]

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

Definition at line 14 of file hash_type.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 16 of file hash_type.h.

◆ begin() [2/2]

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

Definition at line 18 of file hash_type.h.

◆ data() [1/2]

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

Definition at line 44 of file hash_type.h.

◆ data() [2/2]

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

Definition at line 45 of file hash_type.h.

◆ end() [1/2]

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

Definition at line 20 of file hash_type.h.

◆ end() [2/2]

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

Definition at line 22 of file hash_type.h.

◆ operator std::vector< uint8_t >()

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

Definition at line 24 of file hash_type.h.

◆ operator!=()

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

Definition at line 34 of file hash_type.h.

◆ operator<()

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

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

◆ size()

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

Definition at line 42 of file hash_type.h.

◆ ToString()

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

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


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