OnixS C++ CME MDP Premium Market Data Handler 5.9.0
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 Version current ()

Detailed Description

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 42 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 45 of file Version.h.

◆ Version() [2/2]

Version ( const Version & other)
inline

Initializes as a copy of the other instance.

Definition at line 53 of file Version.h.

Member Function Documentation

◆ current()

Version current ( )
static

Identifies the current version of the product.

◆ major()

Component major ( ) const
inline

'major' component of the version.

Definition at line 61 of file Version.h.

◆ minor()

Component minor ( ) const
inline

'minor' component of the version.

Definition at line 67 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 80 of file Version.h.

◆ patch()

Component patch ( ) const
inline

'patch' component of the version.

Definition at line 73 of file Version.h.