OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
Version Class Reference

Public Types

typedef VersionComponent Component

Public Member Functions

 Version (Component major, Component minor, Component patch)
 Version (const Version &other)
Component major () const
Component minor () const
Component patch () const
Versionoperator= (const Version &other)

Static Public Member Functions

static ONIXS_CONFLATEDUDP_EXPORTED Version current ()

Detailed Description

Identifies version of the product.

Provides access to single components which compound whole version, comparing and serialization/deserialization facilities.

Definition at line 38 of file Version.h.

Member Typedef Documentation

◆ Component

Alias for the numeric component.

Definition at line 48 of file Version.h.

Constructor & Destructor Documentation

◆ Version() [1/2]

Version ( Component major,
Component minor,
Component patch )
inline

Initializes the instance from the given components.

Definition at line 51 of file Version.h.

◆ Version() [2/2]

Version ( const Version & other)
inline

Initializes as a copy of the other instance.

Definition at line 62 of file Version.h.

Member Function Documentation

◆ current()

ONIXS_CONFLATEDUDP_EXPORTED Version current ( )
static

Identifies the current version of the product.

◆ major()

Component major ( ) const
inline

'major' component of the version.

Definition at line 71 of file Version.h.

◆ minor()

Component minor ( ) const
inline

'minor' component of the version.

Definition at line 77 of file Version.h.

◆ operator=()

Version & operator= ( const Version & other)
inline

Re-initializes the instance as a copy of the other one.

Definition at line 91 of file Version.h.

◆ patch()

Component patch ( ) const
inline

'patch' component of the version.

Definition at line 83 of file Version.h.