CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
compat::shash_v1::Digest< digest_size_, algorithm_ > Struct Template Reference

#include <compat.h>

Inheritance diagram for compat::shash_v1::Digest< digest_size_, algorithm_ >:

Public Member Functions

unsigned GetDigestSize () const
 
unsigned GetHexSize () const
 
 Digest ()
 
 Digest (const Algorithms a, const unsigned char *digest_buffer, const unsigned buffer_size)
 
std::string ToString () const
 
bool IsNull () const
 
bool operator== (const Digest< digest_size_, algorithm_ > &other) const
 
bool operator!= (const Digest< digest_size_, algorithm_ > &other) const
 
bool operator< (const Digest< digest_size_, algorithm_ > &other) const
 
bool operator> (const Digest< digest_size_, algorithm_ > &other) const
 

Public Attributes

unsigned char digest [digest_size_]
 
Algorithms algorithm
 

Detailed Description

template<unsigned digest_size_, Algorithms algorithm_>
struct compat::shash_v1::Digest< digest_size_, algorithm_ >

Definition at line 44 of file compat.h.

Constructor & Destructor Documentation

template<unsigned digest_size_, Algorithms algorithm_>
compat::shash_v1::Digest< digest_size_, algorithm_ >::Digest ( )
inline

Definition at line 53 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
compat::shash_v1::Digest< digest_size_, algorithm_ >::Digest ( const Algorithms  a,
const unsigned char *  digest_buffer,
const unsigned  buffer_size 
)
inline

Definition at line 58 of file compat.h.

Member Function Documentation

template<unsigned digest_size_, Algorithms algorithm_>
unsigned compat::shash_v1::Digest< digest_size_, algorithm_ >::GetDigestSize ( ) const
inline

Definition at line 48 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
unsigned compat::shash_v1::Digest< digest_size_, algorithm_ >::GetHexSize ( ) const
inline

Definition at line 49 of file compat.h.

Referenced by compat::shash_v1::Digest< 16, kMd5 >::ToString().

Here is the caller graph for this function:

template<unsigned digest_size_, Algorithms algorithm_>
bool compat::shash_v1::Digest< digest_size_, algorithm_ >::IsNull ( ) const
inline

Definition at line 87 of file compat.h.

Referenced by compat::inode_tracker_v3::PathStore::Lookup().

Here is the caller graph for this function:

template<unsigned digest_size_, Algorithms algorithm_>
bool compat::shash_v1::Digest< digest_size_, algorithm_ >::operator!= ( const Digest< digest_size_, algorithm_ > &  other) const
inline

Definition at line 103 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
bool compat::shash_v1::Digest< digest_size_, algorithm_ >::operator< ( const Digest< digest_size_, algorithm_ > &  other) const
inline

Definition at line 107 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
bool compat::shash_v1::Digest< digest_size_, algorithm_ >::operator== ( const Digest< digest_size_, algorithm_ > &  other) const
inline

Definition at line 94 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
bool compat::shash_v1::Digest< digest_size_, algorithm_ >::operator> ( const Digest< digest_size_, algorithm_ > &  other) const
inline

Definition at line 119 of file compat.h.

template<unsigned digest_size_, Algorithms algorithm_>
std::string compat::shash_v1::Digest< digest_size_, algorithm_ >::ToString ( ) const
inline

Definition at line 66 of file compat.h.

Member Data Documentation


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