CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
ecaldqm::Dependency Struct Reference

#include <DQWorkerTask.h>

Public Member Functions

void append (Collections _r)
 
void append (std::set< Collections > const &_s)
 
 Dependency ()
 
 Dependency (Collections _d, int _r1=-1, int _r2=-1, int _r3=-1, int _r4=-1)
 

Public Attributes

Collections dependant
 
std::set< Collectionsrequisite
 

Detailed Description

Definition at line 21 of file DQWorkerTask.h.

Constructor & Destructor Documentation

ecaldqm::Dependency::Dependency ( )
inline

Definition at line 25 of file DQWorkerTask.h.

25 : dependant(Collections(-1)), requisite() {}
Collections dependant
Definition: DQWorkerTask.h:22
std::set< Collections > requisite
Definition: DQWorkerTask.h:23
ecaldqm::Dependency::Dependency ( Collections  _d,
int  _r1 = -1,
int  _r2 = -1,
int  _r3 = -1,
int  _r4 = -1 
)
inline

Definition at line 26 of file DQWorkerTask.h.

References mps_setup::append.

26  :
27  dependant(_d),
28  requisite()
29  {
30  if(_r1 >= 0) append(Collections(_r1));
31  if(_r2 >= 0) append(Collections(_r2));
32  if(_r3 >= 0) append(Collections(_r3));
33  if(_r4 >= 0) append(Collections(_r4));
34  }
Collections dependant
Definition: DQWorkerTask.h:22
void append(Collections _r)
Definition: DQWorkerTask.h:35
std::set< Collections > requisite
Definition: DQWorkerTask.h:23

Member Function Documentation

void ecaldqm::Dependency::append ( Collections  _r)
inline

Definition at line 35 of file DQWorkerTask.h.

Referenced by diclist.diclist::add(), and Vispa.Views.PropertyView.PropertyView::addProperty().

36  {
37  if(_r != int(dependant)) requisite.insert(_r);
38  }
Collections dependant
Definition: DQWorkerTask.h:22
std::set< Collections > requisite
Definition: DQWorkerTask.h:23
void ecaldqm::Dependency::append ( std::set< Collections > const &  _s)
inline

Definition at line 39 of file DQWorkerTask.h.

References mps_setup::append.

Referenced by diclist.diclist::add(), and Vispa.Views.PropertyView.PropertyView::addProperty().

40  {
41  for(std::set<Collections>::const_iterator sItr(_s.begin()); sItr != _s.end(); ++sItr)
42  append(*sItr);
43  }
void append(Collections _r)
Definition: DQWorkerTask.h:35

Member Data Documentation

Collections ecaldqm::Dependency::dependant
std::set<Collections> ecaldqm::Dependency::requisite