MamdaNewsHeadline represents a news headline and includes information about many types of meta-data attributes associated with the headline. More...
#include <MamdaNewsHeadline.h>
Public Member Functions | |
| MamdaNewsHeadline () | |
| Default constructor. More... | |
| MamdaNewsHeadline (const MamdaNewsHeadline ©) | |
| Copy constructor. More... | |
| virtual | ~MamdaNewsHeadline () |
| Destructor. More... | |
| virtual MamdaNewsHeadline & | operator= (const MamdaNewsHeadline &rhs) |
| Assignment operator. More... | |
| virtual const char * | getHeadlineText () const |
| virtual MamdaNewsHeadlineId | getHeadlineId () const |
| virtual MamdaNewsStoryId | getNewsStoryId () const |
| virtual MamdaNewsStoryId | getNewsOrigStoryId () const |
| virtual bool | getNewsHasStory () const |
| virtual const char * | getNewsSourceId () const |
| virtual const char * | getNewsOrigSourceId () const |
| virtual const char * | getLanguageId () const |
| virtual void | getNativeCodes (const char **&codes, mama_size_t &numCodes) const |
| Get an array of native meta-data codes associated with this news story. More... | |
| virtual void | getNativeRelatedSymbols (const char **&symbols, mama_size_t &numSymbols) const |
| Get an array of native feed symbol codes associated with this news story. More... | |
| virtual void | getIndustries (const char **&industries, mama_size_t &numIndustries) const |
| Get an array of normalized industry codes associated with this news story. More... | |
| virtual void | getMarketSectors (const char **&marketSectors, mama_size_t &numMarketSectors) const |
| Get an array of normalized market sector codes associated with this news story. More... | |
| virtual void | getRegions (const char **®ions, mama_size_t &numRegions) const |
| Get an array of normalized region codes associated with this news story. More... | |
| virtual void | getCountries (const char **&countries, mama_size_t &numCountries) const |
| Get an array of ISO country codes associated with this news story. More... | |
| virtual void | getProducts (const char **&products, mama_size_t &numProducts) const |
| Get an array of normalized product codes associated with this news story. More... | |
| virtual void | getTopics (const char **&topics, mama_size_t &numTopics) const |
| Get an array of normalized topic (or "subject") codes associated with this news story. More... | |
| virtual void | getMiscCodes (const char **&miscCodes, mama_size_t &numMiscCodes) const |
| Get an array of normalized miscellaneous codes associated with this news story. More... | |
| virtual void | getRelatedSymbols (const char **&symbols, mama_size_t &numSymbols) const |
| Get an array of normalized symbol codes associated with this news story. More... | |
| virtual MamdaNewsPriority | getNewsPriority () const |
| virtual mama_u16_t | getNewsStoryRevNumber () const |
| virtual const MamaDateTime & | getNewsOrigStoryTime () const |
| virtual const char * | getSymbol () const |
| Get the instruments string symbol. More... | |
| virtual const char * | getPartId () const |
| Get the participant identifier. More... | |
| virtual const MamaDateTime & | getSrcTime () const |
| Get the source time. More... | |
| virtual const MamaDateTime & | getActivityTime () const |
| Get the activity time. More... | |
| virtual const MamaDateTime & | getLineTime () const |
| Get the line time. More... | |
| virtual const MamaDateTime & | getSendTime () const |
| Get the send time. More... | |
| virtual const MamaMsgQual & | getMsgQual () const |
| Get the message qualifier. More... | |
| virtual const MamaDateTime & | getEventTime () const |
| Get the event time. More... | |
| virtual mama_seqnum_t | getEventSeqNum () const |
| Get the event sequence number. More... | |
| MamdaFieldState | getSymbolFieldState () const |
| Get the string symbol field state. More... | |
| MamdaFieldState | getPartIdFieldState () const |
| Get the participant identifier field state. More... | |
| MamdaFieldState | getSrcTimeFieldState () const |
| Get the source time field state. More... | |
| MamdaFieldState | getActivityTimeFieldState () const |
| Get the activity time field state. More... | |
| MamdaFieldState | getLineTimeFieldState () const |
| Get the line time of the update. More... | |
| MamdaFieldState | getSendTimeFieldState () const |
| Get the send time field state. More... | |
| MamdaFieldState | getMsgQualFieldState () const |
| Get the message qualifier field state. More... | |
| MamdaFieldState | getEventTimeFieldState () const |
| Get the event time field state. More... | |
| MamdaFieldState | getEventSeqNumFieldState () const |
| Get the event sequence number field state. More... | |
| void | setHeadlineText (const char *headlineText) |
| void | setHeadlineId (const char *headlineId) |
| void | setStoryId (const char *storyId) |
| void | setHasStory (bool hasStory) |
| void | setSourceId (const char *source) |
| void | setOrigStoryId (const char *storyId) |
| void | setOrigSourceId (const char *origSourceId) |
| void | setLanguageId (const char *langId) |
| void | setNativeCodes (const char **codes, mama_size_t numCodes) |
| void | setNativeRelatedSymbols (const char **symbols, mama_size_t numSymbols) |
| void | setIndustries (const char **industries, mama_size_t numIndustries) |
| void | setMarketSectors (const char **marketSectors, mama_size_t numMarketSectors) |
| void | setRegions (const char **regions, mama_size_t numRegions) |
| void | setCountries (const char **countries, mama_size_t numCountries) |
| void | setProducts (const char **products, mama_size_t numProducts) |
| void | setTopics (const char **topics, mama_size_t numTopics) |
| void | setMiscCodes (const char **codes, mama_size_t numCodes) |
| void | setRelatedSymbols (const char **symbols, mama_size_t numSymbols) |
| void | setPriority (MamdaNewsPriority priority) |
| void | setStoryRevNumber (mama_u16_t storyRevNum) |
| void | setEventSeqNum (mama_seqnum_t seqNum) |
| void | setEventTime (const MamaDateTime &eventTime) |
| void | setOrigStoryTime (const MamaDateTime &storyTime) |
| void | setSrcTime (const MamaDateTime &srcTime) |
| void | setActivityTime (const MamaDateTime &actTime) |
| void | setLineTime (const MamaDateTime &lineTime) |
| void | setSendTime (const MamaDateTime &sendTime) |
| void | setMsgQual (const MamaMsgQual &msgQualifier) |
| void | clear () |
| void | setSubscriptionInfo (MamdaSubscription *subsc) |
| Implementation: save the subscription info for the headline (so we know where to request stories from). More... | |
| void | setSubscInfo (MamaQueue *queue, MamaSource *source) |
| MamaQueue * | getQueue () const |
| Implementation: get the subscription info for the headline. More... | |
| MamaSource * | getSource () const |
Public Member Functions inherited from Wombat::MamdaNewsMetaData | |
| virtual | ~MamdaNewsMetaData () |
Public Member Functions inherited from Wombat::MamdaBasicEvent | |
| virtual | ~MamdaBasicEvent () |
| Destructor. More... | |
MamdaNewsHeadline represents a news headline and includes information about many types of meta-data attributes associated with the headline.
Note on story IDs: all headlines have a story ID, even though no story may exist for the headline. The story ID is generated in order to be able to index together all revisions of a headline/story over time.
| Wombat::MamdaNewsHeadline::MamdaNewsHeadline | ( | ) |
Default constructor.
| Wombat::MamdaNewsHeadline::MamdaNewsHeadline | ( | const MamdaNewsHeadline & | copy | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Assignment operator.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of native meta-data codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of native feed symbol codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized industry codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized market sector codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized region codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of ISO country codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized product codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized topic (or "subject") codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized miscellaneous codes associated with this news story.
Miscellaneous codes are those not categorized as industry, market sector, region, country or product codes.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get an array of normalized symbol codes associated with this news story.
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Implements Wombat::MamdaNewsMetaData.
|
virtual |
Get the instruments string symbol.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the string symbol field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time of the update.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number field state.
Implements Wombat::MamdaBasicEvent.
| void Wombat::MamdaNewsHeadline::setHeadlineText | ( | const char * | headlineText | ) |
| void Wombat::MamdaNewsHeadline::setHeadlineId | ( | const char * | headlineId | ) |
| void Wombat::MamdaNewsHeadline::setStoryId | ( | const char * | storyId | ) |
| void Wombat::MamdaNewsHeadline::setHasStory | ( | bool | hasStory | ) |
| void Wombat::MamdaNewsHeadline::setSourceId | ( | const char * | source | ) |
| void Wombat::MamdaNewsHeadline::setOrigStoryId | ( | const char * | storyId | ) |
| void Wombat::MamdaNewsHeadline::setOrigSourceId | ( | const char * | origSourceId | ) |
| void Wombat::MamdaNewsHeadline::setLanguageId | ( | const char * | langId | ) |
| void Wombat::MamdaNewsHeadline::setNativeCodes | ( | const char ** | codes, |
| mama_size_t | numCodes | ||
| ) |
| void Wombat::MamdaNewsHeadline::setNativeRelatedSymbols | ( | const char ** | symbols, |
| mama_size_t | numSymbols | ||
| ) |
| void Wombat::MamdaNewsHeadline::setIndustries | ( | const char ** | industries, |
| mama_size_t | numIndustries | ||
| ) |
| void Wombat::MamdaNewsHeadline::setMarketSectors | ( | const char ** | marketSectors, |
| mama_size_t | numMarketSectors | ||
| ) |
| void Wombat::MamdaNewsHeadline::setRegions | ( | const char ** | regions, |
| mama_size_t | numRegions | ||
| ) |
| void Wombat::MamdaNewsHeadline::setCountries | ( | const char ** | countries, |
| mama_size_t | numCountries | ||
| ) |
| void Wombat::MamdaNewsHeadline::setProducts | ( | const char ** | products, |
| mama_size_t | numProducts | ||
| ) |
| void Wombat::MamdaNewsHeadline::setTopics | ( | const char ** | topics, |
| mama_size_t | numTopics | ||
| ) |
| void Wombat::MamdaNewsHeadline::setMiscCodes | ( | const char ** | codes, |
| mama_size_t | numCodes | ||
| ) |
| void Wombat::MamdaNewsHeadline::setRelatedSymbols | ( | const char ** | symbols, |
| mama_size_t | numSymbols | ||
| ) |
| void Wombat::MamdaNewsHeadline::setPriority | ( | MamdaNewsPriority | priority | ) |
| void Wombat::MamdaNewsHeadline::setStoryRevNumber | ( | mama_u16_t | storyRevNum | ) |
| void Wombat::MamdaNewsHeadline::setEventSeqNum | ( | mama_seqnum_t | seqNum | ) |
| void Wombat::MamdaNewsHeadline::setEventTime | ( | const MamaDateTime & | eventTime | ) |
| void Wombat::MamdaNewsHeadline::setOrigStoryTime | ( | const MamaDateTime & | storyTime | ) |
| void Wombat::MamdaNewsHeadline::setSrcTime | ( | const MamaDateTime & | srcTime | ) |
| void Wombat::MamdaNewsHeadline::setActivityTime | ( | const MamaDateTime & | actTime | ) |
| void Wombat::MamdaNewsHeadline::setLineTime | ( | const MamaDateTime & | lineTime | ) |
| void Wombat::MamdaNewsHeadline::setSendTime | ( | const MamaDateTime & | sendTime | ) |
| void Wombat::MamdaNewsHeadline::setMsgQual | ( | const MamaMsgQual & | msgQualifier | ) |
| void Wombat::MamdaNewsHeadline::clear | ( | ) |
| void Wombat::MamdaNewsHeadline::setSubscriptionInfo | ( | MamdaSubscription * | subsc | ) |
Implementation: save the subscription info for the headline (so we know where to request stories from).
| void Wombat::MamdaNewsHeadline::setSubscInfo | ( | MamaQueue * | queue, |
| MamaSource * | source | ||
| ) |
| MamaQueue* Wombat::MamdaNewsHeadline::getQueue | ( | ) | const |
Implementation: get the subscription info for the headline.
| MamaSource* Wombat::MamdaNewsHeadline::getSource | ( | ) | const |