VitroIO SDK
Software development kit for Vitro Shard.
|
Structure representing version in format major.minor.patch. More...
#include <types.h>
Public Member Functions | |
Version (uint8_t amajor, uint8_t aminor, uint8_t apatch, uint8_t rc) | |
Constructor initializes the structure. More... | |
Version (const uint8_t *buffer) | |
Constructor initializes the structure. More... | |
bool | operator> (const Version &v) |
int | toInt () |
Public Attributes | |
uint8_t | major |
uint8_t | minor |
uint8_t | patch |
uint8_t | rc |
Structure representing version in format major.minor.patch.
vitroio::sdk::Version::Version | ( | uint8_t | amajor, |
uint8_t | aminor, | ||
uint8_t | apatch, | ||
uint8_t | rc | ||
) |
Constructor initializes the structure.
amajor | Value of major part of version |
aminor | Value of minor part of version |
apatch | Value of patch part of version |
rc | Value of realase candidate part of version |
vitroio::sdk::Version::Version | ( | const uint8_t * | buffer | ) |
Constructor initializes the structure.
buffer | buffer containing version as binary |
bool vitroio::sdk::Version::operator> | ( | const Version & | v | ) |
int vitroio::sdk::Version::toInt | ( | ) |
uint8_t vitroio::sdk::Version::major |
uint8_t vitroio::sdk::Version::minor |
uint8_t vitroio::sdk::Version::patch |
uint8_t vitroio::sdk::Version::rc |