Mech-Eye API 2.3.3
API reference documentation for Mech-Eye Industrial 3D Camera
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mmind::eye::Version Class Reference

Describes the version information. More...

#include <Version.h>

Public Member Functions

 Version ()=default
 Default constructor.
 
 Version (int major, int minor, int patch)
 Constructor.
 
 Version (const std::string &version)
 Constructor.
 
bool operator== (const Version &other) const
 Overloads the == operator to determine if two Version objects are equal.
 
bool operator!= (const Version &other) const
 Overloads the != operator to determine if two Version objects are unequal.
 
bool operator>= (const Version &other) const
 Overloads the >= operator to determine if one Version object is greater than or equal to the other.
 
bool operator< (const Version &other) const
 Overloads the < operator to determine if one Version object is smaller than the other.
 
bool operator<= (const Version &other) const
 Overloads the <= operator to determine if one Version object is smaller than or equal to the other.
 
std::string toString () const
 Converts a Version object to a string.
 
void fromString (const std::string &version)
 Converts a version in the string format to a Version object.
 
bool isEmpty () const
 Checks if a Version object is empty.
 

Detailed Description

Describes the version information.

Definition at line 18 of file Version.h.

Constructor & Destructor Documentation

◆ Version() [1/2]

mmind::eye::Version::Version ( int major,
int minor,
int patch )
inline

Constructor.

Definition at line 29 of file Version.h.

◆ Version() [2/2]

mmind::eye::Version::Version ( const std::string & version)
inlineexplicit

Constructor.

Definition at line 34 of file Version.h.

Member Function Documentation

◆ fromString()

void mmind::eye::Version::fromString ( const std::string & version)
inline

Converts a version in the string format to a Version object.

Definition at line 81 of file Version.h.

◆ isEmpty()

bool mmind::eye::Version::isEmpty ( ) const
inline

Checks if a Version object is empty.

Definition at line 95 of file Version.h.

◆ operator!=()

bool mmind::eye::Version::operator!= ( const Version & other) const
inline

Overloads the != operator to determine if two Version objects are unequal.

Definition at line 44 of file Version.h.

◆ operator<()

bool mmind::eye::Version::operator< ( const Version & other) const
inline

Overloads the < operator to determine if one Version object is smaller than the other.

Definition at line 60 of file Version.h.

◆ operator<=()

bool mmind::eye::Version::operator<= ( const Version & other) const
inline

Overloads the <= operator to determine if one Version object is smaller than or equal to the other.

Definition at line 66 of file Version.h.

◆ operator==()

bool mmind::eye::Version::operator== ( const Version & other) const
inline

Overloads the == operator to determine if two Version objects are equal.

Definition at line 39 of file Version.h.

◆ operator>=()

bool mmind::eye::Version::operator>= ( const Version & other) const
inline

Overloads the >= operator to determine if one Version object is greater than or equal to the other.

Definition at line 50 of file Version.h.

◆ toString()

std::string mmind::eye::Version::toString ( ) const
inline

Converts a Version object to a string.

Definition at line 71 of file Version.h.


The documentation for this class was generated from the following file: