OpenMAMA
MamdaFundamentals.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 MamdaFundamentalsH
23 #define MamdaFundamentalsH
24 
25 #include <mamda/MamdaConfig.h>
26 #include <mamda/MamdaBasicRecap.h>
27 #include <mamda/MamdaFieldState.h>
28 
29 namespace Wombat
30 {
31 
37  class MAMDAExpDLL MamdaFundamentals : public MamdaBasicRecap
38  {
39  public:
40  virtual const char* getCorporateActionType() const = 0;
41  virtual double getDividendPrice() const = 0;
42  virtual const char* getDividendFrequency() const = 0;
43  virtual const char* getDividendExDate() const = 0;
44  virtual const char* getDividendPayDate() const = 0;
45  virtual const char* getDividendRecordDate() const = 0;
46  virtual const char* getDividendCurrency() const = 0;
47  virtual long getSharesOut() const = 0;
48  virtual long getSharesFloat() const = 0;
49  virtual long getSharesAuthorized() const = 0;
50  virtual double getEarningsPerShare() const = 0;
51  virtual double getVolatility() const = 0;
52  virtual double getPriceEarningsRatio() const = 0;
53  virtual double getYield() const = 0;
54  virtual const char* getMarketSegmentNative() const = 0;
55  virtual const char* getMarketSectorNative() const = 0;
56  virtual const char* getMarketSegment() const = 0;
57  virtual const char* getMarketSector() const = 0;
58  virtual double getHistoricalVolatility() const = 0;
59  virtual double getRiskFreeRate() const = 0;
60 
61  virtual MamdaFieldState getCorporateActionTypeFieldState() const = 0;
62  virtual MamdaFieldState getDividendPriceFieldState() const = 0;
63  virtual MamdaFieldState getDividendFrequencyFieldState() const = 0;
64  virtual MamdaFieldState getDividendExDateFieldState() const = 0;
65  virtual MamdaFieldState getDividendPayDateFieldState() const = 0;
66  virtual MamdaFieldState getDividendRecordDateFieldState() const = 0;
67  virtual MamdaFieldState getDividendCurrencyFieldState() const = 0;
68  virtual MamdaFieldState getSharesOutFieldState() const = 0;
69  virtual MamdaFieldState getSharesFloatFieldState() const = 0;
70  virtual MamdaFieldState getSharesAuthorizedFieldState() const = 0;
71  virtual MamdaFieldState getEarningsPerShareFieldState() const = 0;
72  virtual MamdaFieldState getVolatilityFieldState() const = 0;
73  virtual MamdaFieldState getPriceEarningsRatioFieldState() const = 0;
74  virtual MamdaFieldState getYieldFieldState() const = 0;
75  virtual MamdaFieldState getMarketSegmentNativeFieldState() const = 0;
76  virtual MamdaFieldState getMarketSectorNativeFieldState() const = 0;
77  virtual MamdaFieldState getMarketSegmentFieldState() const = 0;
78  virtual MamdaFieldState getMarketSectorFieldState() const = 0;
79  virtual MamdaFieldState getHistoricalVolatilityFieldState() const = 0;
80  virtual MamdaFieldState getRiskFreeRateFieldState() const = 0;
81 
82  virtual ~MamdaFundamentals() {};
83  };
84 
85 } // namespace
86 
87 #endif // MamdaFundamentalsH


© 2012 Linux Foundation