BLPAPI C++  3.24.10
blpapi_messageformatter.h File Reference

Format messages for publishing. More...

#include <blpapi_call.h>
#include <blpapi_defs.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  MessageFormatter
 

Namespaces

 BloombergLP
 
 BloombergLP::blpapi
 
 BloombergLP::blpapi::test
 

Typedefs

typedef test::MessageFormatter MessageFormatter
 

Functions

int blpapi_MessageFormatter_setValueBool (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, blpapi_Bool_t value)
 
int blpapi_MessageFormatter_setValueChar (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, char value)
 
int blpapi_MessageFormatter_setValueInt32 (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, blpapi_Int32_t value)
 
int blpapi_MessageFormatter_setValueInt64 (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, blpapi_Int64_t value)
 
int blpapi_MessageFormatter_setValueFloat32 (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, blpapi_Float32_t value)
 
int blpapi_MessageFormatter_setValueFloat64 (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, blpapi_Float64_t value)
 
int blpapi_MessageFormatter_setValueDatetime (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, const blpapi_Datetime_t *value)
 
int blpapi_MessageFormatter_setValueHighPrecisionDatetime (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, const blpapi_HighPrecisionDatetime_t *value)
 
int blpapi_MessageFormatter_setValueString (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, const char *value)
 
int blpapi_MessageFormatter_setValueFromName (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, const blpapi_Name_t *value)
 
int blpapi_MessageFormatter_setValueBytes (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName, const char *value, size_t length)
 
int blpapi_MessageFormatter_setValueNull (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName)
 
int blpapi_MessageFormatter_pushElement (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *typeName)
 
int blpapi_MessageFormatter_popElement (blpapi_MessageFormatter_t *formatter)
 
int blpapi_MessageFormatter_appendValueBool (blpapi_MessageFormatter_t *formatter, blpapi_Bool_t value)
 
int blpapi_MessageFormatter_appendValueChar (blpapi_MessageFormatter_t *formatter, char value)
 
int blpapi_MessageFormatter_appendValueInt32 (blpapi_MessageFormatter_t *formatter, blpapi_Int32_t value)
 
int blpapi_MessageFormatter_appendValueInt64 (blpapi_MessageFormatter_t *formatter, blpapi_Int64_t value)
 
int blpapi_MessageFormatter_appendValueFloat32 (blpapi_MessageFormatter_t *formatter, blpapi_Float32_t value)
 
int blpapi_MessageFormatter_appendValueFloat64 (blpapi_MessageFormatter_t *formatter, blpapi_Float64_t value)
 
int blpapi_MessageFormatter_appendValueDatetime (blpapi_MessageFormatter_t *formatter, const blpapi_Datetime_t *value)
 
int blpapi_MessageFormatter_appendValueHighPrecisionDatetime (blpapi_MessageFormatter_t *formatter, const blpapi_HighPrecisionDatetime_t *value)
 
int blpapi_MessageFormatter_appendValueString (blpapi_MessageFormatter_t *formatter, const char *value)
 
int blpapi_MessageFormatter_appendValueFromName (blpapi_MessageFormatter_t *formatter, const blpapi_Name_t *value)
 
int blpapi_MessageFormatter_appendElement (blpapi_MessageFormatter_t *formatter)
 
int blpapi_MessageFormatter_FormatMessageJson (blpapi_MessageFormatter_t *formatter, const char *message)
 
int blpapi_MessageFormatter_FormatMessageXml (blpapi_MessageFormatter_t *formatter, const char *message)
 
int blpapi_MessageFormatter_copy (blpapi_MessageFormatter_t **formatter, const blpapi_MessageFormatter_t *original)
 
int blpapi_MessageFormatter_assign (blpapi_MessageFormatter_t **lhs, const blpapi_MessageFormatter_t *rhs)
 
int blpapi_MessageFormatter_destroy (blpapi_MessageFormatter_t *formatter)
 
int blpapi_MessageFormatter_getElementDefinition (blpapi_MessageFormatter_t *formatter, blpapi_SchemaElementDefinition_t **definition)
 

Detailed Description

Format messages for publishing.

Function Documentation

◆ blpapi_MessageFormatter_appendElement()

int blpapi_MessageFormatter_appendElement ( blpapi_MessageFormatter_t formatter)

◆ blpapi_MessageFormatter_appendValueBool()

int blpapi_MessageFormatter_appendValueBool ( blpapi_MessageFormatter_t formatter,
blpapi_Bool_t  value 
)

◆ blpapi_MessageFormatter_appendValueChar()

int blpapi_MessageFormatter_appendValueChar ( blpapi_MessageFormatter_t formatter,
char  value 
)

◆ blpapi_MessageFormatter_appendValueDatetime()

int blpapi_MessageFormatter_appendValueDatetime ( blpapi_MessageFormatter_t formatter,
const blpapi_Datetime_t value 
)

