LehrFEM++ 1.0.0
A simple Finite Element Library for teaching
Loading...
Searching...
No Matches
lehrfem_info.h
1
9#ifndef INCG8efea66a20694b749ebcac463c2beaae
10#define INCG8efea66a20694b749ebcac463c2beaae
11
12#include <string>
13
14namespace lf::base {
15
21 public:
28 static std::string getVersionSha();
29
35 static std::string getVersionDateTime();
36
46 static std::string getVersionTag();
47
53 static void PrintInfo(std::ostream& stream);
54
59 static void PrintLicense(std::ostream& stream);
60
66 static void Print3rdPartyLicenses(std::ostream& stream);
67};
68
69} // namespace lf::base
70
71#endif // INCG8efea66a20694b749ebcac463c2beaae
Provides extra information about this version of LehrFEM++, in particular licensing information.
static void Print3rdPartyLicenses(std::ostream &stream)
Print information about third-party libraries used by LehrFEM++ to the given stream.
static void PrintLicense(std::ostream &stream)
Print the MIT License which applies to the LehrFEM++ code.
static std::string getVersionSha()
Get the git sha1 of this commit of LehrFEM++ (agrees with the sha1 of the respective commit on github...
static std::string getVersionTag()
Get the name of a git Tag attached to this commit. (Mostly the empty string)
static std::string getVersionDateTime()
Get the date and time of this commit of LehrFEM++.
static void PrintInfo(std::ostream &stream)
Prints the LehrFEM++ banner to the given stream including version information.
Contains basic functionality that is used by other parts of LehrFEM++.
Definition base.h:15