artdaq_utilities  v1_05_00
PackageBuildInfo.hh
1 #ifndef artdaq_core_Data_PackageBuildInfo_hh
2 #define artdaq_core_Data_PackageBuildInfo_hh
3 
4 #include <string>
5 
6 namespace artdaq
7 {
8  class PackageBuildInfo;
9 }
10 
19 {
20 public:
24  explicit PackageBuildInfo() {}
25 
30  std::string getPackageName() const { return packageName_; }
31 
36  std::string getPackageVersion() const { return packageVersion_; }
37 
42  std::string getBuildTimestamp() const { return buildTimestamp_; }
43 
48  void setPackageName(std::string str) { packageName_ = str; }
49 
54  void setPackageVersion(std::string str) { packageVersion_ = str; }
55 
60  void setBuildTimestamp(std::string str) { buildTimestamp_ = str; }
61 
62 private:
63 
67  std::string packageName_;
71  std::string packageVersion_;
75  std::string buildTimestamp_;
76 };
77 
78 #endif /* artdaq_core_Data_PackageBuildInfo_hh */
std::string getPackageName() const
Gets the package name.
Class holding information about the artdaq package build.
void setBuildTimestamp(std::string str)
Sets the build timestamp.
std::string getBuildTimestamp() const
Gets the build timestamp.
std::string getPackageVersion() const
Gets the package version.
PackageBuildInfo()
Default Constructor.
void setPackageVersion(std::string str)
Sets the package version.
void setPackageName(std::string str)
Sets the package name.