25 #ifndef NRG_VERSION_H_
26 #define NRG_VERSION_H_
32 uint16_t v_major, v_minor, v_patch;
43 Version(uint16_t a, uint16_t b, uint16_t c)
52 bool operator>(
const Version&)
const ;
53 bool operator<(
const Version&)
const ;
54 bool operator>=(
const Version&)
const ;
55 bool operator<=(
const Version&)
const ;
56 bool operator==(
const Version&)
const ;
57 bool operator!=(
const Version&)
const ;
62 Version getLibVersion(
void);
65 bool isVersionCompatible(
const Version& v);
A class to store the version of the library.
Definition: nrg_version.h:31
Version(uint16_t a, uint16_t b, uint16_t c)
Construct with major, minor and patch version a, b, and c respectively.
Definition: nrg_version.h:43
Version()
Default constructor.
Definition: nrg_version.h:35
Common defines and includes used by all the other nrg header files.