CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
DataFormats_MuonReco::dictionary::edm::Hash< I > Class Template Reference

#include <classes.h>

Public Types

typedef hash_detail::value_type value_type
 

Public Member Functions

value_type compactForm () const
 
 Hash ()
 
 Hash (value_type const &v)
 
 Hash (Hash< I > const &)
 
bool isCompactForm () const
 
bool isValid () const
 
bool operator!= (Hash< I > const &other) const
 
bool operator< (Hash< I > const &other) const
 
Hash< I > & operator= (Hash< I > const &iRHS)
 
bool operator== (Hash< I > const &other) const
 
bool operator> (Hash< I > const &other) const
 
std::ostream & print (std::ostream &os) const
 
void reset ()
 
size_t smallHash () const
 returns a short hash which can be used with hashing containers More...
 
void swap (Hash< I > &other)
 
void toDigest (cms::Digest &digest) const
 
void toString (std::string &result) const
 

Static Public Member Functions

static short Class_Version ()
 

Private Member Functions

template<typename Op >
bool compareUsing (Hash< I > const &iOther, Op op) const
 
void throwIfIllFormed () const
 

Private Attributes

value_type hash_
 

Detailed Description

template<int I>
class DataFormats_MuonReco::dictionary::edm::Hash< I >

Definition at line 43 of file classes.h.

Member Typedef Documentation

Definition at line 45 of file classes.h.

Constructor & Destructor Documentation

template<int I>
DataFormats_MuonReco::dictionary::edm::Hash< I >::Hash ( )
inline

Definition at line 118 of file classes.h.

template<int I>
DataFormats_MuonReco::dictionary::edm::Hash< I >::Hash ( value_type const &  v)
explicit
template<int I>
DataFormats_MuonReco::dictionary::edm::Hash< I >::Hash ( Hash< I > const &  iOther)
inline

Definition at line 128 of file classes.h.

Member Function Documentation

template<int I>
static short DataFormats_MuonReco::dictionary::edm::Hash< I >::Class_Version ( )
inlinestatic

Definition at line 81 of file classes.h.

template<int I>
Hash< I >::value_type DataFormats_MuonReco::dictionary::edm::Hash< I >::compactForm ( ) const
inline

Definition at line 214 of file classes.h.

template<int I>
template<typename Op >
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::compareUsing ( Hash< I > const &  iOther,
Op  op 
) const
inlineprivate

Definition at line 91 of file classes.h.

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::isCompactForm ( ) const
inline

Definition at line 230 of file classes.h.

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::isValid ( void  ) const
inline

Definition at line 151 of file classes.h.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::operator!= ( Hash< I > const &  other) const
inline

Definition at line 179 of file classes.h.

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::operator< ( Hash< I > const &  other) const
inline

Definition at line 158 of file classes.h.

template<int I>
Hash< I > & DataFormats_MuonReco::dictionary::edm::Hash< I >::operator= ( Hash< I > const &  iRHS)
inline

Definition at line 135 of file classes.h.

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::operator== ( Hash< I > const &  other) const
inline

Definition at line 172 of file classes.h.

template<int I>
bool DataFormats_MuonReco::dictionary::edm::Hash< I >::operator> ( Hash< I > const &  other) const
inline

Definition at line 165 of file classes.h.

template<int I>
std::ostream & DataFormats_MuonReco::dictionary::edm::Hash< I >::print ( std::ostream &  os) const
inline

Definition at line 186 of file classes.h.

template<int I>
void DataFormats_MuonReco::dictionary::edm::Hash< I >::reset ( void  )
inline

Definition at line 144 of file classes.h.

template<int I>
size_t DataFormats_MuonReco::dictionary::edm::Hash< I >::smallHash ( ) const
inline

returns a short hash which can be used with hashing containers

Definition at line 221 of file classes.h.

template<int I>
void DataFormats_MuonReco::dictionary::edm::Hash< I >::swap ( Hash< I > &  other)
inline

Definition at line 207 of file classes.h.

template<int I>
void DataFormats_MuonReco::dictionary::edm::Hash< I >::throwIfIllFormed ( ) const
private

Hexified version of data must contain a multiple of 2 bytes. If it does not, throw an exception.

template<int I>
void DataFormats_MuonReco::dictionary::edm::Hash< I >::toDigest ( cms::Digest digest) const
inline

Definition at line 200 of file classes.h.

template<int I>
void DataFormats_MuonReco::dictionary::edm::Hash< I >::toString ( std::string &  result) const
inline

Definition at line 193 of file classes.h.

Member Data Documentation

template<int I>
value_type DataFormats_MuonReco::dictionary::edm::Hash< I >::hash_
private

Definition at line 106 of file classes.h.