PandaRoot
PndVersionInfo.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <Rtypes.h>
14
#include <string>
15
16
class
PndVersionInfo
{
17
public
:
18
PndVersionInfo
();
19
~PndVersionInfo
() {}
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
};
PndVersionInfo::GetBranch
std::string GetBranch()
Definition:
PndVersionInfo.h:24
PndVersionInfo::fGitRev
std::string fGitRev
Definition:
PndVersionInfo.h:27
PndVersionInfo::~PndVersionInfo
~PndVersionInfo()
Definition:
PndVersionInfo.h:19
PndVersionInfo::GetTag
std::string GetTag()
Definition:
PndVersionInfo.h:23
PndVersionInfo
Handles Git and Version information.
Definition:
PndVersionInfo.h:16
PndVersionInfo::fGitBranch
std::string fGitBranch
Definition:
PndVersionInfo.h:29
PndVersionInfo::Print
void Print()
PndVersionInfo::fGitTag
std::string fGitTag
Definition:
PndVersionInfo.h:28
PndVersionInfo::PndVersionInfo
PndVersionInfo()
PndVersionInfo::GetRev
std::string GetRev()
Definition:
PndVersionInfo.h:22
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tools
PndVersionInfo.h
Generated on Fri Oct 6 2023 07:04:58 for PandaRoot by
1.8.13