Provides access to the version of the package. More...
#include <Version.h>
Static Public Member Functions | |
static std::string const & | Commit () |
Returns the hash of the Git commit. | |
Private Member Functions | |
Version (Version const &) | |
Version & | operator= (Version const &) |
Static Private Member Functions | |
static Version & | GetInstance () |
Returns the only instance of this class. | |
Private Attributes | |
std::string | commit_ |
Hash of the commit. |
Provides access to the version of the package.
Implemented as a Mayer's singleton.