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

#include <standard.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 24 of file standard.h.

Constructor & Destructor Documentation

◆ BaseHash() [1/2]

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

Definition at line 29 of file standard.h.

◆ BaseHash() [2/2]

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

Definition at line 30 of file standard.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 32 of file standard.h.

◆ begin() [2/2]

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

Definition at line 34 of file standard.h.

◆ data() [1/2]

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

Definition at line 60 of file standard.h.

◆ data() [2/2]

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

Definition at line 61 of file standard.h.

◆ end() [1/2]

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

Definition at line 36 of file standard.h.

◆ end() [2/2]

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

Definition at line 38 of file standard.h.

◆ operator std::vector< uint8_t >()

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

Definition at line 40 of file standard.h.

◆ operator!=()

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

Definition at line 50 of file standard.h.

◆ operator<()

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

Definition at line 54 of file standard.h.

◆ operator==()

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

Definition at line 46 of file standard.h.

◆ size()

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

Definition at line 58 of file standard.h.

◆ ToString()

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

Definition at line 44 of file standard.h.

Member Data Documentation

◆ m_hash

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

Definition at line 26 of file standard.h.


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