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,
257 #include <type_traits> 339 unsigned int sequenceNumber);
421 unsigned int sequenceNumber,
447 unsigned int sequenceNumber);
463 unsigned int sequenceNumber);
487 unsigned int sequenceNumber);
668 void setElement(
const Name& name,
const void *value,
size_t length);
682 template <
typename BYTES,
683 typename std::enable_if<IsByteSequence<BYTES>::value,
bool>::type
840 unsigned int sequenceNumber);
895 unsigned int sequenceNumber);
915 unsigned int sequenceNumber);
964 void setElement(
const char *name,
bool value);
981 void setElement(
const char *name,
char value);
1103 void setElement(
const char *name,
const char *value);
1180 inline EventFormatter::EventFormatter(
Event& event)
1191 const char *messageType,
const Topic& topic)
1194 d_handle, messageType, 0, topic.
impl()));
1198 const Name& messageType,
const Topic& topic)
1201 d_handle, 0, messageType.
impl(), topic.
impl()));
1206 unsigned int sequenceNumber)
1209 d_handle, messageType, 0, topic.
impl(), sequenceNumber, 0));
1214 unsigned int sequenceNumber)
1217 d_handle, 0, messageType.
impl(), topic.
impl(), sequenceNumber, 0));
1229 d_handle, 0, operationName.
impl()));
1236 d_handle, topic.
impl(), cid ? &cid->impl() : 0));
1248 static_cast<int>(fragmentType)));
1261 static_cast<int>(fragmentType)));
1274 static_cast<int>(fragmentType)));
1278 unsigned int sequenceNumber,
1284 cid ? &cid->impl() : 0,
1291 unsigned int sequenceNumber)
1304 unsigned int sequenceNumber)
1317 unsigned int sequenceNumber)
1324 static_cast<int>(fragmentType),
1331 unsigned int sequenceNumber)
1338 static_cast<int>(fragmentType),
1345 unsigned int sequenceNumber)
1352 static_cast<int>(fragmentType),
1365 static_cast<int>(fragmentType)));
1378 static_cast<int>(fragmentType)));
1391 static_cast<int>(fragmentType)));
1433 d_handle, name, 0, &value.
rawValue()));
1441 d_handle, name, 0, &value));
1453 d_handle, name, 0, value.
impl()));
1465 d_handle, 0, name.
impl(), value));
1471 d_handle, 0, name.
impl(), value));
1477 d_handle, 0, name.
impl(), value));
1483 d_handle, 0, name.
impl(), value));
1489 d_handle, 0, name.
impl(), value));
1494 d_handle, 0, name.
impl(), value));
1508 d_handle, 0, name.
impl(), &value));
1514 d_handle, 0, name.
impl(), value));
1518 const Name& name,
const std::string& value)
1526 d_handle, 0, name.
impl(), value.
impl()));
1530 const Name& name,
const void *value,
size_t length)
1536 reinterpret_cast<const char *>(value),
1540 template <
typename BYTES,
1541 typename std::enable_if<IsByteSequence<BYTES>::value,
bool>::type>
1544 setElement(name, value.data(), value.size());
1644 #endif // #ifdef __cplusplus 1645 #endif // #ifndef INCLUDED_BLPAPI_EVENTFORMATTER
message is not fragmented
Definition: blpapi_message.h:171
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
struct blpapi_Topic blpapi_Topic_t
Definition: blpapi_topic.h:68
A component which defines events related operations.
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
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:169
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:550
Definition: blpapi_datetime.h:115