Version information for GenICam related objects. More...
#include <cvb/genapi/node_map.hpp>
Public Member Functions | |
GenApiVersion () noexcept=default | |
Creates a default version object (0.0.0) More... | |
GenApiVersion (std::uint16_t major, std::uint16_t minor, std::uint16_t subMinor) noexcept | |
Creates a version object from version integers. More... | |
String | ToString () const |
Gets the string representation of this version. More... | |
std::uint16_t | Major () const noexcept |
Gets the major version number. More... | |
void | SetMajor (std::uint16_t major) noexcept |
Sets the major version number. More... | |
std::uint16_t | Minor () const noexcept |
Gets the minor version number. More... | |
void | SetMinor (std::uint16_t minor) noexcept |
Sets the minor version number. More... | |
std::uint16_t | SubMinor () const noexcept |
Gets the sub-minor version number. More... | |
void | SetSubMinor (std::uint16_t subMinor) noexcept |
Sets the sub-minor version number. More... | |
bool | operator== (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
bool | operator!= (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
bool | operator< (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
bool | operator<= (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
bool | operator> (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
bool | operator>= (const GenApiVersion &version) const noexcept |
Compares to an other version. More... | |
Version information for GenICam related objects.
The versions are managed as follows:
|
defaultnoexcept |
Creates a default version object (0.0.0)
Does | not throw any exception. |
|
inlinenoexcept |
Creates a version object from version integers.
[in] | major | Major version number |
[in] | minor | Minor version number. |
[in] | subMinor | Sub-minor version number. |
Does | not throw any exception. |
|
inlinenoexcept |
Gets the major version number.
Does | not throw any exception. |
|
inlinenoexcept |
Gets the minor version number.
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Compares to an other version.
[in] | version | Other version. |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the major version number.
[in] | major | The version number |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the minor version number.
[in] | minor | The version number |
Does | not throw any exception. |
|
inlinenoexcept |
Sets the sub-minor version number.
[in] | subMinor | The version number |
Does | not throw any exception. |
|
inlinenoexcept |
Gets the sub-minor version number.
Does | not throw any exception. |
|
inline |
Gets the string representation of this version.
Any | exception derived from std::exception including CvbException. |