CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::Entry Class Reference

#include <Entry.h>

Public Member Functions

 Entry (std::string const &name, bool val, bool is_tracked)
 
 Entry (std::string const &name, int val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< int > const &val, bool is_tracked)
 
 Entry (std::string const &name, unsigned val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< unsigned > const &val, bool is_tracked)
 
 Entry (std::string const &name, long long val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< long long > const &val, bool is_tracked)
 
 Entry (std::string const &name, unsigned long long val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< unsigned long long > const &val, bool is_tracked)
 
 Entry (std::string const &name, double val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< double > const &val, bool is_tracked)
 
 Entry (std::string const &name, std::string const &val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< std::string > const &val, bool is_tracked)
 
 Entry (std::string const &name, FileInPath const &val, bool is_tracked)
 
 Entry (std::string const &name, InputTag const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< InputTag > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, ESInputTag const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< ESInputTag > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, EventID const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< EventID > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, LuminosityBlockID const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< LuminosityBlockID > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, LuminosityBlockRange const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< LuminosityBlockRange > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, EventRange const &tag, bool is_tracked)
 
 Entry (std::string const &name, std::vector< EventRange > const &vtag, bool is_tracked)
 
 Entry (std::string const &name, ParameterSet const &val, bool is_tracked)
 
 Entry (std::string const &name, std::vector< ParameterSet > const &val, bool is_tracked)
 
 Entry (std::string name, std::string_view)
 
 Entry (std::string name, std::string_view type, std::string_view value, bool is_tracked)
 
 Entry (std::string name, std::string_view type, std::vector< std::string > const &value, bool is_tracked)
 
 Entry (Entry const &)=default
 
 Entry (Entry &&)=default
 
bool getBool () const
 
double getDouble () const
 
ESInputTag getESInputTag () const
 
EventID getEventID () const
 
EventRange getEventRange () const
 
FileInPath getFileInPath () const
 
InputTag getInputTag () const
 
int getInt32 () const
 
long long getInt64 () const
 
LuminosityBlockID getLuminosityBlockID () const
 
LuminosityBlockRange getLuminosityBlockRange () const
 
ParameterSet getPSet () const
 
std::string getString () const
 
unsigned getUInt32 () const
 
unsigned long long getUInt64 () const
 
std::vector< double > getVDouble () const
 
std::vector< ESInputTaggetVESInputTag () const
 
std::vector< EventIDgetVEventID () const
 
std::vector< EventRangegetVEventRange () const
 
std::vector< InputTaggetVInputTag () const
 
std::vector< int > getVInt32 () const
 
std::vector< long long > getVInt64 () const
 
std::vector< LuminosityBlockIDgetVLuminosityBlockID () const
 
std::vector< LuminosityBlockRangegetVLuminosityBlockRange () const
 
std::vector< ParameterSetgetVPSet () const
 
std::vector< std::string > getVString () const
 
std::vector< unsigned > getVUInt32 () const
 
std::vector< unsigned long long > getVUInt64 () const
 
bool isTracked () const
 
Entryoperator= (Entry const &)=default
 
Entryoperator= (Entry &&)=default
 
size_t sizeOfString () const
 
void toDigest (cms::Digest &digest) const
 
std::string toString () const
 
void toString (std::string &result) const
 
char typeCode () const
 
 ~Entry ()=default
 

Static Public Member Functions

static std::string_view bounds (std::string_view, std::size_t iEndHint)
 

Private Member Functions

bool fromString (std::string_view::const_iterator b, std::string_view::const_iterator e)
 
void throwEncodeError (char const *type) const
 
void throwEntryError (char const *expectedType, std::string const &badRep) const
 
void throwValueError (char const *expectedType) const
 
void validate () const
 

Private Attributes

std::string name_
 
std::string rep_
 
char tracked_
 
char type_
 

Friends

std::ostream & operator<< (std::ostream &ost, Entry const &entry)
 

Detailed Description

Definition at line 40 of file Entry.h.

Constructor & Destructor Documentation

◆ Entry() [1/33]

Entry::Entry ( std::string const &  name,
bool  val,
bool  is_tracked 
)

Definition at line 431 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

