Encapsulates a version number. More...
#include <CVersion.h>
Public Member Functions | |
CVersion () | |
Constructor. More... | |
CVersion (const CVersion &Version) | |
Copy Constructor. More... | |
bool | FromString (const GENICAM_NAMESPACE::gcstring strVersion) |
Parse a Version string. More... | |
bool | operator< (const CVersion &Version) const |
CVersion & | operator= (const CVersion &Version) |
Copy Assignment. More... | |
bool | operator== (const CVersion &Version) const |
bool | operator> (const CVersion &Version) const |
Comparison (for sorting) More... | |
GENICAM_NAMESPACE::gcstring | ToString () |
Protected Attributes | |
int32_t | m_Major |
Major version number; if changed backward compatiblitity is broken. More... | |
int32_t | m_Minor |
Minor version number; if changed backward compatiblitity is maintained. More... | |
int32_t | m_SubMinor |
SubMinor version number; bugfixes only - no new features. More... | |
Encapsulates a version number.
Definition at line 40 of file CVersion.h.
CLProtocol::CVersion::CVersion | ( | ) |
Constructor.
CLProtocol::CVersion::CVersion | ( | const CVersion & | Version | ) |
Copy Constructor.
bool CLProtocol::CVersion::FromString | ( | const GENICAM_NAMESPACE::gcstring | strVersion | ) |
Parse a Version string.
Returns true if the parsing was successful. The following two forms of strings are allowed "SchemaVersion.1.2" "XMLVersion.1.2.3"
bool CLProtocol::CVersion::operator< | ( | const CVersion & | Version | ) | const |
bool CLProtocol::CVersion::operator== | ( | const CVersion & | Version | ) | const |
bool CLProtocol::CVersion::operator> | ( | const CVersion & | Version | ) | const |
Comparison (for sorting)
GENICAM_NAMESPACE::gcstring CLProtocol::CVersion::ToString | ( | ) |
|
protected |
Major version number; if changed backward compatiblitity is broken.
Definition at line 71 of file CVersion.h.
|
protected |
Minor version number; if changed backward compatiblitity is maintained.
Definition at line 74 of file CVersion.h.
|
protected |
SubMinor version number; bugfixes only - no new features.
Definition at line 77 of file CVersion.h.