OpenMAMA
MamdaNewsMetaData.h
Go to the documentation of this file.
1 /* $Id$
2  *
3  * OpenMAMA: The open middleware agnostic messaging API
4  * Copyright (C) 2011 NYSE Technologies, Inc.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  */
21 
22 #ifndef MamdaNewsMetaDataH
23 #define MamdaNewsMetaDataH
24 
26 #include <mamda/MamdaBasicEvent.h>
27 #include <mamda/MamdaNewsTypes.h>
28 #include <mama/types.h>
29 
30 
31 namespace Wombat
32 {
33 
46  class MAMDAOPTExpDLL MamdaNewsMetaData : public MamdaBasicEvent
47  {
48  public:
49 
53  virtual const char* getHeadlineText() const = 0;
54 
58  virtual const char* getNewsSourceId() const = 0;
59 
64  virtual const char* getNewsOrigSourceId() const = 0;
65 
69  virtual const char* getLanguageId() const = 0;
70 
75  virtual void getNativeCodes (const char**& codes,
76  mama_size_t& numCodes) const = 0;
77 
82  virtual void getNativeRelatedSymbols (const char**& symbols,
83  mama_size_t& numSymbols) const = 0;
84 
89  virtual void getIndustries (const char**& industries,
90  mama_size_t& numIndustries) const = 0;
91 
96  virtual void getMarketSectors (const char**& marketSectors,
97  mama_size_t& numMarketSectors) const = 0;
98 
103  virtual void getRegions (const char**& regions,
104  mama_size_t& numRegions) const = 0;
105 
110  virtual void getCountries (const char**& countries,
111  mama_size_t& numCountries) const = 0;
112 
117  virtual void getTopics (const char**& topics,
118  mama_size_t& numTopics) const = 0;
119 
124  virtual void getProducts (const char**& products,
125  mama_size_t& numProducts) const = 0;
126 
132  virtual void getMiscCodes (const char**& miscCodes,
133  mama_size_t& numMiscCodes) const = 0;
134 
139  virtual void getRelatedSymbols (const char**& symbols,
140  mama_size_t& numSymbols) const = 0;
141 
146  virtual MamdaNewsPriority getNewsPriority() const = 0;
147 
152  virtual mama_u16_t getNewsStoryRevNumber() const = 0;
153 
157  virtual const MamaDateTime& getNewsOrigStoryTime() const = 0;
158 
159  virtual ~MamdaNewsMetaData() {};
160  };
161 
162 } // namespace
163 
164 #endif // MamdaNewsMetaDataH
virtual ~MamdaNewsMetaData()
Definition: MamdaNewsMetaData.h:159
MamdaOrderImbalanceUpdate is an interface that provides access to order imbalance related fields...
Definition: MamdaAuctionFields.h:29
MamdaNewsMetaData represents information about many types of attributes associated with the news head...
Definition: MamdaNewsMetaData.h:46
MamdaNewsPriority
Definition: MamdaNewsTypes.h:33
MamdaBasicEvent is a superclass interface that provides access to common event related fields...
Definition: MamdaBasicEvent.h:46


© 2012 Linux Foundation