28 #ifndef INCLUDED_BLPAPI_EVENTFORMATTER 29 #define INCLUDED_BLPAPI_EVENTFORMATTER 79 const char *typeString,
85 const char *typeString,
88 unsigned int sequenceNumber,
93 const char *typeString,
100 const blpapi_CorrelationId_t *cid);
106 const blpapi_CorrelationId_t *cid,
107 unsigned int sequenceNumber,
113 const char *typeString,
116 const blpapi_CorrelationId_t *cid,
122 const char *typeString,
126 unsigned int sequenceNumber);
130 const char *typeString,
136 const char *typeString,
142 const char *typeString,
148 const char *typeString,
154 const char *typeString,
160 const char *typeString,
166 const char *typeString,
173 const char *typeString,
179 const char *typeString,
185 const char *typeString,
191 const char *typeString,
198 const char *typeString,
203 const char *typeString,
262 #include <type_traits> 344 unsigned int sequenceNumber);
426 unsigned int sequenceNumber,
452 unsigned int sequenceNumber);
468 unsigned int sequenceNumber);
492 unsigned int sequenceNumber);
673 void setElement(
const Name& name,
const void *value,
size_t length);
687 template <
typename BYTES,
688 typename std::enable_if<IsByteSequence<BYTES>::value,
bool>::type
833 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 844 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 847 unsigned int sequenceNumber);
861 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 875 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 899 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 902 unsigned int sequenceNumber);
918 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 922 unsigned int sequenceNumber);
945 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 970 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 987 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1004 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1021 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1038 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1055 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1072 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1090 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1109 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1110 setElement(
const char *name,
const char *value);
1129 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1146 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1164 [[deprecated(
"Use the form that takes Name instead of const char*")]]
void 1198 inline EventFormatter::EventFormatter(
Event& event)
1209 const char *messageType,
const Topic& topic)
1212 d_handle, messageType, 0, topic.
impl()));
1216 const Name& messageType,
const Topic& topic)
1219 d_handle, 0, messageType.
impl(), topic.
impl()));
1224 unsigned int sequenceNumber)
1227 d_handle, messageType, 0, topic.
impl(), sequenceNumber, 0));
1232 unsigned int sequenceNumber)
1235 d_handle, 0, messageType.
impl(), topic.
impl(), sequenceNumber, 0));
1247 d_handle, 0, operationName.
impl()));
1254 d_handle, topic.
impl(), cid ? &cid->impl() : 0));
1266 static_cast<int>(fragmentType)));
1279 static_cast<int>(fragmentType)));
1292 static_cast<int>(fragmentType)));
1296 unsigned int sequenceNumber,
1302 cid ? &cid->impl() : 0,
1309 unsigned int sequenceNumber)
1322 unsigned int sequenceNumber)
1335 unsigned int sequenceNumber)
1342 static_cast<int>(fragmentType),
1349 unsigned int sequenceNumber)
1356 static_cast<int>(fragmentType),
1363 unsigned int sequenceNumber)
1370 static_cast<int>(fragmentType),
1383 static_cast<int>(fragmentType)));
1396 static_cast<int>(fragmentType)));
1409 static_cast<int>(fragmentType)));
1451 d_handle, name, 0, &value.
rawValue()));
1459 d_handle, name, 0, &value));
1471 d_handle, name, 0, value.
impl()));
1483 d_handle, 0, name.
impl(), value));
1489 d_handle, 0, name.
impl(), value));
1495 d_handle, 0, name.
impl(), value));
1501 d_handle, 0, name.
impl(), value));
1507 d_handle, 0, name.
impl(), value));
1512 d_handle, 0, name.
impl(), value));
1526 d_handle, 0, name.
impl(), &value));
1532 d_handle, 0, name.
impl(), value));
1536 const Name& name,
const std::string& value)
1544 d_handle, 0, name.
impl(), value.
impl()));
1548 const Name& name,
const void *value,
size_t length)
1554 reinterpret_cast<const char *>(value),
1558 template <
typename BYTES,
1559 typename std::enable_if<IsByteSequence<BYTES>::value,
bool>::type>
1562 setElement(name, value.data(), value.size());
1669 #endif // #ifdef __cplusplus 1670 #endif // #ifndef INCLUDED_BLPAPI_EVENTFORMATTER
message is not fragmented
Definition: blpapi_message.h:172
Common definitions used by the library.
struct blpapi_Event blpapi_Event_t
Definition: blpapi_types.h:139
blpapi_Int32_t Int32
Definition: blpapi_types.h:469
Definition: blpapi_abstractsession.h:220
#define BLPAPI_CALL_EVENTFORMATTER_APPENDMESSAGESEQ(a1, a2, a3, a4, a5, a6)
Definition: blpapi_call.h:356
Definition: blpapi_name.h:150
#define BLPAPI_CALL(FUNCNAME)
Definition: blpapi_call.h:353
blpapi_Float64_t Float64
Definition: blpapi_types.h:474
blpapi_Name_t * impl() const
Definition: blpapi_name.h:403
int blpapi_Int32_t
Definition: blpapi_types.h:67
struct blpapi_Name blpapi_Name_t
Definition: blpapi_types.h:154
#define BLPAPI_CALL_EVENTFORMATTER_APPENDRECAPMESSAGESEQ(a1, a2, a3, a4, a5)
Definition: blpapi_call.h:358
int blpapi_Bool_t
Definition: blpapi_types.h:62
blpapi_Float32_t Float32
Definition: blpapi_types.h:473
A component which defines events related operations.
struct blpapi_SchemaElementDefinition blpapi_SchemaElementDefinition_t
Definition: blpapi_types.h:191
static void throwOnError(int errorCode)
Definition: blpapi_exception.h:526
const blpapi_Topic_t * impl() const
Definition: blpapi_topic.h:221
#define BLPAPI_CALL_EVENTFORMATTER_SETVALUENULL(a1, a2, a3)
Definition: blpapi_call.h:409
blpapi_Datetime_t & rawValue()
Definition: blpapi_datetime.h:1952
Definition: blpapi_correlationid.h:201
Provide representation of a Topic.
blpapi_Int64_t Int64
Definition: blpapi_types.h:471
struct blpapi_Topic blpapi_Topic_t
Definition: blpapi_dispatchtbl.h:75
Definition: blpapi_datetime.h:102
struct blpapi_EventFormatter blpapi_EventFormatter_t
Definition: blpapi_types.h:145
double blpapi_Float64_t
Definition: blpapi_types.h:72
Definition: blpapi_topic.h:114
Fragment
Definition: blpapi_message.h:170
long long blpapi_Int64_t
Definition: blpapi_types.h:69
Definition: blpapi_event.h:196
float blpapi_Float32_t
Definition: blpapi_types.h:71
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
Definition: blpapi_datetime.h:245
Provide functions for dispatchtbl.
blpapi_Event_t * impl() const
Definition: blpapi_event.h:553
Definition: blpapi_datetime.h:115