CernVM-FS  2.13.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 125 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 127 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 149 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 141 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 132 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 134 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 154 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 161 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 159 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 160 of file hash.h.


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