ATEsystem.PIRIS-driver: ATEsystem_PIRIS::Version Class Reference

ATEsystem.PIRIS

ATEsystem.PIRIS-driver  1.0.1
ATEsystem.PIRIS-driver
ATEsystem_PIRIS::Version Class Reference

More...

#include <ATEsystem.PIRIS.h>

Public Member Functions

 Version (uint16_t major=0, uint16_t minor=0, uint16_t revision=0)
 
const uint16_t getMajor () const
 
const uint16_t getMinor () const
 
const uint16_t getRevision () const
 
const std::tuple< uint16_t, uint16_t, uint16_t > getVersion () const
 
std::string ToString () const
 

Friends

std::ostream & operator<< (std::ostream &strm, const Version &ver)
 
bool operator== (const Version &ver1, const Version &ver2)
 
bool operator> (const Version &ver1, const Version &ver2)
 
bool operator>= (const Version &ver1, const Version &ver2)
 
bool operator< (const Version &ver1, const Version &ver2)
 
bool operator<= (const Version &ver1, const Version &ver2)
 

Detailed Description

Simple version (Major, Minor, Rev) container class.

Constructor & Destructor Documentation

◆ Version()

ATEsystem_PIRIS::Version::Version ( uint16_t  major = 0,
uint16_t  minor = 0,
uint16_t  revision = 0 
)

Member Function Documentation

◆ getMajor()

const uint16_t ATEsystem_PIRIS::Version::getMajor ( ) const

◆ getMinor()

const uint16_t ATEsystem_PIRIS::Version::getMinor ( ) const

◆ getRevision()

const uint16_t ATEsystem_PIRIS::Version::getRevision ( ) const

◆ getVersion()

const std::tuple< uint16_t, uint16_t, uint16_t > ATEsystem_PIRIS::Version::getVersion ( ) const

◆ ToString()

std::string ATEsystem_PIRIS::Version::ToString ( ) const

Friends And Related Function Documentation

◆ operator<

bool operator< ( const Version ver1,
const Version ver2 
)
friend

◆ operator<<

std::ostream& operator<< ( std::ostream &  strm,
const Version ver 
)
friend

◆ operator<=

bool operator<= ( const Version ver1,
const Version ver2 
)
friend

◆ operator==

bool operator== ( const Version ver1,
const Version ver2 
)
friend

◆ operator>

bool operator> ( const Version ver1,
const Version ver2 
)
friend

◆ operator>=

bool operator>= ( const Version ver1,
const Version ver2 
)
friend

The documentation for this class was generated from the following files:
Generated by   doxygen 1.8.15