◆ blpapi_MessageFormatter_appendValueFloat32()

int blpapi_MessageFormatter_appendValueFloat32 ( blpapi_MessageFormatter_t formatter,
blpapi_Float32_t  value 
)

◆ blpapi_MessageFormatter_appendValueFloat64()

int blpapi_MessageFormatter_appendValueFloat64 ( blpapi_MessageFormatter_t formatter,
blpapi_Float64_t  value 
)

◆ blpapi_MessageFormatter_appendValueFromName()

int blpapi_MessageFormatter_appendValueFromName ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t value 
)

◆ blpapi_MessageFormatter_appendValueHighPrecisionDatetime()

int blpapi_MessageFormatter_appendValueHighPrecisionDatetime ( blpapi_MessageFormatter_t formatter,
const blpapi_HighPrecisionDatetime_t value 
)

◆ blpapi_MessageFormatter_appendValueInt32()

int blpapi_MessageFormatter_appendValueInt32 ( blpapi_MessageFormatter_t formatter,
blpapi_Int32_t  value 
)

◆ blpapi_MessageFormatter_appendValueInt64()

int blpapi_MessageFormatter_appendValueInt64 ( blpapi_MessageFormatter_t formatter,
blpapi_Int64_t  value 
)

◆ blpapi_MessageFormatter_appendValueString()

int blpapi_MessageFormatter_appendValueString ( blpapi_MessageFormatter_t formatter,
const char *  value 
)

◆ blpapi_MessageFormatter_assign()

int blpapi_MessageFormatter_assign ( blpapi_MessageFormatter_t **  lhs,
const blpapi_MessageFormatter_t rhs 
)

◆ blpapi_MessageFormatter_copy()

int blpapi_MessageFormatter_copy ( blpapi_MessageFormatter_t **  formatter,
const blpapi_MessageFormatter_t original 
)

◆ blpapi_MessageFormatter_destroy()

int blpapi_MessageFormatter_destroy ( blpapi_MessageFormatter_t formatter)

◆ blpapi_MessageFormatter_FormatMessageJson()

int blpapi_MessageFormatter_FormatMessageJson ( blpapi_MessageFormatter_t formatter,
const char *  message 
)

◆ blpapi_MessageFormatter_FormatMessageXml()

int blpapi_MessageFormatter_FormatMessageXml ( blpapi_MessageFormatter_t formatter,
const char *  message 
)

◆ blpapi_MessageFormatter_getElementDefinition()

int blpapi_MessageFormatter_getElementDefinition ( blpapi_MessageFormatter_t formatter,
blpapi_SchemaElementDefinition_t **  definition 
)

◆ blpapi_MessageFormatter_popElement()

int blpapi_MessageFormatter_popElement ( blpapi_MessageFormatter_t formatter)

◆ blpapi_MessageFormatter_pushElement()

int blpapi_MessageFormatter_pushElement ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName 
)

◆ blpapi_MessageFormatter_setValueBool()

int blpapi_MessageFormatter_setValueBool ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
blpapi_Bool_t  value 
)

◆ blpapi_MessageFormatter_setValueBytes()

int blpapi_MessageFormatter_setValueBytes ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
const char *  value,
size_t  length 
)

◆ blpapi_MessageFormatter_setValueChar()

int blpapi_MessageFormatter_setValueChar ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
char  value 
)

◆ blpapi_MessageFormatter_setValueDatetime()

int blpapi_MessageFormatter_setValueDatetime ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
const blpapi_Datetime_t value 
)

◆ blpapi_MessageFormatter_setValueFloat32()

int blpapi_MessageFormatter_setValueFloat32 ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
blpapi_Float32_t  value 
)

◆ blpapi_MessageFormatter_setValueFloat64()

int blpapi_MessageFormatter_setValueFloat64 ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
blpapi_Float64_t  value 
)

◆ blpapi_MessageFormatter_setValueFromName()

int blpapi_MessageFormatter_setValueFromName ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
const blpapi_Name_t value 
)

◆ blpapi_MessageFormatter_setValueHighPrecisionDatetime()

int blpapi_MessageFormatter_setValueHighPrecisionDatetime ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
const blpapi_HighPrecisionDatetime_t value 
)

◆ blpapi_MessageFormatter_setValueInt32()

int blpapi_MessageFormatter_setValueInt32 ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
blpapi_Int32_t  value 
)

◆ blpapi_MessageFormatter_setValueInt64()

int blpapi_MessageFormatter_setValueInt64 ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
blpapi_Int64_t  value 
)

◆ blpapi_MessageFormatter_setValueNull()

int blpapi_MessageFormatter_setValueNull ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName 
)

◆ blpapi_MessageFormatter_setValueString()

int blpapi_MessageFormatter_setValueString ( blpapi_MessageFormatter_t formatter,
const blpapi_Name_t typeName,
const char *  value 
)