Utility to deal with Serialbox versions.
More...
#include <Version.h>
|
|
static std::string | toString (int version) |
| Convert to string.
|
|
static std::string | toString (int major, int minor, int patch) |
|
|
static bool | match (int version) noexcept |
| Check if the given version matches the current library version. More...
|
|
|
static bool | isCompatible (int version) noexcept |
| Check if the given version is compatible with the current library version (i.e. is older) More...
|
|
Utility to deal with Serialbox versions.
Definition at line 27 of file Version.h.
◆ isCompatible()
static bool serialbox::Version::isCompatible |
( |
int |
version | ) |
|
|
inlinestaticnoexcept |
Check if the given version is compatible with the current library version (i.e. is older)
- Returns
- Return true if the versions is compatible
Definition at line 61 of file Version.h.
◆ match()
static bool serialbox::Version::match |
( |
int |
version | ) |
|
|
inlinestaticnoexcept |
Check if the given version matches the current library version.
- Returns
- Return true if the versions match
Definition at line 53 of file Version.h.
The documentation for this struct was generated from the following file: