#include <blpapi_versioninfo.h>
Public Member Functions | |
VersionInfo () | |
int | majorVersion () const |
int | minorVersion () const |
int | patchVersion () const |
int | buildVersion () const |
Static Public Member Functions | |
static VersionInfo | headerVersion () |
static VersionInfo | runtimeVersion () |
static std::string | versionIdentifier () |
This attribute class holds the four integer components of a BLPAPI version number, provides factory methods to obtain such version numbers for both the headers used at compile time and the library loaded at run time, and provides a static function to obtain an opaque version identifer string for use by Bloomberg support.
blpapi::VersionInfo::VersionInfo | ( | ) |
This function is a synonym for VersionInfo::runtimeVersion()
. DEPRECATED
static VersionInfo blpapi::VersionInfo::headerVersion | ( | ) | [static] |
Return a VersionInfo
object containing the version of the BLPAPI headers against which the client application was compiled. Note that the version of the BLPAPI library loaded at runtime may be different than the version of the headers against which the code was compiled.
static VersionInfo blpapi::VersionInfo::runtimeVersion | ( | ) | [static] |
Return a VersionInfo
object containing the version of the BLPAPI runtime library that is currently running. Note that the version of the BLPAPI library loaded at runtime may be different than the version of the headers against which the code was compiled.
int blpapi::VersionInfo::majorVersion | ( | ) | const |
Return the major version number.
int blpapi::VersionInfo::minorVersion | ( | ) | const |
Return the minor version number.
int blpapi::VersionInfo::patchVersion | ( | ) | const |
Return the patch version number.
int blpapi::VersionInfo::buildVersion | ( | ) | const |
Return the build version number.
static std::string blpapi::VersionInfo::versionIdentifier | ( | ) | [static] |
Return a string containing a sequence of printable ascii characters (with values from 0x20 to 0x7e, inclusive) identifying the version of the blpapi runtime library. The format of this string is unspecified.