|
BLPAPI C++ 3.26.7
|
#include <blpapi_defs.h>#include <blpapi_versionmacros.h>#include <blpapi_types.h>#include <blpapi_deprecate.h>#include <blpapi_streamproxy.h>#include <blpapi_call.h>#include <blpapi_dispatchtbl.h>#include <blpapi_correlationid.h>#include <blpapi_datetime.h>#include <blpapi_name.h>#include <blpapi_timepoint.h>#include <blpapi_error.h>#include <blpapi_exception.h>#include <blpapi_event.h>#include <blpapi_element.h>#include <blpapi_message.h>#include <blpapi_schema.h>#include <blpapi_constant.h>#include <blpapi_service.h>#include <blpapi_request.h>#include <blpapi_requesttemplate.h>#include <blpapi_identity.h>#include <blpapi_authoptions.h>#include <blpapi_tlsoptions.h>#include <blpapi_socks5config.h>#include <blpapi_sessionoptions.h>#include <blpapi_eventdispatcher.h>#include <blpapi_abstractsession.h>#include <blpapi_subscriptionlist.h>#include <blpapi_resolutionlist.h>#include <blpapi_session.h>#include <blpapi_topic.h>#include <blpapi_topiclist.h>#include <blpapi_eventformatter.h>#include <blpapi_messageformatter.h>#include <blpapi_providersession.h>#include <blpapi_correlationidhash.h>#include <blpapi_names.h>#include <blpapi_versioninfo.h>#include <blpapi_highresolutionclock.h>#include <blpapi_logging.h>#include <blpapi_diagnosticsutil.h>#include <blpapi_zfputil.h>#include <blpapi_testutil.h>C++20 named module interface for the Bloomberg API C++ library.
Consumers may use import blpapi; in place of individual #include directives. Existing #include-based usage is fully unaffected.
Preprocessor macros defined in the BLPAPI headers (e.g. BLPAPI_DATETIME_YEAR_PART, BLPAPI_CORRELATION_TYPE_INT) do not cross module boundaries. Code that requires those macros must additionally #include <blpapi_defs.h>. Their C++ enum equivalents (e.g. DatetimeParts::YEAR, CorrelationId::INT_VALUE) are accessible through the module once the enclosing type is reachable.
Some compilers require that standard library #include directives appear before the import blpapi; declaration in consuming translation units. It is therefore recommended to always follow this pattern: