#include <blpapi_topic.h>
List of all members.
Detailed Description
Used to identify the stream on which a message is published.
Topic objects are obtained from createTopic() on ProviderSession. They are used when adding a message to an Event for publishing using appendMessage() on EventFormatter.
Constructor & Destructor Documentation
Create a Topic object. A Topic created from the default constructor is not a valid topic and must be assigned to from a valid topic before it can be used.
Create a Topic object from a handle (main constructor)
blpapi::Topic::Topic |
( |
const Topic & |
original |
) |
|
Create a copy of the specified original
Topic.
blpapi::Topic::~Topic |
( |
|
) |
|
Destroy this Topic object.
Member Function Documentation
Topic& blpapi::Topic::operator= |
( |
const Topic & |
rhs |
) |
|
bool blpapi::Topic::isValid |
( |
|
) |
const |
Returns true if this Topic is valid and can be used to publish a message on.
bool blpapi::Topic::isActive |
( |
|
) |
const |
Returns true if this topic was elected by the platform to become the primary publisher.
Service blpapi::Topic::service |
( |
|
) |
const |
Returns the service for which this topic was created.
The documentation for this class was generated from the following file: