BLPAPI C++  3.24.11
Component blpapi_streamproxy

A signature for callback on print and default C++ implementation. More...

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Classes

struct  StreamProxyOstream
 

Functions

int OstreamWriter (const char *data, int length, void *stream)
 

Detailed Description

A signature for callback on print and default C++ implementation.

Purpose:
A signature for callback on print and default C++ implementation
Description:

This file defines blpapi_StreamWriter_t a function pointer type. The user of the C API need to specify a callback of above type which will be called on xxx_print(...) with the formatted data. For C++ API, a default callback is specified which writes data to the stream specified in xxx::print

Function Documentation

◆ OstreamWriter()

int OstreamWriter ( const char *  data,
int  length,
void *  stream 
)