Classes | Namespaces | Functions

blpapi_eventformatter.h File Reference

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

Go to the source code of this file.

Classes

class  blpapi::EventFormatter

Namespaces

namespace  blpapi

Functions

BLPAPI_EXPORT
blpapi_EventFormatter_t
blpapi_EventFormatter_create (blpapi_Event_t *event)
BLPAPI_EXPORT void blpapi_EventFormatter_destroy (blpapi_EventFormatter_t *victim)
BLPAPI_EXPORT int blpapi_EventFormatter_appendMessage (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName, const blpapi_Topic_t *topic)
BLPAPI_EXPORT 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_EXPORT int blpapi_EventFormatter_appendResponse (blpapi_EventFormatter_t *formatter, const char *typeString, blpapi_Name_t *typeName)
BLPAPI_EXPORT int blpapi_EventFormatter_appendRecapMessage (blpapi_EventFormatter_t *formatter, const blpapi_Topic_t *topic, const blpapi_CorrelationId_t *cid)
BLPAPI_EXPORT int blpapi_EventFormatter_appendRecapMessageSeq (blpapi_EventFormatter_t *formatter, const blpapi_Topic_t *topic, const blpapi_CorrelationId_t *cid, unsigned int sequenceNumber, unsigned int)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueBool (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Bool_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueChar (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, char value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueInt32 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Int32_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueInt64 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Int64_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFloat32 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Float32_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFloat64 (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, blpapi_Float64_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueDatetime (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const blpapi_Datetime_t *value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueString (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const char *value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFromName (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName, const blpapi_Name_t *value)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueNull (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName)
BLPAPI_EXPORT int blpapi_EventFormatter_pushElement (blpapi_EventFormatter_t *formatter, const char *typeString, const blpapi_Name_t *typeName)
BLPAPI_EXPORT int blpapi_EventFormatter_popElement (blpapi_EventFormatter_t *formatter)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueBool (blpapi_EventFormatter_t *formatter, blpapi_Bool_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueChar (blpapi_EventFormatter_t *formatter, char value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueInt32 (blpapi_EventFormatter_t *formatter, blpapi_Int32_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueInt64 (blpapi_EventFormatter_t *formatter, blpapi_Int64_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFloat32 (blpapi_EventFormatter_t *formatter, blpapi_Float32_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFloat64 (blpapi_EventFormatter_t *formatter, blpapi_Float64_t value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueDatetime (blpapi_EventFormatter_t *formatter, const blpapi_Datetime_t *value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueString (blpapi_EventFormatter_t *formatter, const char *value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFromName (blpapi_EventFormatter_t *formatter, const blpapi_Name_t *value)
BLPAPI_EXPORT int blpapi_EventFormatter_appendElement (blpapi_EventFormatter_t *formatter)

Detailed Description

Add messages to an Event for publishing.


Function Documentation

BLPAPI_EXPORT blpapi_EventFormatter_t* blpapi_EventFormatter_create ( blpapi_Event_t event  ) 
BLPAPI_EXPORT void blpapi_EventFormatter_destroy ( blpapi_EventFormatter_t victim  ) 
BLPAPI_EXPORT int blpapi_EventFormatter_appendMessage ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName,
const blpapi_Topic_t topic 
)
BLPAPI_EXPORT 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_EXPORT int blpapi_EventFormatter_appendResponse ( blpapi_EventFormatter_t formatter,
const char *  typeString,
blpapi_Name_t typeName 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendRecapMessage ( blpapi_EventFormatter_t formatter,
const blpapi_Topic_t topic,
const blpapi_CorrelationId_t cid 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendRecapMessageSeq ( blpapi_EventFormatter_t formatter,
const blpapi_Topic_t topic,
const blpapi_CorrelationId_t cid,
unsigned int  sequenceNumber,
unsigned  int 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueBool ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Bool_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueChar ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
char  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueInt32 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Int32_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueInt64 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Int64_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFloat32 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Float32_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFloat64 ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
blpapi_Float64_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueDatetime ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const blpapi_Datetime_t value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueString ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const char *  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueFromName ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName,
const blpapi_Name_t value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_setValueNull ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName 
)
BLPAPI_EXPORT int blpapi_EventFormatter_pushElement ( blpapi_EventFormatter_t formatter,
const char *  typeString,
const blpapi_Name_t typeName 
)
BLPAPI_EXPORT int blpapi_EventFormatter_popElement ( blpapi_EventFormatter_t formatter  ) 
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueBool ( blpapi_EventFormatter_t formatter,
blpapi_Bool_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueChar ( blpapi_EventFormatter_t formatter,
char  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueInt32 ( blpapi_EventFormatter_t formatter,
blpapi_Int32_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueInt64 ( blpapi_EventFormatter_t formatter,
blpapi_Int64_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFloat32 ( blpapi_EventFormatter_t formatter,
blpapi_Float32_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFloat64 ( blpapi_EventFormatter_t formatter,
blpapi_Float64_t  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueDatetime ( blpapi_EventFormatter_t formatter,
const blpapi_Datetime_t value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueString ( blpapi_EventFormatter_t formatter,
const char *  value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendValueFromName ( blpapi_EventFormatter_t formatter,
const blpapi_Name_t value 
)
BLPAPI_EXPORT int blpapi_EventFormatter_appendElement ( blpapi_EventFormatter_t formatter  )