28 #ifndef INCLUDED_BLPAPI_RESOLUTIONLIST 29 #define INCLUDED_BLPAPI_RESOLUTIONLIST 61 #ifndef INCLUDED_BLPAPI_TYPES 65 #ifndef INCLUDED_BLPAPI_CORRELATIONID 69 #ifndef INCLUDED_BLPAPI_DEFS 73 #ifndef INCLUDED_BLPAPI_ELEMENT 77 #ifndef INCLUDED_BLPAPI_NAME 81 #ifndef INCLUDED_BLPAPI_MESSAGE 87 struct blpapi_ResolutionList;
108 const blpapi_CorrelationId_t *correlationId);
113 const blpapi_CorrelationId_t *correlationId);
121 blpapi_CorrelationId_t *result,
127 const blpapi_CorrelationId_t *
id);
136 const blpapi_CorrelationId_t *
id);
146 const blpapi_CorrelationId_t *
id);
157 const blpapi_CorrelationId_t *
id);
170 #ifndef INCLUDED_BLPAPI_EXCEPTION 259 virtual int add(
const char *topic,
268 virtual int add(
Message const& topicSubscribedMessage,
321 virtual int statusAt(
size_t index)
const;
378 virtual size_t size()
const;
433 d_handle_p, topicSubscribedMessage.impl(), &correlationId.impl());
446 blpapi_CorrelationId_t correlationId;
448 d_handle_p, &correlationId, index));
456 const char *topic = 0;
458 d_handle_p, &topic, &correlationId.impl()));
465 const char *topic = 0;
476 d_handle_p, &result, &correlationId.impl()));
512 d_handle_p, &messageByCid, &correlationId.impl()));
514 bool makeMessageCopyable =
true;
516 return Message(messageByCid, makeMessageCopyable);
523 d_handle_p, &messageByIndex, index));
525 bool makeMessageCopyable =
true;
527 return Message(messageByIndex, makeMessageCopyable);
545 #endif // #ifdef __cplusplus 546 #endif // #ifndef INCLUDED_BLPAPI_RESOLUTIONLIST int blpapi_ResolutionList_add(blpapi_ResolutionList_t *list, const char *topic, const blpapi_CorrelationId_t *correlationId)
Definition: blpapi_message.h:160
ResolutionList()
Definition: blpapi_resolutionlist.h:408
static Element extractAttributeFromResolutionSuccess(Message const &message, Name const &attribute)
Definition: blpapi_resolutionlist.h:399
#define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_BAD_TOPIC
Definition: blpapi_defs.h:141
virtual ~ResolutionList()
Definition: blpapi_resolutionlist.h:418
struct blpapi_Element blpapi_Element_t
Definition: blpapi_types.h:136
virtual int statusAt(size_t index) const
Definition: blpapi_resolutionlist.h:481
#define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_SERVICE_AUTHORIZATION_FAILED
Definition: blpapi_defs.h:140
Not yet resolved.
Definition: blpapi_resolutionlist.h:201
Common definitions used by the library.
virtual size_t size() const
Definition: blpapi_resolutionlist.h:530
int blpapi_ResolutionList_messageAt(const blpapi_ResolutionList_t *list, blpapi_Message_t **element, size_t index)
Definition: blpapi_abstractsession.h:220
Definition: blpapi_resolutionlist.h:216
Definition: blpapi_name.h:150
blpapi_ResolutionList_t * blpapi_ResolutionList_create(blpapi_ResolutionList_t *from)
int blpapi_ResolutionList_statusAt(const blpapi_ResolutionList_t *list, int *status, size_t index)
struct blpapi_ResolutionList blpapi_ResolutionList_t
Definition: blpapi_resolutionlist.h:88
Resolved successfully.
Definition: blpapi_resolutionlist.h:203
virtual int status(const CorrelationId &correlationId) const
Definition: blpapi_resolutionlist.h:472
struct blpapi_Name blpapi_Name_t
Definition: blpapi_types.h:154
virtual int add(const char *topic, const CorrelationId &correlationId=CorrelationId())
Definition: blpapi_resolutionlist.h:423
Status
Definition: blpapi_resolutionlist.h:200
#define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_TOPIC_AUTHORIZATION_FAILED
Definition: blpapi_defs.h:142
int blpapi_ResolutionList_addFromMessage(blpapi_ResolutionList_t *list, const blpapi_Message_t *topic, const blpapi_CorrelationId_t *correlationId)
const blpapi_ResolutionList_t * impl() const
Definition: blpapi_resolutionlist.h:535
int blpapi_ResolutionList_addAttribute(blpapi_ResolutionList_t *list, const blpapi_Name_t *name)
Definition: blpapi_resolutionlist.h:211
Provide a key to identify individual subscriptions or requests.
struct blpapi_Message blpapi_Message_t
Definition: blpapi_message.h:71
int blpapi_ResolutionList_topicString(const blpapi_ResolutionList_t *list, const char **topic, const blpapi_CorrelationId_t *id)
static void throwOnError(int errorCode)
Definition: blpapi_exception.h:526
virtual Message const messageAt(size_t index) const
Definition: blpapi_resolutionlist.h:519
Currently unused.
Definition: blpapi_resolutionlist.h:222
int addAttribute(const Name &attribute)
Definition: blpapi_resolutionlist.h:436
Definition: blpapi_element.h:464
Element attributeAt(const Name &attribute, size_t index) const
Definition: blpapi_resolutionlist.h:499
void blpapi_ResolutionList_destroy(blpapi_ResolutionList_t *list)
#define BLPAPI_RESOLUTIONLIST_RESOLUTION_FAILURE_BAD_SERVICE
Definition: blpapi_defs.h:139
int blpapi_ResolutionList_size(const blpapi_ResolutionList_t *list)
Definition: blpapi_correlationid.h:201
int blpapi_ResolutionList_attribute(const blpapi_ResolutionList_t *list, blpapi_Element_t **element, const blpapi_Name_t *attribute, const blpapi_CorrelationId_t *id)
#define BLPAPI_RESOLUTIONLIST_UNRESOLVED
Definition: blpapi_defs.h:137
blpapi_Element_t * blpapi_ResolutionList_extractAttributeFromResolutionSuccess(const blpapi_Message_t *message, const blpapi_Name_t *attribute)
Defines a message containing elements.
virtual const char * topicStringAt(size_t index) const
Definition: blpapi_resolutionlist.h:463
Definition: blpapi_resolutionlist.h:205
virtual CorrelationId correlationIdAt(size_t index) const
Definition: blpapi_resolutionlist.h:444
int blpapi_ResolutionList_message(const blpapi_ResolutionList_t *list, blpapi_Message_t **element, const blpapi_CorrelationId_t *id)
#define BLPAPI_RESOLUTIONLIST_RESOLVED
Definition: blpapi_defs.h:138
int blpapi_ResolutionList_correlationIdAt(const blpapi_ResolutionList_t *list, blpapi_CorrelationId_t *result, size_t index)
Defines Exceptions that can be thrown by the blpapi library.
virtual const char * topicString(const CorrelationId &correlationId) const
Definition: blpapi_resolutionlist.h:453
int blpapi_ResolutionList_topicStringAt(const blpapi_ResolutionList_t *list, const char **topic, size_t index)
int blpapi_ResolutionList_attributeAt(const blpapi_ResolutionList_t *list, blpapi_Element_t **element, const blpapi_Name_t *attribute, size_t index)
#define BLPAPI_ERROR_UNSUPPORTED_OPERATION
Definition: blpapi_error.h:84
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
virtual Message const message(const CorrelationId &correlationId) const
Definition: blpapi_resolutionlist.h:507
int blpapi_ResolutionList_status(const blpapi_ResolutionList_t *list, int *status, const blpapi_CorrelationId_t *id)
#define BLPAPI_CALL_MESSAGE_ADDREF(a1)
Definition: blpapi_call.h:360
Element attribute(const Name &attribute, const CorrelationId &correlationId) const
Definition: blpapi_resolutionlist.h:490
Provide a representation of an item in a message.
Provide a representation of strings for use as container keys.
Definition: blpapi_resolutionlist.h:195