B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Parser::Version Class Reference

Collection of operations with FIXVersion type. More...

#include <ParserVersion.h>

Static Public Member Functions

static Engine::FIXVersion appProtocolFromNick (const char *val, std::size_t len)
 
static std::string appProtocolToNick (Engine::FIXVersion version)
 
static Engine::FIXVersion fromBeginStringValue (const std::string &tagValue)
 Returns FIX version corresponding to 'BeginString' tag value. More...
 
static Engine::FIXVersion fromBeginStringValue (const char *tagValue)
 
static Engine::FIXVersion fromProtocolID (Engine::ProtocolID protocolID)
 
static Engine::FIXVersion fromProtocolVersion (std::string const &ver)
 
static Engine::FIXVersion fromString (const std::string &versionStr)
 Converts std::string representation to FIX version. More...
 
static bool isApplicationProtocol (Engine::FIXVersion ver) throw ()
 
static bool isSessionProtocol (Engine::FIXVersion ver) throw ()
 
static std::string toBeginStringValue (Engine::FIXVersion version)
 Returns 'BeginString' tag value corresponding to FIX version. More...
 
static Engine::ProtocolID toProtocolID (Engine::FIXVersion ver) throw ()
 
static std::string toString (Engine::FIXVersion version)
 Converts FIX version to std::string representation. More...
 
static Engine::AsciiString toString2 (Engine::FIXVersion version) throw ()
 Converts FIX version to std::string representation. More...
 

Detailed Description

Collection of operations with FIXVersion type.

Member Function Documentation

static Engine::FIXVersion Parser::Version::appProtocolFromNick ( const char *  val,
std::size_t  len 
)
static
static std::string Parser::Version::appProtocolToNick ( Engine::FIXVersion  version)
static
static Engine::FIXVersion Parser::Version::fromBeginStringValue ( const std::string &  tagValue)
static

Returns FIX version corresponding to 'BeginString' tag value.

static Engine::FIXVersion Parser::Version::fromBeginStringValue ( const char *  tagValue)
static
Engine::FIXVersion Parser::Version::fromProtocolID ( Engine::ProtocolID  protocolID)
inlinestatic
static Engine::FIXVersion Parser::Version::fromProtocolVersion ( std::string const &  ver)
static
static Engine::FIXVersion Parser::Version::fromString ( const std::string &  versionStr)
static

Converts std::string representation to FIX version.

Referenced by FixProtocols::createCustomProtocols().

static bool Parser::Version::isApplicationProtocol ( Engine::FIXVersion  ver)
throw (
)
inlinestatic
static bool Parser::Version::isSessionProtocol ( Engine::FIXVersion  ver)
throw (
)
inlinestatic
static std::string Parser::Version::toBeginStringValue ( Engine::FIXVersion  version)
static

Returns 'BeginString' tag value corresponding to FIX version.

Engine::ProtocolID Parser::Version::toProtocolID ( Engine::FIXVersion  ver)
throw (
)
inlinestatic
static std::string Parser::Version::toString ( Engine::FIXVersion  version)
static

Converts FIX version to std::string representation.

Referenced by FixProtocols::initProtocolIdMap().

static Engine::AsciiString Parser::Version::toString2 ( Engine::FIXVersion  version)
throw (
)
static

Converts FIX version to std::string representation.

Returned std::string is NULL terminated.