BLPAPI C++  3.24.11
blpapi_eventformatter.h File Reference

Add messages to an Event for publishing. More...

#include <blpapi_call.h>
#include <blpapi_defs.h>
#include <blpapi_deprecate.h>
#include <blpapi_event.h>
#include <blpapi_topic.h>
#include <blpapi_types.h>
#include <stddef.h>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

class  EventFormatter
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 

Functions

blpapi_EventFormatter_tblpapi_EventFormatter_create (blpapi_Event_t *event)
 
void blpapi_EventFormatter_destroy (blpapi_EventFormatter_t *victim)
 
int blpapi_EventFormatter_appendMessage (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName, const blpapi_Topic_t *topic)
 
int blpapi_EventFormatter_appendMessageSeq (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName, const blpapi_Topic_t *topic, unsigned int sequenceNumber, unsigned int)
 
int blpapi_EventFormatter_appendResponse (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName)
 
int blpapi_EventFormatter_appendRecapMessage (blpapi_EventFormatter_t *formatter, const blpapi_Topic_t *topic, const blpapi_CorrelationId_t *cid)
 
int blpapi_EventFormatter_appendRecapMessageSeq (blpapi_EventFormatter_t *formatter, const blpapi_Topic_t *topic, const blpapi_CorrelationId_t *cid, unsigned int sequenceNumber, unsigned int)
 
int blpapi_EventFormatter_appendFragmentedRecapMessage (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName, const blpapi_Topic_t *topic, const blpapi_CorrelationId_t *cid, int fragmentType)
 
int blpapi_EventFormatter_appendFragmentedRecapMessageSeq (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName, const blpapi_Topic_t *topic, int fragmentType, unsigned int sequenceNumber)
 
int blpapi_EventFormatter_setValueBool (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Bool_t value)
 
int blpapi_EventFormatter_setValueChar (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, char value)
 
int blpapi_EventFormatter_setValueInt32 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Int32_t value)
 
int blpapi_EventFormatter_setValueInt64 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Int64_t value)
 
int blpapi_EventFormatter_setValueFloat32 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Float32_t value)
 
int blpapi_EventFormatter_setValueFloat64 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Float64_t value)
 
int blpapi_EventFormatter_setValueDatetime (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const blpapi_Datetime_t *value)
 
int blpapi_EventFormatter_setValueHighPrecisionDatetime (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const blpapi_HighPrecisionDatetime_t *value)
 
int blpapi_EventFormatter_setValueString (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const char *value)
 
int blpapi_EventFormatter_setValueFromName (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const blpapi_Name_t *value)
 
int blpapi_EventFormatter_setValueBytes (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const char *value, size_t length)
 
int blpapi_EventFormatter_setValueNull (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName)
 
int blpapi_EventFormatter_pushElement (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName)
 
int blpapi_EventFormatter_popElement (blpapi_EventFormatter_t *formatter)
 
int blpapi_EventFormatter_appendValueBool (blpapi_EventFormatter_t *formatter, blpapi_Bool_t value)
 
int blpapi_EventFormatter_appendValueChar (blpapi_EventFormatter_t *formatter, char value)
 
int blpapi_EventFormatter_appendValueInt32 (blpapi_EventFormatter_t *formatter, blpapi_Int32_t value)
 
int blpapi_EventFormatter_appendValueInt64 (blpapi_EventFormatter_t *formatter, blpapi_Int64_t value)
 
int blpapi_EventFormatter_appendValueFloat32 (blpapi_EventFormatter_t *formatter, blpapi_Float32_t value)
 
int blpapi_EventFormatter_appendValueFloat64 (blpapi_EventFormatter_t *formatter, blpapi_Float64_t value)
 
int blpapi_EventFormatter_appendValueDatetime (blpapi_EventFormatter_t *formatter, const blpapi_Datetime_t *value)
 
int blpapi_EventFormatter_appendValueHighPrecisionDatetime (blpapi_EventFormatter_t *formatter, const blpapi_HighPrecisionDatetime_t *value)
 
int blpapi_EventFormatter_appendValueString (blpapi_EventFormatter_t *formatter, const char *value)
 
int blpapi_EventFormatter_appendValueFromName (blpapi_EventFormatter_t *formatter, const blpapi_Name_t *value)
 
int blpapi_EventFormatter_appendElement (blpapi_EventFormatter_t *formatter)
 
int blpapi_EventFormatter_getElementDefinition (blpapi_EventFormatter_t *formatter, blpapi_SchemaElementDefinition_t **definition)
 

Detailed Description

Add messages to an Event for publishing.

Function Documentation

◆ blpapi_EventFormatter_appendElement()

int blpapi_EventFormatter_appendElement ( blpapi_EventFormatter_t formatter)

◆ blpapi_EventFormatter_appendFragmentedRecapMessage()

int blpapi_EventFormatter_appendFragmentedRecapMessage ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName,
const blpapi_Topic_t topic,
const blpapi_CorrelationId_t *  cid,
int  fragmentType 
)

◆ blpapi_EventFormatter_appendFragmentedRecapMessageSeq()

int blpapi_EventFormatter_appendFragmentedRecapMessageSeq ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName,
const blpapi_Topic_t topic,
int  fragmentType,
unsigned int  sequenceNumber 
)

◆ blpapi_EventFormatter_appendMessage()

int blpapi_EventFormatter_appendMessage ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName,
const blpapi_Topic_t topic 
)

