#include <DataFormats/Provenance/interface/BranchID.h>
Public Member Functions | |
BranchID (std::string const &str) | |
BranchID () | |
unsigned int | id () const |
bool | isValid () const |
bool | operator!= (BranchID const &rh) const |
bool | operator< (BranchID const &rh) const |
bool | operator== (BranchID const &rh) const |
bool | operator> (BranchID const &rh) const |
void | setID (std::string const &branchName) |
Private Attributes | |
unsigned int | id_ |
Definition at line 14 of file BranchID.h.
edm::BranchID::BranchID | ( | ) | [inline] |
edm::BranchID::BranchID | ( | std::string const & | str | ) | [inline, explicit] |
Definition at line 23 of file BranchID.h.
References id_.
Referenced by edm::BranchDescription::init().
00023 {return id_ != 0;}
void edm::BranchID::setID | ( | std::string const & | branchName | ) |
Definition at line 7 of file BranchID.cc.
References cms::CRC32Calculator::checksum(), and id_.
Referenced by BranchID(), and edm::BranchDescription::init().
00007 { 00008 cms::CRC32Calculator crc32(branchName); 00009 id_ = crc32.checksum(); 00010 }
unsigned int edm::BranchID::id_ [private] |
Definition at line 31 of file BranchID.h.
Referenced by id(), isValid(), operator!=(), operator<(), operator==(), operator>(), and setID().