Diana Software
QModuleConfig.hh
Go to the documentation of this file.
1 #ifndef _Q_MODULECONFIG_HH_
2 #define _Q_MODULECONFIG_HH_
3 
12 #include "QObject.hh"
13 #include <string>
14 #include <map>
15 
16 class QModuleConfig : public Diana::QObject {
17 
18  public:
20  void Clear()
21  {
22  fSequenceName.clear();
23  fOccurrence = 0;
24  fSoftwareRevision.clear();
25  fVersionTag.clear();
26  fParameters.clear();
27  fName.clear();
28  fLabel.clear();
29  fType.clear();
30  }
31 
33  std::string fSequenceName;
34 
37 
39  std::string fVersionTag;
40 
42  std::string fSoftwareRevision;
43 
45  std::string fType;
46 
48  std::string fName;
49 
51  std::string fLabel;
52 
54  std::map<std::string,std::string> fParameters;
55 
57  void Dump(std::ostream& o) const;
58  private:
59 
61 
62 };
63 
64 #endif
QObject to store a QBaseModule configuration.
int fOccurrence
occurrence in sequence
std::map< std::string, std::string > fParameters
config and optional parameters
std::string fName
module name
std::string fLabel
label of the module = fName + "_" + ExtraLabel
void Dump(std::ostream &o) const
dump parameters
Definition: QModuleConfig.cc:5
void Clear()
clear members
std::string fSoftwareRevision
GIT revision SHA-1
std::string fVersionTag
Version release tag.
std::string fSequenceName
sequence name
std::string fType
module type (reader,module,driver...)
QObjectDef(QModuleConfig, 5)