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_11_01/source/fhiclcpp/ParameterSetID.h"

Public Member Functions

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

Static Public Member Functions

static constexpr std::size_t max_str_size () noexcept
 

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 ( )
noexcept
fhicl::ParameterSetID::ParameterSetID ( ParameterSet const &  )
explicit
fhicl::ParameterSetID::ParameterSetID ( std::string const &  id)
explicit

Member Function Documentation

void fhicl::ParameterSetID::invalidate ( )
noexcept
bool fhicl::ParameterSetID::is_valid ( ) const
noexcept
constexpr std::size_t fhicl::ParameterSetID::max_str_size ( )
inlinestaticnoexcept

Definition at line 55 of file ParameterSetID.h.

References cet::sha1::digest_sz.

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

56 {
57  // Two hex digits per byte.
58  return 2 * cet::sha1::digest_sz;
59 }
static std::size_t constexpr digest_sz
Definition: sha1.h:28
bool fhicl::ParameterSetID::operator!= ( ParameterSetID const &  ) const
noexcept
bool fhicl::ParameterSetID::operator< ( ParameterSetID const &  ) const
noexcept
bool fhicl::ParameterSetID::operator<= ( ParameterSetID const &  ) const
noexcept
bool fhicl::ParameterSetID::operator== ( ParameterSetID const &  ) const
noexcept
bool fhicl::ParameterSetID::operator> ( ParameterSetID const &  ) const
noexcept
bool fhicl::ParameterSetID::operator>= ( ParameterSetID const &  ) const
noexcept
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 50 of file ParameterSetID.h.

bool fhicl::ParameterSetID::valid_
private

Definition at line 49 of file ParameterSetID.h.


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