Elements 6.3.2
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Project.h
Go to the documentation of this file.
1
21
26
27#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_PROJECT_H_
28#define ELEMENTSKERNEL_ELEMENTSKERNEL_PROJECT_H_
29
30#include <algorithm> // for for_each
31#include <cstdint> // for uint_least64_t
32#include <iostream> // for ostream
33#include <string> // for string
34#include <vector> // for vector
35
36#include "ThisProject.h" // local project constants generated
37 // by the build system
38
39namespace Elements {
40
41struct Project {
42
43 static std::string name();
44
45 static std::string versionString();
46
47 static std::uint_least64_t version();
48
49 static std::uint_least64_t majorVersion();
50
51 static std::uint_least64_t minorVersion();
52
53 static std::uint_least64_t patchVersion();
54
55 static std::string originalVersion();
56
57 static std::string vcsVersion();
58
59 static std::string installLocation();
60
61 static bool useSoVersion();
62
63 static std::string installPrefix();
64
65 static std::vector<std::string> searchDirectories();
66};
67
68std::ostream& operator<<(std::ostream& stream, const Project& /* p */);
69
70} // namespace Elements
71
72#define ELEMENTSKERNEL_ELEMENTSKERNEL_PROJECT_IMPL_
73#include "ElementsKernel/_impl/Project.tpp" // IWYU pragma: export
74#undef ELEMENTSKERNEL_ELEMENTSKERNEL_PROJECT_IMPL_
75
76#endif // ELEMENTSKERNEL_ELEMENTSKERNEL_PROJECT_H_
77
implementation of the templates declared in ElementsKernel/Project.h
ELEMENTS_API std::ostream & operator<<(std::ostream &, const Environment::Variable &)
static std::uint_least64_t minorVersion()
static bool useSoVersion()
static std::uint_least64_t majorVersion()
static std::string originalVersion()
static std::string installPrefix()
static std::vector< std::string > searchDirectories()
static std::uint_least64_t patchVersion()
static std::uint_least64_t version()
static std::string vcsVersion()
static std::string versionString()
static std::string installLocation()
static std::string name()