OnixS C++ FIX Engine  4.12.0
API Documentation
Version Class Reference

#include <OnixS/FIXEngine/FIX/Version.h>

Public Member Functions

 Version (VersionComponent majorNumber, VersionComponent minorNumber, VersionComponent improvement, VersionComponent build)
 
VersionComponent majorNumber () const
 
VersionComponent minorNumber () const
 
VersionComponent improvement () const
 
VersionComponent build () const
 
bool operator== (const Version &) const
 
bool operator!= (const Version &) const
 
bool operator< (const Version &) const
 
bool operator> (const Version &) const
 
void toString (std::string &) const
 
std::string toString () const
 

Static Public Member Functions

static bool parse (const char *, size_t, Version &)
 
static Version current ()
 

Detailed Description

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

Definition at line 35 of file Version.h.

Constructor & Destructor Documentation

Version ( VersionComponent  majorNumber,
VersionComponent  minorNumber,
VersionComponent  improvement,
VersionComponent  build 
)

Initializes instances from all the components.

Member Function Documentation

VersionComponent build ( ) const

The 'build number' component of the version.

static Version current ( )
static

Identifies the current version of the product.

VersionComponent improvement ( ) const

The 'improvement' component of the version.

VersionComponent majorNumber ( ) const

The 'major' component of the version.

VersionComponent minorNumber ( ) const

The 'minor' component of the version.

bool operator!= ( const Version ) const

Compares with other instance for the inequality.

bool operator< ( const Version ) const

Checks whether the version is less then the other.

bool operator== ( const Version ) const

Compares with other instance for the equality.

bool operator> ( const Version ) const

Checks whether the version is grater then the other.

static bool parse ( const char *  ,
size_t  ,
Version  
)
static

Extracts the version from the point-separated presentation.

Updates the version parameter if the buffer is parsed successfully.

void toString ( std::string &  ) const

Serializes into the point-separated presentation.

std::string toString ( ) const

Serializes into the point-separated presentation.


The documentation for this class was generated from the following file: