Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
fhicl::ParameterSetID Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/fhiclcpp/v4_06_10/source/fhiclcpp/ParameterSetID.h"

Public Member Functions

 ParameterSetID ()
 
 ParameterSetID (ParameterSet const &)
 
 ParameterSetID (std::string const &id)
 
bool is_valid () const
 
std::string to_string () const
 
void invalidate ()
 
void reset (ParameterSet const &)
 
void swap (ParameterSetID &)
 
bool operator== (ParameterSetID const &) const
 
bool operator!= (ParameterSetID const &) const
 
bool operator< (ParameterSetID const &) const
 
bool operator> (ParameterSetID const &) const
 
bool operator<= (ParameterSetID const &) const
 
bool operator>= (ParameterSetID const &) const
 

Static Public Member Functions

static std::size_t max_str_size ()
 

Private Attributes

bool valid_
 
cet::sha1::digest_t id_
 

Detailed Description

Definition at line 23 of file ParameterSetID.h.

Constructor & Destructor Documentation

fhicl::ParameterSetID::ParameterSetID ( )
fhicl::ParameterSetID::ParameterSetID ( ParameterSet const &  )
explicit
fhicl::ParameterSetID::ParameterSetID ( std::string const &  id)
explicit

Member Function Documentation

void fhicl::ParameterSetID::invalidate ( )
bool fhicl::ParameterSetID::is_valid ( ) const
std::size_t fhicl::ParameterSetID::max_str_size ( )
inlinestatic

Definition at line 57 of file ParameterSetID.h.

References cet::sha1::digest_sz.

Referenced by fhicl::dbid_parser::parse().

58 {
59  // Two hex digits per byte.
60  return 2 * cet::sha1::digest_sz;
61 }
static std::size_t constexpr digest_sz
Definition: sha1.h:28
bool fhicl::ParameterSetID::operator!= ( ParameterSetID const &  ) const
bool fhicl::ParameterSetID::operator< ( ParameterSetID const &  ) const
bool fhicl::ParameterSetID::operator<= ( ParameterSetID const &  ) const
bool fhicl::ParameterSetID::operator== ( ParameterSetID const &  ) const
bool fhicl::ParameterSetID::operator> ( ParameterSetID const &  ) const
bool fhicl::ParameterSetID::operator>= ( ParameterSetID const &  ) const
void fhicl::ParameterSetID::reset ( ParameterSet const &  )
void fhicl::ParameterSetID::swap ( ParameterSetID )
std::string fhicl::ParameterSetID::to_string ( ) const

Member Data Documentation

cet::sha1::digest_t fhicl::ParameterSetID::id_
private

Definition at line 52 of file ParameterSetID.h.

bool fhicl::ParameterSetID::valid_
private

Definition at line 51 of file ParameterSetID.h.


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