alkimia  8.0.3
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 35 of file alkquoteitem.h.

Constructor & Destructor Documentation

◆ AlkQuoteItem() [1/2]

AlkQuoteItem::AlkQuoteItem ( QObject *  parent = 0)

Definition at line 40 of file alkquoteitem.cpp.

◆ ~AlkQuoteItem()

AlkQuoteItem::~AlkQuoteItem ( )

Definition at line 46 of file alkquoteitem.cpp.

◆ AlkQuoteItem() [2/2]

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

Definition at line 50 of file alkquoteitem.cpp.

Member Function Documentation

◆ changeToday()

const AlkValue & AlkQuoteItem::changeToday ( ) const

Today's change

Definition at line 119 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_changeToday.

Referenced by operator<<().

◆ closingValue()

const AlkValue & AlkQuoteItem::closingValue ( ) const

Value of the share when the market closed

Definition at line 99 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_closingValue.

Referenced by operator<<().

◆ currentValue()

const AlkValue & AlkQuoteItem::currentValue ( ) const

Value of the share at the time of the quote

Definition at line 79 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_currentValue.

Referenced by operator<<().

◆ dateTime()

const QDateTime & AlkQuoteItem::dateTime ( ) const

Date and time of the quote

Definition at line 74 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_dateTime.

Referenced by operator<<(), and setDateTime().

◆ earningsPerShare()

const AlkValue & AlkQuoteItem::earningsPerShare ( ) const

Earning per share

Definition at line 114 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_earnings.

Referenced by operator<<().

◆ ebitda()

const AlkValue & AlkQuoteItem::ebitda ( ) const

Earnings Before Interest, Taxes, Depreciation, and Amortization

Definition at line 124 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_ebitda.

Referenced by operator<<().

◆ highValue()

const AlkValue & AlkQuoteItem::highValue ( ) const

Highest value of the share since the market opened that day

Definition at line 89 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_highValue.

Referenced by operator<<().

◆ lowValue()

const AlkValue & AlkQuoteItem::lowValue ( ) const

Lowest value of the share since the market opened that day

Definition at line 94 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_lowValue.

Referenced by operator<<().

◆ marketCap()

const AlkValue & AlkQuoteItem::marketCap ( ) const

Market capitalization

Definition at line 109 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_marketCap.

Referenced by operator<<().

◆ openingValue()

const AlkValue & AlkQuoteItem::openingValue ( ) const

Value of the share when the market opened

Definition at line 84 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_openingValue.

Referenced by operator<<().

◆ recordId()

const QString & AlkQuoteItem::recordId ( ) const

Internal id

Definition at line 129 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_id.

Referenced by operator<<(), and setRecordId().

◆ setChangeToday()

void AlkQuoteItem::setChangeToday ( const AlkValue &  value)

Definition at line 184 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_changeToday.

Referenced by operator>>().

◆ setClosingValue()

void AlkQuoteItem::setClosingValue ( const AlkValue &  value)

Definition at line 164 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_closingValue.

Referenced by operator>>().

◆ setCurrentValue()

void AlkQuoteItem::setCurrentValue ( const AlkValue &  value)

Definition at line 144 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_currentValue.

Referenced by operator>>().

◆ setDateTime()

void AlkQuoteItem::setDateTime ( const QDateTime &  datetime)

Definition at line 139 of file alkquoteitem.cpp.

References d, dateTime(), and AlkQuoteItem::Private::m_dateTime.

Referenced by operator>>().

◆ setEarningsPerShare()

void AlkQuoteItem::setEarningsPerShare ( const AlkValue &  value)

Definition at line 179 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_earnings.

Referenced by operator>>().

◆ setEbitda()

void AlkQuoteItem::setEbitda ( const AlkValue &  value)

Definition at line 189 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_ebitda.

Referenced by operator>>().

◆ setHighValue()

void AlkQuoteItem::setHighValue ( const AlkValue &  value)

Definition at line 154 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_highValue.

Referenced by operator>>().

◆ setLowValue()

void AlkQuoteItem::setLowValue ( const AlkValue &  value)

Definition at line 159 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_lowValue.

Referenced by operator>>().

◆ setMarketCap()

void AlkQuoteItem::setMarketCap ( const AlkValue &  value)

Definition at line 169 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_marketCap.

Referenced by operator>>().

◆ setOpeningValue()

void AlkQuoteItem::setOpeningValue ( const AlkValue &  value)

Definition at line 149 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_openingValue.

Referenced by operator>>().

◆ setRecordId()

void AlkQuoteItem::setRecordId ( const QString &  recordId)

Definition at line 194 of file alkquoteitem.cpp.

References d, AlkQuoteItem::Private::m_id, and recordId().

Referenced by operator>>().

◆ setSymbol()

void AlkQuoteItem::setSymbol ( const QString &  symbol)

Definition at line 134 of file alkquoteitem.cpp.

References d, AlkQuoteItem::Private::m_symbol, and symbol().

Referenced by operator>>().

◆ setVolume()

void AlkQuoteItem::setVolume ( const AlkValue &  value)

Definition at line 174 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_volume.

Referenced by operator>>().

◆ symbol()

const QString & AlkQuoteItem::symbol ( ) const

This is the symbol of the equity

Definition at line 69 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_symbol.

Referenced by operator<<(), and setSymbol().

◆ volume()

const AlkValue & AlkQuoteItem::volume ( ) const

Number of shares traded

Definition at line 104 of file alkquoteitem.cpp.

References d, and AlkQuoteItem::Private::m_volume.

Referenced by operator<<().

Member Data Documentation

◆ d

Private* const AlkQuoteItem::d
private

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