432  : name_(name), rep_(), type_(kTbool), tracked_(is_tracked ? '+' : '-') {
433  if (!encode(rep_, val))
434  throwEncodeError("bool");
435  validate();
436  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
Definition: Entry.cc:23
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [2/33]

Entry::Entry ( std::string const &  name,
int  val,
bool  is_tracked 
)

Definition at line 441 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

442  : name_(name), rep_(), type_(kTint32), tracked_(is_tracked ? '+' : '-') {
443  if (!encode(rep_, val))
444  throwEncodeError("int");
445  validate();
446  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
Definition: Entry.cc:25
std::string rep_
Definition: Entry.h:185

◆ Entry() [3/33]

Entry::Entry ( std::string const &  name,
std::vector< int > const &  val,
bool  is_tracked 
)

Definition at line 451 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

452  : name_(name), rep_(), type_(kTvint32), tracked_(is_tracked ? '+' : '-') {
453  if (!encode(rep_, val))
454  throwEncodeError("vector<int>");
455  validate();
456  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [4/33]

Entry::Entry ( std::string const &  name,
unsigned  val,
bool  is_tracked 
)

Definition at line 461 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

462  : name_(name), rep_(), type_(kTuint32), tracked_(is_tracked ? '+' : '-') {
463  if (!encode(rep_, val))
464  throwEncodeError("unsigned int");
465  validate();
466  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [5/33]

Entry::Entry ( std::string const &  name,
std::vector< unsigned > const &  val,
bool  is_tracked 
)

Definition at line 471 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

472  : name_(name), rep_(), type_(kTvuint32), tracked_(is_tracked ? '+' : '-') {
473  if (!encode(rep_, val))
474  throwEncodeError("vector<unsigned int>");
475  validate();
476  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [6/33]

Entry::Entry ( std::string const &  name,
long long  val,
bool  is_tracked 
)

Definition at line 481 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

482  : name_(name), rep_(), type_(kTint64), tracked_(is_tracked ? '+' : '-') {
483  if (!encode(rep_, val))
484  throwEncodeError("int64");
485  validate();
486  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
Definition: Entry.cc:29
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [7/33]

Entry::Entry ( std::string const &  name,
std::vector< long long > const &  val,
bool  is_tracked 
)

Definition at line 491 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

492  : name_(name), rep_(), type_(kTvint64), tracked_(is_tracked ? '+' : '-') {
493  if (!encode(rep_, val))
494  throwEncodeError("vector<int64>");
495  validate();
496  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [8/33]

Entry::Entry ( std::string const &  name,
unsigned long long  val,
bool  is_tracked 
)

Definition at line 501 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

502  : name_(name), rep_(), type_(kTuint64), tracked_(is_tracked ? '+' : '-') {
503  if (!encode(rep_, val))
504  throwEncodeError("unsigned int64");
505  validate();
506  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [9/33]

Entry::Entry ( std::string const &  name,
std::vector< unsigned long long > const &  val,
bool  is_tracked 
)

Definition at line 511 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

512  : name_(name), rep_(), type_(kTvuint64), tracked_(is_tracked ? '+' : '-') {
513  if (!encode(rep_, val))
514  throwEncodeError("vector<unsigned int64>");
515  validate();
516  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [10/33]

Entry::Entry ( std::string const &  name,
double  val,
bool  is_tracked 
)

Definition at line 521 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

522  : name_(name), rep_(), type_(kTdouble), tracked_(is_tracked ? '+' : '-') {
523  if (!encode(rep_, val))
524  throwEncodeError("double");
525  validate();
526  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [11/33]

Entry::Entry ( std::string const &  name,
std::vector< double > const &  val,
bool  is_tracked 
)

Definition at line 531 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

532  : name_(name), rep_(), type_(kTvdouble), tracked_(is_tracked ? '+' : '-') {
533  if (!encode(rep_, val))
534  throwEncodeError("vector<double>");
535  validate();
536  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [12/33]

Entry::Entry ( std::string const &  name,
std::string const &  val,
bool  is_tracked 
)

Definition at line 541 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

542  : name_(name), rep_(), type_(kTstringRaw), tracked_(is_tracked ? '+' : '-') {
543  if (!encode(rep_, val))
544  throwEncodeError("string");
545  validate();
546  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [13/33]

Entry::Entry ( std::string const &  name,
std::vector< std::string > const &  val,
bool  is_tracked 
)

Definition at line 551 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

552  : name_(name), rep_(), type_(kTvstringRaw), tracked_(is_tracked ? '+' : '-') {
553  if (!encode(rep_, val))
554  throwEncodeError("vector<string>");
555  validate();
556  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [14/33]

Entry::Entry ( std::string const &  name,
FileInPath const &  val,
bool  is_tracked 
)

Definition at line 561 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

562  : name_(name), rep_(), type_(kTFileInPath), tracked_(is_tracked ? '+' : '-') {
563  if (!encode(rep_, val))
564  throwEncodeError("FileInPath");
565  validate();
566  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [15/33]

Entry::Entry ( std::string const &  name,
InputTag const &  tag,
bool  is_tracked 
)

Definition at line 571 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

572  : name_(name), rep_(), type_(kTInputTag), tracked_(is_tracked ? '+' : '-') {
573  if (!encode(rep_, val))
574  throwEncodeError("InputTag");
575  validate();
576  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [16/33]

Entry::Entry ( std::string const &  name,
std::vector< InputTag > const &  vtag,
bool  is_tracked 
)

Definition at line 581 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

582  : name_(name), rep_(), type_(kTVInputTag), tracked_(is_tracked ? '+' : '-') {
583  if (!encode(rep_, val))
584  throwEncodeError("VInputTag");
585  validate();
586  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [17/33]

Entry::Entry ( std::string const &  name,
ESInputTag const &  tag,
bool  is_tracked 
)

Definition at line 591 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

592  : name_(name), rep_(), type_(kTESInputTag), tracked_(is_tracked ? '+' : '-') {
593  if (!encode(rep_, val))
594  throwEncodeError("InputTag");
595  validate();
596  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [18/33]

Entry::Entry ( std::string const &  name,
std::vector< ESInputTag > const &  vtag,
bool  is_tracked 
)

Definition at line 601 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

602  : name_(name), rep_(), type_(kTVESInputTag), tracked_(is_tracked ? '+' : '-') {
603  if (!encode(rep_, val))
604  throwEncodeError("VESInputTag");
605  validate();
606  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [19/33]

Entry::Entry ( std::string const &  name,
EventID const &  tag,
bool  is_tracked 
)

Definition at line 611 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

612  : name_(name), rep_(), type_(kTEventID), tracked_(is_tracked ? '+' : '-') {
613  if (!encode(rep_, val))
614  throwEncodeError("EventID");
615  validate();
616  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [20/33]

Entry::Entry ( std::string const &  name,
std::vector< EventID > const &  vtag,
bool  is_tracked 
)

Definition at line 621 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

622  : name_(name), rep_(), type_(kTVEventID), tracked_(is_tracked ? '+' : '-') {
623  if (!encode(rep_, val))
624  throwEncodeError("VEventID");
625  validate();
626  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [21/33]

Entry::Entry ( std::string const &  name,
LuminosityBlockID const &  tag,
bool  is_tracked 
)

Definition at line 631 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

632  : name_(name), rep_(), type_(kTLuminosityBlockID), tracked_(is_tracked ? '+' : '-') {
633  if (!encode(rep_, val))
634  throwEncodeError("LuminosityBlockID");
635  validate();
636  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [22/33]

Entry::Entry ( std::string const &  name,
std::vector< LuminosityBlockID > const &  vtag,
bool  is_tracked 
)

Definition at line 641 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

642  : name_(name), rep_(), type_(kTVLuminosityBlockID), tracked_(is_tracked ? '+' : '-') {
643  if (!encode(rep_, val))
644  throwEncodeError("VLuminosityBlockID");
645  validate();
646  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [23/33]

Entry::Entry ( std::string const &  name,
LuminosityBlockRange const &  tag,
bool  is_tracked 
)

Definition at line 651 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

652  : name_(name), rep_(), type_(kTLuminosityBlockRange), tracked_(is_tracked ? '+' : '-') {
653  if (!encode(rep_, val))
654  throwEncodeError("LuminosityBlockRange");
655  validate();
656  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [24/33]

Entry::Entry ( std::string const &  name,
std::vector< LuminosityBlockRange > const &  vtag,
bool  is_tracked 
)

Definition at line 661 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

662  : name_(name), rep_(), type_(kTVLuminosityBlockRange), tracked_(is_tracked ? '+' : '-') {
663  if (!encode(rep_, val))
664  throwEncodeError("VLuminosityBlockRange");
665  validate();
666  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [25/33]

Entry::Entry ( std::string const &  name,
EventRange const &  tag,
bool  is_tracked 
)

Definition at line 671 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

672  : name_(name), rep_(), type_(kTEventRange), tracked_(is_tracked ? '+' : '-') {
673  if (!encode(rep_, val))
674  throwEncodeError("EventRange");
675  validate();
676  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [26/33]

Entry::Entry ( std::string const &  name,
std::vector< EventRange > const &  vtag,
bool  is_tracked 
)

Definition at line 681 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

682  : name_(name), rep_(), type_(kTVEventRange), tracked_(is_tracked ? '+' : '-') {
683  if (!encode(rep_, val))
684  throwEncodeError("VEventRange");
685  validate();
686  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [27/33]

Entry::Entry ( std::string const &  name,
ParameterSet const &  val,
bool  is_tracked 
)

Definition at line 691 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

692  : name_(name), rep_(), type_(kTPSet), tracked_(is_tracked ? '+' : '-') {
693  if (!encode(rep_, val))
694  throwEncodeError("ParameterSet");
695  validate();
696  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
Definition: Entry.cc:39
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [28/33]

Entry::Entry ( std::string const &  name,
std::vector< ParameterSet > const &  val,
bool  is_tracked 
)

Definition at line 701 of file Entry.cc.

References edm::encode(), rep_, throwEncodeError(), heppy_batch::val, and validate().

702  : name_(name), rep_(), type_(kTvPSet), tracked_(is_tracked ? '+' : '-') {
703  if (!encode(rep_, val))
704  throwEncodeError("vector<ParameterSet>");
705  validate();
706  }
void validate() const
Definition: Entry.cc:220
Definition: Entry.cc:40
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool encode(std::string &, bool)
Definition: types.cc:86
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ Entry() [29/33]

Entry::Entry ( std::string  name,
std::string_view  code 
)

Definition at line 711 of file Entry.cc.

References fromString(), throwEncodeError(), and validate().

711  : name_(std::move(name)), rep_(), type_('?'), tracked_('?') {
712  if (!fromString(code.begin(), code.end()))
713  throwEncodeError("coded string");
714  validate();
715  }
void validate() const
Definition: Entry.cc:220
void throwEncodeError(char const *type) const
Definition: Entry.cc:1307
bool fromString(std::string_view::const_iterator b, std::string_view::const_iterator e)
Definition: Entry.cc:827
char tracked_
Definition: Entry.h:187
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
def move(src, dest)
Definition: eostools.py:511
std::string rep_
Definition: Entry.h:185

◆ Entry() [30/33]

Entry::Entry ( std::string  name,
std::string_view  type,
std::string_view  value,
bool  is_tracked 
)

Definition at line 717 of file Entry.cc.

References codeFromType(), edm::errors::Configuration, Exception, fromString(), AlCaHLTBitMon_QueryRunRegistry::string, findQualityFiles::v, validate(), and relativeConstraints::value.

718  : name_(std::move(name)), rep_(), type_('?'), tracked_('?') {
719  std::string codedString(is_tracked ? "-" : "+");
720 
721  codedString += codeFromType(type);
722  codedString += '(';
723  codedString += value;
724  codedString += ')';
725 
726  std::string_view v = codedString;
727  if (!fromString(v.begin(), v.end())) {
728  throw Exception(errors::Configuration) << "bad encoded Entry string " << codedString;
729  }
730  validate();
731  }
void validate() const
Definition: Entry.cc:220
bool fromString(std::string_view::const_iterator b, std::string_view::const_iterator e)
Definition: Entry.cc:827
char tracked_
Definition: Entry.h:187
static char codeFromType(std::string_view iType)
Definition: Entry.cc:208
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
def move(src, dest)
Definition: eostools.py:511
std::string rep_
Definition: Entry.h:185

◆ Entry() [31/33]

Entry::Entry ( std::string  name,
std::string_view  type,
std::vector< std::string > const &  value,
bool  is_tracked 
)

Definition at line 733 of file Entry.cc.

References codeFromType(), edm::errors::Configuration, MillePedeFileConverter_cfg::e, Exception, fromString(), mps_fire::i, AlCaHLTBitMon_QueryRunRegistry::string, findQualityFiles::v, and validate().

734  : name_(std::move(name)), rep_(), type_('?'), tracked_('?') {
735  std::string codedString(is_tracked ? "-" : "+");
736 
737  codedString += codeFromType(type);
738  codedString += '(';
739  codedString += '{';
740  std::vector<std::string>::const_iterator i = value.begin();
741  std::vector<std::string>::const_iterator e = value.end();
742  std::string const kSeparator(",");
743  std::string sep("");
744  for (; i != e; ++i) {
745  codedString += sep;
746  codedString += *i;
747  sep = kSeparator;
748  }
749  codedString += '}';
750  codedString += ')';
751 
752  std::string_view v = codedString;
753  if (!fromString(v.begin(), v.end())) {
754  throw Exception(errors::Configuration) << "bad encoded Entry string " << codedString;
755  }
756  validate();
757  }
void validate() const
Definition: Entry.cc:220
bool fromString(std::string_view::const_iterator b, std::string_view::const_iterator e)
Definition: Entry.cc:827
char tracked_
Definition: Entry.h:187
static char codeFromType(std::string_view iType)
Definition: Entry.cc:208
Definition: value.py:1
std::string name_
Definition: Entry.h:184
char type_
Definition: Entry.h:186
def move(src, dest)
Definition: eostools.py:511
std::string rep_
Definition: Entry.h:185

◆ ~Entry()

edm::Entry::~Entry ( )
default

◆ Entry() [32/33]

edm::Entry::Entry ( Entry const &  )
default

◆ Entry() [33/33]

edm::Entry::Entry ( Entry &&  )
default

Member Function Documentation

◆ bounds()

std::string_view Entry::bounds ( std::string_view  iView,
std::size_t  iEndHint 
)
static

Definition at line 759 of file Entry.cc.

References edm::decode_pset_extent(), edm::decode_string_extent(), edm::decode_vpset_extent(), edm::decode_vstring_extent(), kTPSet, kTstringRaw, kTvPSet, and kTvstringRaw.

Referenced by edm::ParameterSet::extent(), and edm::ParameterSet::fromString().

759  {
760  if (iView.size() < 4) {
761  return {};
762  }
763  if (iView[1] == kTPSet) {
764  auto extent = edm::decode_pset_extent(iView.substr(3));
765  if (not extent) {
766  return {};
767  }
768  return iView.substr(0, extent->size() + 3 + 1);
769  } else if (iView[1] == kTvPSet) {
770  auto extent = edm::decode_vpset_extent(iView.substr(3));
771  if (not extent) {
772  return {};
773  }
774  return iView.substr(0, extent->size() + 3 + 1);
775  } else if (iView[1] != kTstringRaw and iView[1] != kTvstringRaw) {
776  return iView.substr(0, iEndHint);
777  }
778  if (iView[1] == kTstringRaw) {
779  // is of the form
780  // [trackiness][type](...\0)[endHintChar]
781  // where decode returns the ...\0 part
782  auto extent = edm::decode_string_extent(iView.substr(3));
783  if (not extent) {
784  return {};
785  }
786  return iView.substr(0, extent->size() + 3 + 1);
787  }
788  // is of the form
789  // [trackiness][type]({...})[endHitChar]
790  // where decode returns the {...} part
791  auto extent = edm::decode_vstring_extent(iView.substr(3));
792  if (not extent) {
793  return {};
794  }
795  return iView.substr(0, extent->size() + 3 + 1);
796  }
std::optional< std::string_view > decode_pset_extent(std::string_view from)
Definition: types.cc:1207
Definition: Entry.cc:40
std::optional< std::string_view > decode_vstring_extent(std::string_view from)
Definition: types.cc:1060
std::optional< std::string_view > decode_string_extent(std::string_view from)
Definition: types.cc:504
Definition: Entry.cc:39
std::optional< std::string_view > decode_vpset_extent(std::string_view from)
Definition: types.cc:1275

◆ fromString()

bool Entry::fromString ( std::string_view::const_iterator  b,
std::string_view::const_iterator  e 
)
private

Definition at line 827 of file Entry.cc.

References b, MillePedeFileConverter_cfg::e, rep_, AlCaHLTBitMon_QueryRunRegistry::string, tracked_, and type_.

Referenced by Entry().

827  {
828  if (static_cast<unsigned int>(e - b) < 4u || b[2] != '(' || e[-1] != ')')
829 
830  return false;
831 
832  tracked_ = b[0];
833  type_ = b[1];
834  rep_ = std::string(b + 3, e - 1);
835 
836  return true;
837  } // from_string()
char tracked_
Definition: Entry.h:187
double b
Definition: hdecay.h:120
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ getBool()

bool Entry::getBool ( ) const

Definition at line 846 of file Entry.cc.

References edm::decode(), kTbool, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

846  {
847  if (type_ != kTbool)
848  throwValueError("bool");
849  bool val;
850  if (!decode(val, rep_))
851  throwEntryError("bool", rep_);
852  return val;
853  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
Definition: Entry.cc:23
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getDouble()

double Entry::getDouble ( ) const

Definition at line 954 of file Entry.cc.

References edm::decode(), kTdouble, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

954  {
955  if (type_ != kTdouble)
956  throwValueError("double");
957  double val;
958  if (!decode(val, rep_))
959  throwEntryError("double", rep_);
960  return val;
961  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getESInputTag()

ESInputTag Entry::getESInputTag ( ) const

Definition at line 1047 of file Entry.cc.

References edm::decode(), kTESInputTag, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1047  {
1048  if (type_ != kTESInputTag)
1049  throwValueError("ESInputTag");
1050  ESInputTag val;
1051  if (!decode(val, rep_))
1052  throwEntryError("ESInputTag", rep_);
1053  return val;
1054  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getEventID()

EventID Entry::getEventID ( ) const

Definition at line 1071 of file Entry.cc.

References edm::decode(), kTEventID, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1071  {
1072  if (type_ != kTEventID)
1073  throwValueError("EventID");
1074  EventID val;
1075  if (!decode(val, rep_))
1076  throwEntryError("EventID", rep_);
1077  return val;
1078  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getEventRange()

EventRange Entry::getEventRange ( ) const

Definition at line 1142 of file Entry.cc.

References edm::decode(), kTEventRange, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1142  {
1143  if (type_ != kTEventRange)
1144  throwValueError("EventRange");
1145  EventRange val;
1146  if (!decode(val, rep_))
1147  throwEntryError("EventRange", rep_);
1148  return val;
1149  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getFileInPath()

FileInPath Entry::getFileInPath ( ) const

Definition at line 1011 of file Entry.cc.

References edm::decode(), kTFileInPath, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1011  {
1012  if (type_ != kTFileInPath)
1013  throwValueError("FileInPath");
1014  FileInPath val;
1015  if (!decode(val, rep_))
1016  throwEntryError("FileInPath", rep_);
1017  return val;
1018  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getInputTag()

InputTag Entry::getInputTag ( ) const

Definition at line 1023 of file Entry.cc.

References edm::decode(), kTInputTag, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().

1023  {
1024  if (type_ != kTInputTag)
1025  throwValueError("InputTag");
1026  InputTag val;
1027  if (!decode(val, rep_))
1028  throwEntryError("InputTag", rep_);
1029  return val;
1030  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getInt32()

int Entry::getInt32 ( ) const

Definition at line 858 of file Entry.cc.

References edm::decode(), kTint32, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

858  {
859  if (type_ != kTint32)
860  throwValueError("int");
861  int val;
862  if (!decode(val, rep_))
863  throwEntryError("int", rep_);
864  return val;
865  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
Definition: Entry.cc:25
std::string rep_
Definition: Entry.h:185

◆ getInt64()

long long Entry::getInt64 ( ) const

Definition at line 882 of file Entry.cc.

References edm::decode(), kTint64, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

882  {
883  if (type_ != kTint64)
884  throwValueError("int64");
885  long long val;
886  if (!decode(val, rep_))
887  throwEntryError("int64", rep_);
888  return val;
889  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
Definition: Entry.cc:29
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getLuminosityBlockID()

LuminosityBlockID Entry::getLuminosityBlockID ( ) const

Definition at line 1095 of file Entry.cc.

References edm::decode(), kTLuminosityBlockID, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1095  {
1096  if (type_ != kTLuminosityBlockID)
1097  throwValueError("LuminosityBlockID");
1098  LuminosityBlockID val;
1099  if (!decode(val, rep_))
1100  throwEntryError("LuminosityBlockID", rep_);
1101  return val;
1102  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getLuminosityBlockRange()

LuminosityBlockRange Entry::getLuminosityBlockRange ( ) const

Definition at line 1118 of file Entry.cc.

References edm::decode(), kTLuminosityBlockRange, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

1118  {
1120  throwValueError("LuminosityBlockRange");
1122  if (!decode(val, rep_))
1123  throwEntryError("LuminosityBlockRange", rep_);
1124  return val;
1125  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getPSet()

ParameterSet Entry::getPSet ( ) const

Definition at line 1167 of file Entry.cc.

References edm::decode(), kTPSet, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

1167  {
1168  if (type_ != kTPSet)
1169  throwValueError("ParameterSet");
1170  ParameterSet val;
1171  if (!decode(val, rep_))
1172  throwEntryError("ParameterSet", rep_);
1173  return val;
1174  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
Definition: Entry.cc:39
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getString()

std::string Entry::getString ( void  ) const

Definition at line 978 of file Entry.cc.

References edm::decode(), edm::decode_deprecated(), kTstringHex, kTstringRaw, rep_, AlCaHLTBitMon_QueryRunRegistry::string, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter< std::string >().

978  {
979  if (type_ != kTstringRaw and type_ != kTstringHex)
980  throwValueError("string");
982  if (type_ == kTstringHex) {
983  if (!decode_deprecated(val, rep_)) {
984  throwEntryError("string", rep_);
985  }
986  } else if (!decode(val, rep_)) {
987  throwEntryError("string", rep_);
988  }
989  return val;
990  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
bool decode_deprecated(std::string &, std::string_view)
Definition: types.cc:539
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getUInt32()

unsigned Entry::getUInt32 ( ) const

Definition at line 906 of file Entry.cc.

References edm::decode(), kTuint32, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

906  {
907  if (type_ != kTuint32)
908  throwValueError("unsigned int");
909  unsigned val;
910  if (!decode(val, rep_))
911  throwEntryError("unsigned int", rep_);
912  return val;
913  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getUInt64()

unsigned long long Entry::getUInt64 ( ) const

Definition at line 930 of file Entry.cc.

References edm::decode(), kTuint64, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter().

930  {
931  if (type_ != kTuint64)
932  throwValueError("uint64");
933  unsigned long long val;
934  if (!decode(val, rep_))
935  throwEntryError("uint64", rep_);
936  return val;
937  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVDouble()

std::vector< double > Entry::getVDouble ( ) const

Definition at line 966 of file Entry.cc.

References edm::decode(), kTvdouble, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< double > >().

966  {
967  if (type_ != kTvdouble)
968  throwValueError("vector<double>");
969  std::vector<double> val;
970  if (!decode(val, rep_))
971  throwEntryError("vector<double>", rep_);
972  return val;
973  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVESInputTag()

std::vector< ESInputTag > Entry::getVESInputTag ( ) const

Definition at line 1059 of file Entry.cc.

References edm::decode(), kTVESInputTag, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< ESInputTag > >().

1059  {
1060  if (type_ != kTVESInputTag)
1061  throwValueError("VESInputTag");
1062  std::vector<ESInputTag> val;
1063  if (!decode(val, rep_))
1064  throwEntryError("VESInputTag", rep_);
1065  return val;
1066  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVEventID()

std::vector< EventID > Entry::getVEventID ( ) const

Definition at line 1083 of file Entry.cc.

References edm::decode(), kTVEventID, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< EventID > >().

1083  {
1084  if (type_ != kTVEventID)
1085  throwValueError("VEventID");
1086  std::vector<EventID> val;
1087  if (!decode(val, rep_))
1088  throwEntryError("EventID", rep_);
1089  return val;
1090  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVEventRange()

std::vector< EventRange > Entry::getVEventRange ( ) const

Definition at line 1154 of file Entry.cc.

References edm::decode(), kTVEventRange, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< EventRange > >().

1154  {
1155  if (type_ != kTVEventRange)
1156  throwValueError("VEventRange");
1157  std::vector<EventRange> val;
1158  if (!decode(val, rep_))
1159  throwEntryError("EventRange", rep_);
1160  return val;
1161  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVInputTag()

std::vector< InputTag > Entry::getVInputTag ( ) const

Definition at line 1035 of file Entry.cc.

References edm::decode(), kTVInputTag, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< InputTag > >().

1035  {
1036  if (type_ != kTVInputTag)
1037  throwValueError("VInputTag");
1038  std::vector<InputTag> val;
1039  if (!decode(val, rep_))
1040  throwEntryError("VInputTag", rep_);
1041  return val;
1042  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVInt32()

std::vector< int > Entry::getVInt32 ( ) const

Definition at line 870 of file Entry.cc.

References edm::decode(), kTvint32, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< int > >().

870  {
871  if (type_ != kTvint32)
872  throwValueError("vector<int>");
873  std::vector<int> val;
874  if (!decode(val, rep_))
875  throwEntryError("vector<int>", rep_);
876  return val;
877  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVInt64()

std::vector< long long > Entry::getVInt64 ( ) const

Definition at line 894 of file Entry.cc.

References edm::decode(), kTvint64, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< long long > >().

894  {
895  if (type_ != kTvint64)
896  throwValueError("vector<int64>");
897  std::vector<long long> val;
898  if (!decode(val, rep_))
899  throwEntryError("vector<int64>", rep_);
900  return val;
901  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVLuminosityBlockID()

std::vector< LuminosityBlockID > Entry::getVLuminosityBlockID ( ) const

Definition at line 1107 of file Entry.cc.

References edm::decode(), kTVLuminosityBlockID, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockID > >().

1107  {
1108  if (type_ != kTVLuminosityBlockID)
1109  throwValueError("VLuminosityBlockID");
1110  std::vector<LuminosityBlockID> val;
1111  if (!decode(val, rep_))
1112  throwEntryError("LuminosityBlockID", rep_);
1113  return val;
1114  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVLuminosityBlockRange()

std::vector< LuminosityBlockRange > Entry::getVLuminosityBlockRange ( ) const

Definition at line 1130 of file Entry.cc.

References edm::decode(), kTVLuminosityBlockRange, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< LuminosityBlockRange > >().

1130  {
1132  throwValueError("VLuminosityBlockRange");
1133  std::vector<LuminosityBlockRange> val;
1134  if (!decode(val, rep_))
1135  throwEntryError("LuminosityBlockRange", rep_);
1136  return val;
1137  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVPSet()

std::vector< ParameterSet > Entry::getVPSet ( ) const

Definition at line 1179 of file Entry.cc.

References edm::decode(), kTvPSet, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

1179  {
1180  if (type_ != kTvPSet)
1181  throwValueError("vector<ParameterSet>");
1182  std::vector<ParameterSet> val;
1183  if (!decode(val, rep_))
1184  throwEntryError("vector<ParameterSet>", rep_);
1185  return val;
1186  }
Definition: Entry.cc:40
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVString()

std::vector< std::string > Entry::getVString ( ) const

Definition at line 995 of file Entry.cc.

References edm::decode(), edm::decode_deprecated(), kTvstringHex, kTvstringRaw, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< std::string > >().

995  {
996  if (type_ != kTvstringRaw and type_ != kTvstringHex)
997  throwValueError("vector<string>");
998  std::vector<std::string> val;
999  if (type_ == kTvstringHex) {
1000  if (!decode_deprecated(val, rep_))
1001  throwEntryError("vector<string>", rep_);
1002  } else if (!decode(val, rep_)) {
1003  throwEntryError("vector<string>", rep_);
1004  }
1005  return val;
1006  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
bool decode_deprecated(std::string &, std::string_view)
Definition: types.cc:539
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVUInt32()

std::vector< unsigned > Entry::getVUInt32 ( ) const

Definition at line 918 of file Entry.cc.

References edm::decode(), kTvuint32, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< unsigned int > >().

918  {
919  if (type_ != kTvuint32)
920  throwValueError("vector<unsigned int>");
921  std::vector<unsigned> val;
922  if (!decode(val, rep_))
923  throwEntryError("vector<unsigned int>", rep_);
924  return val;
925  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ getVUInt64()

std::vector< unsigned long long > Entry::getVUInt64 ( ) const

Definition at line 942 of file Entry.cc.

References edm::decode(), kTvuint64, rep_, throwEntryError(), throwValueError(), type_, and heppy_batch::val.

Referenced by edm::ParameterSet::getUntrackedParameter< std::vector< unsigned long long > >().

942  {
943  if (type_ != kTvuint64)
944  throwValueError("vector<uint64>");
945  std::vector<unsigned long long> val;
946  if (!decode(val, rep_))
947  throwEntryError("vector<uint64>", rep_);
948  return val;
949  }
void throwValueError(char const *expectedType) const
Definition: Entry.cc:1297
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
std::string rep_
Definition: Entry.h:185

◆ isTracked()

bool edm::Entry::isTracked ( ) const
inline

◆ operator=() [1/2]

Entry& edm::Entry::operator= ( Entry const &  )
default

◆ operator=() [2/2]

Entry& edm::Entry::operator= ( Entry &&  )
default

◆ sizeOfString()

size_t edm::Entry::sizeOfString ( ) const
inline

Definition at line 171 of file Entry.h.

References rep_.

Referenced by toString().

171 { return rep_.size() + 4; }
std::string rep_
Definition: Entry.h:185

◆ throwEncodeError()

void Entry::throwEncodeError ( char const *  type) const
private

Definition at line 1307 of file Entry.cc.

References edm::errors::Configuration, Exception, and name_.

Referenced by Entry().

1307  {
1308  throw Exception(errors::Configuration, "EncodingError") << "can not encode " << name_ << " as type: " << type;
1309  }
std::string name_
Definition: Entry.h:184

◆ throwEntryError()

void Entry::throwEntryError ( char const *  expectedType,
std::string const &  badRep 
) const
private

◆ throwValueError()

void Entry::throwValueError ( char const *  expectedType) const
private

◆ toDigest()

void Entry::toDigest ( cms::Digest digest) const

Definition at line 811 of file Entry.cc.

References cms::Digest::append(), rep_, tracked_, and type_.

811  {
812  digest.append(&tracked_, 1);
813  digest.append(&type_, 1);
814  digest.append("(", 1);
815  digest.append(rep_);
816  digest.append(")", 1);
817  }
char tracked_
Definition: Entry.h:187
char type_
Definition: Entry.h:186
void append(std::string const &s)
Definition: Digest.cc:161
std::string rep_
Definition: Entry.h:185

◆ toString() [1/2]

std::string Entry::toString ( ) const

◆ toString() [2/2]

void Entry::toString ( std::string &  result) const

Definition at line 802 of file Entry.cc.

References rep_, mps_fire::result, sizeOfString(), tracked_, and type_.

802  {
803  result.reserve(result.size() + sizeOfString());
804  result += tracked_;
805  result += type_;
806  result += '(';
807  result += rep_;
808  result += ')';
809  }
size_t sizeOfString() const
Definition: Entry.h:171
char tracked_
Definition: Entry.h:187
char type_
Definition: Entry.h:186
std::string rep_
Definition: Entry.h:185

◆ typeCode()

char edm::Entry::typeCode ( ) const
inline

Definition at line 176 of file Entry.h.

References type_.

Referenced by edm::ParameterSet::getParameter(), and edm::ParameterSet::getParameterNamesForType().

176 { return type_; }
char type_
Definition: Entry.h:186

◆ validate()

void Entry::validate ( ) const
private

Definition at line 220 of file Entry.cc.

References cms::cuda::assert(), edm::decode(), edm::decode_deprecated(), kTbool, kTdouble, kTESInputTag, kTEventID, kTEventRange, kTFileInPath, kTInputTag, kTint32, kTint64, kTLuminosityBlockID, kTLuminosityBlockRange, kTPSet, kTstringHex, kTstringRaw, kTuint32, kTuint64, kTvBool, kTvdouble, kTVESInputTag, kTVEventID, kTVEventRange, kTVInputTag, kTvint32, kTvint64, kTVLuminosityBlockID, kTVLuminosityBlockRange, kTvPSet, kTvstringHex, kTvstringRaw, kTvuint32, kTvuint64, rep_, AlCaHLTBitMon_QueryRunRegistry::string, throwEntryError(), tracked_, type_, and heppy_batch::val.

Referenced by Entry().

220  {
221  // tracked
222  assert(tracked_ == '+' || tracked_ == '-');
223  // if(tracked_ != '+' && tracked_ != '-')
224  // throw EntryError(std::string("invalid tracked code ") + tracked_);
225 
226  // type and rep
227  switch (type_) {
228  case kTbool: { // Bool
229  bool val;
230  if (!decode(val, rep_))
231  throwEntryError("bool", rep_);
232  break;
233  }
234  case kTvBool: { // vBool
235  std::vector<bool> val;
236  if (!decode(val, rep_))
237  throwEntryError("vector<bool>", rep_);
238  break;
239  }
240  case kTint32: { // Int32
241  int val;
242  if (!decode(val, rep_))
243  throwEntryError("int", rep_);
244  break;
245  }
246  case kTvint32: { // vInt32
247  std::vector<int> val;
248  if (!decode(val, rep_))
249  throwEntryError("vector<int>", rep_);
250  break;
251  }
252  case kTuint32: { // Uint32
253  unsigned val;
254  if (!decode(val, rep_))
255  throwEntryError("unsigned int", rep_);
256  break;
257  }
258  case kTvuint32: { // vUint32
259  std::vector<unsigned> val;
260  if (!decode(val, rep_))
261  throwEntryError("vector<unsigned int>", rep_);
262  break;
263  }
264  case kTint64: { // Int64
265  long long int val;
266  if (!decode(val, rep_))
267  throwEntryError("int64", rep_);
268  break;
269  }
270  case kTvint64: { // vInt64
271  std::vector<long long int> val;
272  if (!decode(val, rep_))
273  throwEntryError("vector<int64>", rep_);
274  break;
275  }
276  case kTuint64: { // Uint64
277  unsigned long long int val;
278  if (!decode(val, rep_))
279  throwEntryError("unsigned int64", rep_);
280  break;
281  }
282  case kTvuint64: { // vUint64
283  std::vector<unsigned long long int> val;
284  if (!decode(val, rep_))
285  throwEntryError("vector<unsigned int64>", rep_);
286  break;
287  }
288  case kTstringRaw: { // String
290  if (!decode(val, rep_))
291  throwEntryError("string", rep_);
292  break;
293  }
294  case kTvstringRaw: { // vString
295  std::vector<std::string> val;
296  if (!decode(val, rep_))
297  throwEntryError("vector<string>", rep_);
298  break;
299  }
300  case kTstringHex: { // String
302  if (!decode_deprecated(val, rep_))
303  throwEntryError("string_hex", rep_);
304  break;
305  }
306  case kTvstringHex: { // vString
307  std::vector<std::string> val;
308  if (!decode_deprecated(val, rep_))
309  throwEntryError("vector<string_hex>", rep_);
310  break;
311  }
312 
313  case kTFileInPath: { // FileInPath
314  FileInPath val;
315  if (!decode(val, rep_))
316  throwEntryError("FileInPath", rep_);
317  break;
318  }
319  case kTInputTag: { // InputTag
320  InputTag val;
321  if (!decode(val, rep_))
322  throwEntryError("InputTag", rep_);
323  break;
324  }
325  case kTVInputTag: { // VInputTag
326  std::vector<InputTag> val;
327  if (!decode(val, rep_))
328  throwEntryError("VInputTag", rep_);
329  break;
330  }
331  case kTESInputTag: { //ESInputTag
332  ESInputTag val;
333  if (!decode(val, rep_))
334  throwEntryError("ESInputTag", rep_);
335  break;
336  }
337  case kTVESInputTag: { //ESInputTag
338  std::vector<ESInputTag> val;
339  if (!decode(val, rep_))
340  throwEntryError("VESInputTag", rep_);
341  break;
342  }
343  case kTEventID: { // EventID
344  EventID val;
345  if (!decode(val, rep_))
346  throwEntryError("EventID", rep_);
347  break;
348  }
349  case kTVEventID: { // VEventID
350  std::vector<EventID> val;
351  if (!decode(val, rep_))
352  throwEntryError("VEventID", rep_);
353  break;
354  }
355  case kTLuminosityBlockID: { // LuminosityBlockID
356  LuminosityBlockID val;
357  if (!decode(val, rep_))
358  throwEntryError("LuminosityBlockID", rep_);
359  break;
360  }
361  case kTVLuminosityBlockID: { // VLuminosityBlockID
362  std::vector<LuminosityBlockID> val;
363  if (!decode(val, rep_))
364  throwEntryError("VLuminosityBlockID", rep_);
365  break;
366  }
367  case kTdouble: { // Double
368  double val;
369  if (!decode(val, rep_))
370  throwEntryError("double", rep_);
371  break;
372  }
373  case kTvdouble: { // vDouble
374  std::vector<double> val;
375  if (!decode(val, rep_))
376  throwEntryError("vector<double>", rep_);
377  break;
378  }
379  case kTPSet: { // ParameterSet
381  if (!decode(val, rep_))
382  throwEntryError("ParameterSet", rep_);
383  break;
384  }
385  case kTvPSet: { // vParameterSet
386  std::vector<ParameterSet> val;
387  if (!decode(val, rep_))
388  throwEntryError("vector<ParameterSet>", rep_);
389  break;
390  }
391  case kTLuminosityBlockRange: { // LuminosityBlockRange
393  if (!decode(val, rep_))
394  throwEntryError("LuminosityBlockRange", rep_);
395  break;
396  }
397  case kTVLuminosityBlockRange: { // VLuminosityBlockRange
398  std::vector<LuminosityBlockRange> val;
399  if (!decode(val, rep_))
400  throwEntryError("VLuminosityBlockRange", rep_);
401  break;
402  }
403  case kTEventRange: { // EventRange
404  EventRange val;
405  if (!decode(val, rep_))
406  throwEntryError("EventRange", rep_);
407  break;
408  }
409  case kTVEventRange: { // VEventRange
410  std::vector<EventRange> val;
411  if (!decode(val, rep_))
412  throwEntryError("VEventRange", rep_);
413  break;
414  }
415  default: {
416  // We should never get here.
417  assert("Invalid type code" == nullptr);
418  //throw EntryError(std::string("invalid type code ") + type);
419  break;
420  }
421  } // switch(type)
422  } // Entry::validate()
Definition: Entry.cc:24
Definition: Entry.cc:40
bool decode_deprecated(std::string &, std::string_view)
Definition: types.cc:539
void throwEntryError(char const *expectedType, std::string const &badRep) const
Definition: Entry.cc:1302
assert(be >=bs)
Definition: Entry.cc:29
char tracked_
Definition: Entry.h:187
Definition: Entry.cc:23
Definition: Entry.cc:39
char type_
Definition: Entry.h:186
bool decode(bool &, std::string_view)
Definition: types.cc:72
Definition: Entry.cc:25
std::string rep_
Definition: Entry.h:185

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ost,
Entry const &  entry 
)
friend

Definition at line 1188 of file Entry.cc.

1188  {
1189  os << typeFromCode(entry.typeCode()) << " " << (entry.isTracked() ? "tracked " : "untracked ") << " = ";
1190 
1191  // now handle the difficult cases
1192  switch (entry.typeCode()) {
1193  case kTPSet: // ParameterSet
1194  {
1195  os << entry.getPSet();
1196  break;
1197  }
1198  case 'p': // vector<ParameterSet>
1199  {
1200  // Make sure we get the representation of each contained
1201  // ParameterSet including *only* tracked parameters
1202  std::vector<ParameterSet> whole = entry.getVPSet();
1203  std::vector<ParameterSet>::const_iterator i = whole.begin();
1204  std::vector<ParameterSet>::const_iterator e = whole.end();
1205  std::string start = "";
1206  std::string const between(",\n");
1207  os << "{" << std::endl;
1208  for (; i != e; ++i) {
1209  os << start << *i;
1210  start = between;
1211  }
1212  if (!whole.empty()) {
1213  os << std::endl;
1214  }
1215  os << "}";
1216  break;
1217  }
1218  case kTstringRaw: {
1219  os << "'" << entry.getString() << "'";
1220  break;
1221  }
1222  case kTvstringRaw: {
1223  os << "{";
1224  std::string_view start = "'";
1225  std::string_view const between(",'");
1226  std::vector<std::string> strings = entry.getVString();
1227  for (auto const& s : strings) {
1228  os << start << s << "'";
1229  start = between;
1230  }
1231  os << "}";
1232  break;
1233  }
1234  case kTstringHex: {
1235  os << "'" << entry.getString() << "'";
1236  break;
1237  }
1238  case kTvstringHex: {
1239  os << "{";
1240  std::string_view start = "'";
1241  std::string_view const between(",'");
1242  std::vector<std::string> strings = entry.getVString();
1243  for (auto const& s : strings) {
1244  os << start << s << "'";
1245  start = between;
1246  }
1247  os << "}";
1248  break;
1249  }
1250  case kTint32: {
1251  os << entry.getInt32();
1252  break;
1253  }
1254  case kTuint32: {
1255  os << entry.getUInt32();
1256  break;
1257  }
1258  case kTVInputTag: {
1259  //VInputTag needs to be treated seperately because it is encode like
1260  // vector<string> rather than using the individual encodings of each InputTag
1261  os << "{";
1262  std::string start = "";
1263  std::string const between(",");
1264  std::vector<InputTag> tags = entry.getVInputTag();
1265  for (std::vector<InputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1266  os << start << it->encode();
1267  start = between;
1268  }
1269  os << "}";
1270  break;
1271  }
1272  case kTVESInputTag: {
1273  //VESInputTag needs to be treated seperately because it is encode like
1274  // vector<string> rather than using the individual encodings of each ESInputTag
1275  os << "{";
1276  std::string start = "";
1277  std::string const between(",");
1278  std::vector<ESInputTag> tags = entry.getVESInputTag();
1279  for (std::vector<ESInputTag>::const_iterator it = tags.begin(), itEnd = tags.end(); it != itEnd; ++it) {
1280  os << start << it->encode();
1281  start = between;
1282  }
1283  os << "}";
1284  break;
1285  }
1286  default: {
1287  os << entry.rep_;
1288  break;
1289  }
1290  }
1291 
1292  return os;
1293  }
Definition: start.py:1
Definition: Entry.cc:39
static constexpr std::string_view typeFromCode(char iCode)
Definition: Entry.cc:206
Definition: Entry.cc:25

Member Data Documentation

◆ name_

std::string edm::Entry::name_
private

Definition at line 184 of file Entry.h.

Referenced by throwEncodeError(), throwEntryError(), and throwValueError().

◆ rep_

std::string edm::Entry::rep_
private

◆ tracked_

char edm::Entry::tracked_
private

Definition at line 187 of file Entry.h.

Referenced by fromString(), isTracked(), toDigest(), toString(), and validate().

◆ type_

char edm::Entry::type_
private