alkimia
7.0.1
|
#include <alkquoteitem.h>
Classes | |
class | Private |
Public Member Functions | |
AlkQuoteItem (QObject *parent=0) | |
~AlkQuoteItem () | |
AlkQuoteItem (const AlkQuoteItem &item, QObject *parent=0) | |
const QString & | symbol () const |
const QDateTime & | dateTime () const |
const AlkValue & | currentValue () const |
const AlkValue & | openingValue () const |
const AlkValue & | highValue () const |
const AlkValue & | lowValue () const |
const AlkValue & | closingValue () const |
const AlkValue & | volume () const |
const AlkValue & | marketCap () const |
const AlkValue & | earningsPerShare () const |
const AlkValue & | changeToday () const |
const AlkValue & | ebitda () const |
const QString & | recordId () const |
void | setSymbol (const QString &symbol) |
void | setDateTime (const QDateTime &datetime) |
void | setCurrentValue (const AlkValue &value) |
void | setOpeningValue (const AlkValue &value) |
void | setHighValue (const AlkValue &value) |
void | setLowValue (const AlkValue &value) |
void | setClosingValue (const AlkValue &value) |
void | setVolume (const AlkValue &value) |
void | setMarketCap (const AlkValue &value) |
void | setEarningsPerShare (const AlkValue &value) |
void | setChangeToday (const AlkValue &value) |
void | setEbitda (const AlkValue &value) |
void | setRecordId (const QString &recordId) |
Private Attributes | |
Private *const | d |
This class represents a single quote of an equity It holds information of use to assess the equity value
Definition at line 36 of file alkquoteitem.h.
AlkQuoteItem::AlkQuoteItem | ( | QObject * | parent = 0 | ) |
Definition at line 41 of file alkquoteitem.cpp.
AlkQuoteItem::~AlkQuoteItem | ( | ) |
Definition at line 47 of file alkquoteitem.cpp.
AlkQuoteItem::AlkQuoteItem | ( | const AlkQuoteItem & | item, |
QObject * | parent = 0 |
||
) |
Definition at line 51 of file alkquoteitem.cpp.
References changeToday(), closingValue(), currentValue(), dateTime(), earningsPerShare(), ebitda(), highValue(), lowValue(), marketCap(), openingValue(), recordId(), setChangeToday(), setClosingValue(), setCurrentValue(), setDateTime(), setEarningsPerShare(), setEbitda(), setHighValue(), setLowValue(), setMarketCap(), setOpeningValue(), setRecordId(), setSymbol(), setVolume(), symbol(), and volume().
const AlkValue & AlkQuoteItem::changeToday | ( | ) | const |
Today's change
Definition at line 120 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_changeToday.
Referenced by AlkQuoteItem(), and operator<<().
const AlkValue & AlkQuoteItem::closingValue | ( | ) | const |
Value of the share when the market closed
Definition at line 100 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_closingValue.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const AlkValue & AlkQuoteItem::currentValue | ( | ) | const |
Value of the share at the time of the quote
Definition at line 80 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_currentValue.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const QDateTime & AlkQuoteItem::dateTime | ( | ) | const |
Date and time of the quote
Definition at line 75 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_dateTime.
Referenced by AlkQuoteItem(), operator<<(), operator>>(), and setDateTime().
const AlkValue & AlkQuoteItem::earningsPerShare | ( | ) | const |
Earning per share
Definition at line 115 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_earnings.
Referenced by AlkQuoteItem(), and operator<<().
const AlkValue & AlkQuoteItem::ebitda | ( | ) | const |
Earnings Before Interest, Taxes, Depreciation, and Amortization
Definition at line 125 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_ebitda.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const AlkValue & AlkQuoteItem::highValue | ( | ) | const |
Highest value of the share since the market opened that day
Definition at line 90 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_highValue.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const AlkValue & AlkQuoteItem::lowValue | ( | ) | const |
Lowest value of the share since the market opened that day
Definition at line 95 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_lowValue.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const AlkValue & AlkQuoteItem::marketCap | ( | ) | const |
Market capitalization
Definition at line 110 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_marketCap.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const AlkValue & AlkQuoteItem::openingValue | ( | ) | const |
Value of the share when the market opened
Definition at line 85 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_openingValue.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
const QString & AlkQuoteItem::recordId | ( | ) | const |
Internal id
Definition at line 130 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_id.
Referenced by AlkQuoteItem(), operator<<(), operator>>(), and setRecordId().
void AlkQuoteItem::setChangeToday | ( | const AlkValue & | value | ) |
Definition at line 185 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_changeToday.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setClosingValue | ( | const AlkValue & | value | ) |
Definition at line 165 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_closingValue.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setCurrentValue | ( | const AlkValue & | value | ) |
Definition at line 145 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_currentValue.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setDateTime | ( | const QDateTime & | datetime | ) |
Definition at line 140 of file alkquoteitem.cpp.
References d, dateTime(), and AlkQuoteItem::Private::m_dateTime.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setEarningsPerShare | ( | const AlkValue & | value | ) |
Definition at line 180 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_earnings.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setEbitda | ( | const AlkValue & | value | ) |
Definition at line 190 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_ebitda.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setHighValue | ( | const AlkValue & | value | ) |
Definition at line 155 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_highValue.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setLowValue | ( | const AlkValue & | value | ) |
Definition at line 160 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_lowValue.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setMarketCap | ( | const AlkValue & | value | ) |
Definition at line 170 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_marketCap.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setOpeningValue | ( | const AlkValue & | value | ) |
Definition at line 150 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_openingValue.
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setRecordId | ( | const QString & | recordId | ) |
Definition at line 195 of file alkquoteitem.cpp.
References d, AlkQuoteItem::Private::m_id, and recordId().
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setSymbol | ( | const QString & | symbol | ) |
Definition at line 135 of file alkquoteitem.cpp.
References d, AlkQuoteItem::Private::m_symbol, and symbol().
Referenced by AlkQuoteItem(), and operator>>().
void AlkQuoteItem::setVolume | ( | const AlkValue & | value | ) |
Definition at line 175 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_volume.
Referenced by AlkQuoteItem(), and operator>>().
const QString & AlkQuoteItem::symbol | ( | ) | const |
This is the symbol of the equity
Definition at line 70 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_symbol.
Referenced by AlkQuoteItem(), operator<<(), operator>>(), and setSymbol().
const AlkValue & AlkQuoteItem::volume | ( | ) | const |
Number of shares traded
Definition at line 105 of file alkquoteitem.cpp.
References d, and AlkQuoteItem::Private::m_volume.
Referenced by AlkQuoteItem(), operator<<(), and operator>>().
|
private |
Definition at line 129 of file alkquoteitem.h.
Referenced by changeToday(), closingValue(), currentValue(), dateTime(), earningsPerShare(), ebitda(), highValue(), lowValue(), marketCap(), openingValue(), recordId(), setChangeToday(), setClosingValue(), setCurrentValue(), setDateTime(), setEarningsPerShare(), setEbitda(), setHighValue(), setLowValue(), setMarketCap(), setOpeningValue(), setRecordId(), setSymbol(), setVolume(), symbol(), and volume().