OnixS C++ CME MDP Streamlined Market Data Handler 1.2.0
API Documentation
Loading...
Searching...
No Matches
Version Class Reference

Public Types

typedef UInt16 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 35 of file Version.h.

Member Typedef Documentation

◆ Component

typedef UInt16 Component

Alias for the numeric component of version.

Definition at line 39 of file Version.h.

Constructor & Destructor Documentation

◆ Version() [1/2]

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

Initializes instances from all the components.

Definition at line 42 of file Version.h.

◆ Version() [2/2]

Version ( const Version & other)
inline

Initializes as clone of other instance.

Definition at line 53 of file Version.h.

Member Function Documentation

◆ current()

Version current ( )
static

Identifies current version of the product.

◆ major()

Component major ( ) const
inline

'major' component of version.

Definition at line 62 of file Version.h.

◆ minor()

Component minor ( ) const
inline

'minor' component of version.

Definition at line 68 of file Version.h.

◆ operator=()

Version & operator= ( const Version & other)
inline

Re-initializes instance as copy of other one.

Definition at line 81 of file Version.h.

◆ patch()

Component patch ( ) const
inline

'patch' component of version.

Definition at line 74 of file Version.h.