helib::version Class Reference
The class acts as a namespace with all members static. Holds the version number for this code of HElib. More...
#include <version.in.h>
Static Public Member Functions | |
| static constexpr bool | greaterEquals (long major_, long minor_=0, long patch_=0) |
| Function that returns whether this version of HElib is equal to or higher than a specified version. More... | |
| static const char * | libString () |
| Get the string version from the HElib compiled library instead of the one defined in the header. More... | |
Static Public Attributes | |
| static constexpr long | major = @PROJECT_VERSION_MAJOR@ |
| The major number of this version of HElib. More... | |
| static constexpr long | minor = @PROJECT_VERSION_MINOR@ |
| The minor number of this version of HElib. More... | |
| static constexpr long | patch = @PROJECT_VERSION_PATCH@ |
| The patch number of this version of HElib. More... | |
| static constexpr auto | asString = "@PROJECT_VERSION@" |
| The string representation of this version of HElib. More... | |
Detailed Description
The class acts as a namespace with all members static. Holds the version number for this code of HElib.
Member Function Documentation
◆ greaterEquals()
|
inlinestaticconstexpr |
Function that returns whether this version of HElib is equal to or higher than a specified version.
- Parameters
-
major The major version number. minor The minor version number. patch The patch version number.
- Returns
trueif current HElib version is greater than or equal to the specified version version.
◆ libString()
|
static |
Get the string version from the HElib compiled library instead of the one defined in the header.
- Returns
- A string representing the version of HElib stored in the compiled library instead of from the one defined in the header.
Member Data Documentation
◆ asString
|
staticconstexpr |
The string representation of this version of HElib.
◆ major
|
staticconstexpr |
The major number of this version of HElib.
◆ minor
|
staticconstexpr |
The minor number of this version of HElib.
◆ patch
|
staticconstexpr |
The patch number of this version of HElib.
1.9.1