OpenLexocad
28.0
|
A proxy class to conveniently get the automatically generated version of lexocad. More...
#include <Version.h>
Public Types | |
using | PFN_LexocadVersion = void(*)(int *, int *, int *, int *) |
using | PFN_LexocadVersionPart = int(*)() |
using | PFN_LexocadVersionString = const char *(*)() |
Public Member Functions | |
Version (const Version &other)=delete | |
Version & | operator= (const Version &other)=delete |
Static Public Member Functions | |
static Version & | instance () |
Public Attributes | |
const unsigned | major |
const unsigned | minor |
const unsigned | patch |
const unsigned | revision |
const char * | buildDateTime |
const char * | document |
const char * | product |
A proxy class to conveniently get the automatically generated version of lexocad.
This class serves for decoupling the generation of the version data by cmake by every configure and compilation of Core. If you include the generated header file directly it will force the Core to be recompiled every time the header is generated (e.g. when the svn revision number changes = every time). And thus to possibly recompile everything that depends on the Core ( = almost everything).
using Core::Version::PFN_LexocadVersion = void (*)(int*, int*, int*, int*) |
using Core::Version::PFN_LexocadVersionPart = int (*)() |
using Core::Version::PFN_LexocadVersionString = const char* (*)() |
|
delete |
|
static |
const char* Core::Version::buildDateTime |
const char* Core::Version::document |
const unsigned Core::Version::major |
const unsigned Core::Version::minor |
const unsigned Core::Version::patch |
const char* Core::Version::product |
const unsigned Core::Version::revision |