PandaRoot
PndVersionInfo.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include <Rtypes.h>
14 #include <string>
15 
17  public:
20  void Print();
21 
22  std::string GetRev() { return fGitRev; }
23  std::string GetTag() { return fGitTag; }
24  std::string GetBranch() { return fGitBranch; }
25 
26  protected:
27  std::string fGitRev; // commit hash, ends with "+" if there are local changes
28  std::string fGitTag; // commit Tag
29  std::string fGitBranch; // current branch
30 
31  // ClassDef(PndVersionInfo, 1)
32 };
std::string GetBranch()
std::string fGitRev
std::string GetTag()
Handles Git and Version information.
std::string fGitBranch
std::string fGitTag
std::string GetRev()