alkimia  7.0.1
Classes | Public Member Functions | Private Attributes | List of all members
AlkQuoteItem Class Reference

#include <alkquoteitem.h>

Inheritance diagram for AlkQuoteItem:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

§ AlkQuoteItem() [1/2]

AlkQuoteItem::AlkQuoteItem ( QObject *  parent = 0)

Definition at line 41 of file alkquoteitem.cpp.

§ ~AlkQuoteItem()

AlkQuoteItem::~AlkQuoteItem ( )

Definition at line 47 of file alkquoteitem.cpp.

§ AlkQuoteItem() [2/2]

AlkQuoteItem::AlkQuoteItem ( const AlkQuoteItem item,
QObject *  parent = 0 
)

Member Function Documentation

§ changeToday()

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<<().

§ closingValue()

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>>().

§ currentValue()

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>>().

§ dateTime()

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().

§ earningsPerShare()

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<<().

§ ebitda()

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>>().

§ highValue()

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>>().

§ lowValue()

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>>().

§ marketCap()

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>>().

§ openingValue()

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>>().

§ recordId()

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().

§ setChangeToday()

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>>().

§ setClosingValue()

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>>().

§ setCurrentValue()

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>>().

§ setDateTime()

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>>().

§ setEarningsPerShare()

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>>().

§ setEbitda()

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>>().

§ setHighValue()

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>>().

§ setLowValue()

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>>().

§ setMarketCap()

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>>().

§ setOpeningValue()

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>>().

§ setRecordId()

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>>().

§ setSymbol()

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>>().

§ setVolume()

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>>().

§ symbol()

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().

§ volume()

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>>().

Member Data Documentation

§ d

Private* const AlkQuoteItem::d
private

The documentation for this class was generated from the following files: