Provide BLPAPI SDK library version information. More...
Namespaces | |
namespace | blpapi |
Provide BLPAPI SDK library version information.
blpapi::VersionInfo | basic BLPAPI SDK library version attribute class |
blpapi::VersionInfo blpapiVersion; // Client log the library version for reference and future debugging log("BLPAPI version: %d.%d.%d.%d", blpapiVersion.majorVersion(), blpapiVersion.minorVersion(), blpapiVersion.patchVersion(), blpapiVersion.buildVersion());
int majorVersion, minorVersion, patchVersion, buildVersion; blpapi_getVersionInfo(&majorVersion, &minorVersion, &patchVersion, &buildVersion); // Client log the library version for reference and future debugging log("BLPAPI version: %d.%d.%d.%d", majorVersion, minorVersion, patchVersion, buildVersion);
#if BLPAPI_SDK_VERSION >= BLPAPI_MAKE_VERSION(3, 3, 7) // Do version 3.3.7 specific stuff here (e.g. adding functions with old // signature to an array so a client code that was compiled with // version 3.3.7 will still be able to run using the new version. ... #elif BLPAPI_SDK_VERSION ...