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
845 unsigned int sequenceNumber);
900 unsigned int sequenceNumber);
920 unsigned int sequenceNumber);
969 void setElement(
const char *name,
bool value);
986 void setElement(
const char *name,
char value);
1108 void setElement(
const char *name,
const char *value);
1185 inline EventFormatter::EventFormatter(
Event& event)
1196 const char *messageType,
const Topic& topic)
1199 d_handle, messageType, 0, topic.
impl()));
1203 const Name& messageType,
const Topic& topic)
1206 d_handle, 0, messageType.
impl(), topic.
impl()));
1211 unsigned int sequenceNumber)
1214 d_handle, messageType, 0, topic.
impl(), sequenceNumber, 0));
1219 unsigned int sequenceNumber)
1222 d_handle, 0, messageType.
impl(), topic.
impl(), sequenceNumber, 0));
1234 d_handle, 0, operationName.
impl()));
1241 d_handle, topic.
impl(), cid ? &cid->impl() : 0));
1253 static_cast<int>(fragmentType)));
1266 static_cast<int>(fragmentType)));
1279 static_cast<int>(fragmentType)));
1283 unsigned int sequenceNumber,
1289 cid ? &cid->impl() : 0,
1296 unsigned int sequenceNumber)
1309 unsigned int sequenceNumber)
1322 unsigned int sequenceNumber)
1329 static_cast<int>(fragmentType),
1336 unsigned int sequenceNumber)
1343 static_cast<int>(fragmentType),
1350 unsigned int sequenceNumber)
1357 static_cast<int>(fragmentType),
1370 static_cast<int>(fragmentType)));
1383 static_cast<int>(fragmentType)));
1396 static_cast<int>(fragmentType)));
1438 d_handle, name, 0, &value.
rawValue()));
1446 d_handle, name, 0, &value));
1458 d_handle, name, 0, value.
impl()));
1470 d_handle, 0, name.
impl(), value));
1476 d_handle, 0, name.
impl(), value));
1482 d_handle, 0, name.
impl(), value));
1488 d_handle, 0, name.
impl(), value));
1494 d_handle, 0, name.
impl(), value));
1499 d_handle, 0, name.
impl(), value));
1513 d_handle, 0, name.
impl(), &value));
1519 d_handle, 0, name.
impl(), value));
1523 const Name& name,
const std::string& value)
1531 d_handle, 0, name.
impl(), value.
impl()));
1535 const Name& name,
const void *value,
size_t length)
1541 reinterpret_cast<const char *>(value),
1545 template <
typename BYTES,
1546 typename std::enable_if<IsByteSequence<BYTES>::value,
bool>::type>
1549 setElement(name, value.data(), value.size());
1649 #endif // #ifdef __cplusplus 1650 #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.
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
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:553
Definition: blpapi_datetime.h:115