◆ blpapi_EventFormatter_appendMessageSeq()

int blpapi_EventFormatter_appendMessageSeq ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName,
const blpapi_Topic_t topic,
unsigned int  sequenceNumber,
unsigned int   
)

◆ blpapi_EventFormatter_appendRecapMessage()

int blpapi_EventFormatter_appendRecapMessage ( blpapi_EventFormatter_t formatter,
const blpapi_Topic_t topic,
const blpapi_CorrelationId_t *  cid 
)

◆ blpapi_EventFormatter_appendRecapMessageSeq()

int blpapi_EventFormatter_appendRecapMessageSeq ( blpapi_EventFormatter_t formatter,
const blpapi_Topic_t topic,
const blpapi_CorrelationId_t *  cid,
unsigned int  sequenceNumber,
unsigned int   
)

◆ blpapi_EventFormatter_appendResponse()

int blpapi_EventFormatter_appendResponse ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName 
)

◆ blpapi_EventFormatter_appendValueBool()

int blpapi_EventFormatter_appendValueBool ( blpapi_EventFormatter_t formatter,
blpapi_Bool_t  value 
)

◆ blpapi_EventFormatter_appendValueChar()

int blpapi_EventFormatter_appendValueChar ( blpapi_EventFormatter_t formatter,
char  value 
)

◆ blpapi_EventFormatter_appendValueDatetime()

int blpapi_EventFormatter_appendValueDatetime ( blpapi_EventFormatter_t formatter,
const blpapi_Datetime_t value 
)

◆ blpapi_EventFormatter_appendValueFloat32()

int blpapi_EventFormatter_appendValueFloat32 ( blpapi_EventFormatter_t formatter,
blpapi_Float32_t  value 
)

◆ blpapi_EventFormatter_appendValueFloat64()

int blpapi_EventFormatter_appendValueFloat64 ( blpapi_EventFormatter_t formatter,
blpapi_Float64_t  value 
)

◆ blpapi_EventFormatter_appendValueFromName()

int blpapi_EventFormatter_appendValueFromName ( blpapi_EventFormatter_t formatter,
const blpapi_Name_t value 
)

◆ blpapi_EventFormatter_appendValueHighPrecisionDatetime()

int blpapi_EventFormatter_appendValueHighPrecisionDatetime ( blpapi_EventFormatter_t formatter,
const blpapi_HighPrecisionDatetime_t value 
)

◆ blpapi_EventFormatter_appendValueInt32()

int blpapi_EventFormatter_appendValueInt32 ( blpapi_EventFormatter_t formatter,
blpapi_Int32_t  value 
)

◆ blpapi_EventFormatter_appendValueInt64()

int blpapi_EventFormatter_appendValueInt64 ( blpapi_EventFormatter_t formatter,
blpapi_Int64_t  value 
)

◆ blpapi_EventFormatter_appendValueString()

int blpapi_EventFormatter_appendValueString ( blpapi_EventFormatter_t formatter,
const char *  value 
)

◆ blpapi_EventFormatter_create()

blpapi_EventFormatter_t* blpapi_EventFormatter_create ( blpapi_Event_t event)

◆ blpapi_EventFormatter_destroy()

void blpapi_EventFormatter_destroy ( blpapi_EventFormatter_t victim)

◆ blpapi_EventFormatter_getElementDefinition()

int blpapi_EventFormatter_getElementDefinition ( blpapi_EventFormatter_t formatter,
blpapi_SchemaElementDefinition_t **  definition 
)

◆ blpapi_EventFormatter_popElement()

int blpapi_EventFormatter_popElement ( blpapi_EventFormatter_t formatter)

◆ blpapi_EventFormatter_pushElement()

int blpapi_EventFormatter_pushElement ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName 
)

◆ blpapi_EventFormatter_setValueBool()

int blpapi_EventFormatter_setValueBool ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Bool_t  value 
)

◆ blpapi_EventFormatter_setValueBytes()

int blpapi_EventFormatter_setValueBytes ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const char *  value,
size_t  length 
)

◆ blpapi_EventFormatter_setValueChar()

int blpapi_EventFormatter_setValueChar ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
char  value 
)

◆ blpapi_EventFormatter_setValueDatetime()

int blpapi_EventFormatter_setValueDatetime ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const blpapi_Datetime_t value 
)

◆ blpapi_EventFormatter_setValueFloat32()

int blpapi_EventFormatter_setValueFloat32 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Float32_t  value 
)

◆ blpapi_EventFormatter_setValueFloat64()

int blpapi_EventFormatter_setValueFloat64 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Float64_t  value 
)

◆ blpapi_EventFormatter_setValueFromName()

int blpapi_EventFormatter_setValueFromName ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const blpapi_Name_t value 
)

◆ blpapi_EventFormatter_setValueHighPrecisionDatetime()

int blpapi_EventFormatter_setValueHighPrecisionDatetime ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const blpapi_HighPrecisionDatetime_t value 
)

◆ blpapi_EventFormatter_setValueInt32()

int blpapi_EventFormatter_setValueInt32 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Int32_t  value 
)

◆ blpapi_EventFormatter_setValueInt64()

int blpapi_EventFormatter_setValueInt64 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Int64_t  value 
)

◆ blpapi_EventFormatter_setValueNull()

int blpapi_EventFormatter_setValueNull ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName 
)

◆ blpapi_EventFormatter_setValueString()

int blpapi_EventFormatter_setValueString ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const char *  value 
)