26#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_VERSION_H_
27#define ELEMENTSKERNEL_ELEMENTSKERNEL_VERSION_H_
37 return (((maj) << 32) + ((min) << 16) + (pat));
83 const unsigned short patch = 0);
defines the macros to be used for explicit export of the symbols
ELEMENTS_API std::string getVersionString(const unsigned short major, const unsigned short minor, const unsigned short patch=0)
Function converting the version numbers into a string.
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
ELEMENTS_API std::string getVersionFromSvnKeywords(const std::string &svnUrl, const std::string &svnId)
Function returning a version string extracted from SVN keywords.
constexpr std::uint_least64_t CALC_PROJECT_VERSION(const std::uint_least64_t maj, const std::uint_least64_t min, const std::uint_least64_t pat)
Mangle major, minor and patch version number into a single integer.