artdaq_utilities  v1_05_00
artdaq::PackageBuildInfo Class Reference

Class holding information about the artdaq package build. More...

#include <artdaq-utilities/BuildInfo/PackageBuildInfo.hh>

Public Member Functions

 PackageBuildInfo ()
 Default Constructor.
 
std::string getPackageName () const
 Gets the package name. More...
 
std::string getPackageVersion () const
 Gets the package version. More...
 
std::string getBuildTimestamp () const
 Gets the build timestamp. More...
 
void setPackageName (std::string str)
 Sets the package name. More...
 
void setPackageVersion (std::string str)
 Sets the package version. More...
 
void setBuildTimestamp (std::string str)
 Sets the build timestamp. More...
 

Detailed Description

Class holding information about the artdaq package build.

The PackageBuildInfo class contains the name of the package, the version, and the timestamp of the build. artdaq stores this information in each data file.

Definition at line 18 of file PackageBuildInfo.hh.

Member Function Documentation

std::string artdaq::PackageBuildInfo::getBuildTimestamp ( ) const
inline

Gets the build timestamp.

Returns
The timestamp of the build

Definition at line 42 of file PackageBuildInfo.hh.

std::string artdaq::PackageBuildInfo::getPackageName ( ) const
inline

Gets the package name.

Returns
The package name

Definition at line 30 of file PackageBuildInfo.hh.

std::string artdaq::PackageBuildInfo::getPackageVersion ( ) const
inline

Gets the package version.

Returns
The package version

Definition at line 36 of file PackageBuildInfo.hh.

void artdaq::PackageBuildInfo::setBuildTimestamp ( std::string  str)
inline

Sets the build timestamp.

Parameters
strThe timestamp of the build

Definition at line 60 of file PackageBuildInfo.hh.

void artdaq::PackageBuildInfo::setPackageName ( std::string  str)
inline

Sets the package name.

Parameters
strThe package name

Definition at line 48 of file PackageBuildInfo.hh.

void artdaq::PackageBuildInfo::setPackageVersion ( std::string  str)
inline

Sets the package version.

Parameters
strThe package version

Definition at line 54 of file PackageBuildInfo.hh.


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