28 #ifndef INCLUDED_BLPAPI_IDENTITY 29 #define INCLUDED_BLPAPI_IDENTITY 78 const int *entitlementIds,
79 size_t numEntitlements,
80 int *failedEntitlements,
81 int *failedEntitlementsCount);
184 const int *entitlementIds,
185 size_t numEntitlements)
const;
196 const int *entitlementIds,
197 size_t numEntitlements,
198 int *failedEntitlements,
199 int *failedEntitlementsCount)
const;
221 int *failedEntitlements,
222 int *failedEntitlementsCount)
const;
281 : d_handle_p(newHandle)
286 : d_handle_p(original.d_handle_p)
298 swap(tmp.d_handle_p, d_handle_p);
303 inline void Identity::addRef()
310 inline void Identity::release()
318 const int *entitlementIds,
319 size_t numEntitlements)
const 333 const int *entitlementIds,
334 size_t numEntitlements,
335 int *failedEntitlements,
336 int *failedEntitlementsCount)
const 344 failedEntitlementsCount)
351 int *failedEntitlements,
352 int *failedEntitlementsCount)
const 360 failedEntitlementsCount)
378 return static_cast<SeatType>(seatType);
386 #endif // #ifdef __cplusplus 387 #endif // #ifndef INCLUDED_BLPAPI_IDENTITY Identity()
Definition: blpapi_identity.h:275
bool isValid() const
Definition: blpapi_identity.h:365
blpapi_Element_t * handle()
Definition: blpapi_element.h:1915
struct blpapi_Element blpapi_Element_t
Definition: blpapi_types.h:136
Common definitions used by the library.
void swap(Event::iterator &lhs, Event::iterator &rhs)
Swap the contents of the lhs and rhs iterators.
Definition: blpapi_event.h:723
bool isAuthorized(const Service &service) const
Definition: blpapi_identity.h:367
Definition: blpapi_abstractsession.h:220
Definition: blpapi_service.h:304
int blpapi_Identity_hasEntitlements(const blpapi_Identity_t *handle, const blpapi_Service_t *service, const blpapi_Element_t *eidElement, const int *entitlementIds, size_t numEntitlements, int *failedEntitlements, int *failedEntitlementsCount)
~Identity()
Definition: blpapi_identity.h:291
Definition: blpapi_identity.h:140
Identity & operator=(const Identity &)
Definition: blpapi_identity.h:293
int blpapi_Identity_addRef(blpapi_Identity_t *handle)
blpapi_Service_t * handle() const
Definition: blpapi_service.h:706
A service which provides access to API data (provide or consume).
SeatType getSeatType() const
Definition: blpapi_identity.h:373
static void throwOnError(int errorCode)
Definition: blpapi_exception.h:526
Definition: blpapi_element.h:464
int blpapi_Identity_isAuthorized(const blpapi_Identity_t *handle, const blpapi_Service_t *service)
struct blpapi_Identity blpapi_Identity_t
Definition: blpapi_types.h:188
int blpapi_Identity_getSeatType(const blpapi_Identity_t *handle, int *seatType)
Not permissioned for Bloomberg Professional Service.
Definition: blpapi_identity.h:147
SeatType
Definition: blpapi_identity.h:139
Definition: blpapi_identity.h:131
#define BLPAPI_SEATTYPE_BPS
Definition: blpapi_defs.h:120
Defines Exceptions that can be thrown by the blpapi library.
#define BLPAPI_SEATTYPE_INVALID_SEAT
Definition: blpapi_defs.h:119
#define BLPAPI_EXPORT
Definition: blpapi_defs.h:171
struct blpapi_Service blpapi_Service_t
Definition: blpapi_types.h:166
bool hasEntitlements(const Service &service, const int *entitlementIds, size_t numEntitlements) const
Definition: blpapi_identity.h:317
Bloomberg Professional Service.
Definition: blpapi_identity.h:144
blpapi_Identity_t * handle() const
Definition: blpapi_identity.h:381
#define BLPAPI_SEATTYPE_NONBPS
Definition: blpapi_defs.h:121
void blpapi_Identity_release(blpapi_Identity_t *handle)