PandaRoot
PndVersionInfo.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
23
#pragma once
24
25
#include <Rtypes.h>
26
#include <string>
27
28
class
PndVersionInfo
{
29
public
:
30
PndVersionInfo
();
31
~PndVersionInfo
() {}
32
void
Print
();
33
34
std::string
GetRev
() {
return
fGitRev
; }
35
std::string
GetTag
() {
return
fGitTag
; }
36
std::string
GetBranch
() {
return
fGitBranch
; }
37
38
protected
:
39
std::string
fGitRev
;
// commit hash, ends with "+" if there are local changes
40
std::string
fGitTag
;
// commit Tag
41
std::string
fGitBranch
;
// current branch
42
43
// ClassDef(PndVersionInfo, 1)
44
};
PndVersionInfo::GetBranch
std::string GetBranch()
Definition:
PndVersionInfo.h:36
PndVersionInfo::fGitRev
std::string fGitRev
Definition:
PndVersionInfo.h:39
PndVersionInfo::~PndVersionInfo
~PndVersionInfo()
Definition:
PndVersionInfo.h:31
PndVersionInfo::GetTag
std::string GetTag()
Definition:
PndVersionInfo.h:35
PndVersionInfo
Handles Git and Version information.
Definition:
PndVersionInfo.h:28
PndVersionInfo::fGitBranch
std::string fGitBranch
Definition:
PndVersionInfo.h:41
PndVersionInfo::Print
void Print()
PndVersionInfo::fGitTag
std::string fGitTag
Definition:
PndVersionInfo.h:40
PndVersionInfo::PndVersionInfo
PndVersionInfo()
PndVersionInfo::GetRev
std::string GetRev()
Definition:
PndVersionInfo.h:34
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
tools
PndVersionInfo.h
Generated on Fri Nov 29 2024 06:04:45 for PandaRoot by
1.8.13