Index Class Reference

#include <Index.h>

List of all members.

Public Member Functions

 Index ()
 ~Index ()
void getHistory (BarData *, QDateTime &, QString &, int, BarData::BarLength)
void loadIndexData (QString &symbol, QDict< Bar > &lookup, QDateTime &startDate, float weight, int barRange, BarData::BarLength barLength)


Detailed Description

Definition at line 31 of file Index.h.


Constructor & Destructor Documentation

Index::Index (  ) 

Definition at line 28 of file Index.cpp.

Index::~Index (  ) 

Definition at line 32 of file Index.cpp.


Member Function Documentation

void Index::getHistory ( BarData barData,
QDateTime &  startDate,
QString &  il,
int  barRange,
BarData::BarLength  barLength 
)

Definition at line 36 of file Index.cpp.

References Bar::getClose(), Bar::getDate(), Bar::getDateTimeString(), Bar::getHigh(), Bar::getLow(), Bar::getOI(), Bar::getOpen(), loadIndexData(), BarData::prepend(), Bar::setClose(), Bar::setDate(), Bar::setHigh(), Bar::setLow(), and Bar::setOpen().

void Index::loadIndexData ( QString &  symbol,
QDict< Bar > &  lookup,
QDateTime &  startDate,
float  weight,
int  barRange,
BarData::BarLength  barLength 
)

Definition at line 110 of file Index.cpp.

References DBBase::close(), BarData::count(), Bar::getClose(), BarData::getClose(), BarData::getDate(), Bar::getDateTimeString(), Bar::getHigh(), BarData::getHigh(), DbPlugin::getHistory(), Bar::getLow(), BarData::getLow(), Bar::getOI(), Bar::getOpen(), BarData::getOpen(), BarData::setBarLength(), DbPlugin::setBarRange(), Bar::setClose(), Bar::setDate(), Bar::setHigh(), Bar::setLow(), Bar::setOI(), and Bar::setOpen().

Referenced by getHistory().


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