Class VersionInformation

Class Documentation

class VersionInformation

Struct containing a robot’s version information.

Public Functions

VersionInformation()
~VersionInformation() = default
bool isESeries() const

Public Members

uint32_t major

Major version number.

uint32_t minor

Minor version number.

uint32_t bugfix

Bugfix version number.

uint32_t build

Build number.

Public Static Functions

static VersionInformation fromString(const std::string &str)

Parses a version string into a VersionInformation object.

Parameters:

str – Version string such as “5.12.0.1101319”

Returns:

A parsed VersionInformation object

Friends

friend bool operator==(const VersionInformation &v1, const VersionInformation &v2)
friend bool operator!=(const VersionInformation &v1, const VersionInformation &v2)
friend bool operator<(const VersionInformation &v1, const VersionInformation &v2)
friend bool operator<=(const VersionInformation &v1, const VersionInformation &v2)
friend bool operator>(const VersionInformation &v1, const VersionInformation &v2)
friend bool operator>=(const VersionInformation &v1, const VersionInformation &v2)
inline friend std::ostream &operator<<(std::ostream &os, const VersionInformation &version_info)