GooseEYE
0.9.1
Loading...
Searching...
No Matches
version.hpp
Go to the documentation of this file.
1
7
#ifndef GOOSEEYE_VERSION_HPP
8
#define GOOSEEYE_VERSION_HPP
9
10
#include "
version.h
"
11
12
namespace
GooseEYE
{
13
14
namespace
detail {
15
16
inline
std::string unquote(
const
std::string& arg)
17
{
18
std::string ret = arg;
19
ret.erase(std::remove(ret.begin(), ret.end(),
'\"'
), ret.end());
20
return
ret;
21
}
22
23
}
// namespace detail
24
25
inline
std::string
version
()
26
{
27
return
detail::unquote(std::string(QUOTE(
GOOSEEYE_VERSION
)));
28
}
29
30
}
// namespace GooseEYE
31
32
#endif
GooseEYE
Toolbox to compute statistics.
Definition
config.h:128
GooseEYE::version
std::string version()
Return version string, e.g.
Definition
version.hpp:25
version.h
GOOSEEYE_VERSION
#define GOOSEEYE_VERSION
Current version.
Definition
version.h:33
GooseEYE
version.hpp
Generated by
1.10.0