CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shash::Digest< digest_size_, algorithm_ >::Hex Class Reference

#include <hash.h>

Public Member Functions

 Hex (const Digest< digest_size_, algorithm_ > *digest)
 
unsigned int length () const
 
char operator[] (const unsigned int position) const
 

Protected Member Functions

char GetHashChar (const unsigned int position) const
 
char GetAlgorithmIdentifierChar (const unsigned int position) const
 
char ToHex (const char c) const
 

Private Attributes

const Digest< digest_size_,
algorithm_ > & 
digest_
 
const unsigned int hash_length_
 
const unsigned int algo_id_length_
 

Detailed Description

template<unsigned digest_size_, Algorithms algorithm_>
class shash::Digest< digest_size_, algorithm_ >::Hex

Definition at line 128 of file hash.h.

Constructor & Destructor Documentation

template<unsigned digest_size_, Algorithms algorithm_>
shash::Digest< digest_size_, algorithm_ >::Hex::Hex ( const Digest< digest_size_, algorithm_ > *  digest)
inlineexplicit

Definition at line 130 of file hash.h.

Member Function Documentation

template<unsigned digest_size_, Algorithms algorithm_>
char shash::Digest< digest_size_, algorithm_ >::Hex::GetAlgorithmIdentifierChar ( const unsigned int  position) const
inlineprotected

Definition at line 153 of file hash.h.

Here is the call graph for this function:

template<unsigned digest_size_, Algorithms algorithm_>
char shash::Digest< digest_size_, algorithm_ >::Hex::GetHashChar ( const unsigned int  position) const
inlineprotected

Definition at line 145 of file hash.h.

Here is the call graph for this function:

template<unsigned digest_size_, Algorithms algorithm_>
unsigned int shash::Digest< digest_size_, algorithm_ >::Hex::length ( ) const
inline

Definition at line 135 of file hash.h.

template<unsigned digest_size_, Algorithms algorithm_>
char shash::Digest< digest_size_, algorithm_ >::Hex::operator[] ( const unsigned int  position) const
inline

Definition at line 137 of file hash.h.

Here is the call graph for this function:

template<unsigned digest_size_, Algorithms algorithm_>
char shash::Digest< digest_size_, algorithm_ >::Hex::ToHex ( const char  c) const
inlineprotected

Definition at line 158 of file hash.h.

Member Data Documentation

template<unsigned digest_size_, Algorithms algorithm_>
const unsigned int shash::Digest< digest_size_, algorithm_ >::Hex::algo_id_length_
private

Definition at line 165 of file hash.h.

template<unsigned digest_size_, Algorithms algorithm_>
const Digest<digest_size_, algorithm_>& shash::Digest< digest_size_, algorithm_ >::Hex::digest_
private

Definition at line 163 of file hash.h.

template<unsigned digest_size_, Algorithms algorithm_>
const unsigned int shash::Digest< digest_size_, algorithm_ >::Hex::hash_length_
private

Definition at line 164 of file hash.h.


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