#include <DBIndexItem.h>
Public Member Functions | |
DBIndexItem () | |
~DBIndexItem () | |
void | getItem (DBIndexItemItem &) |
void | setItem (DBIndexItemItem &) |
void | setBarType (bool) |
bool | getBarType () |
void | setSymbol (QString &) |
void | getSymbol (QString &) |
void | setType (QString &) |
void | getType (QString &) |
void | setTitle (QString &) |
void | getTitle (QString &) |
void | setPath (QString &) |
void | getPath (QString &) |
void | setQuotePlugin (QString &) |
void | getQuotePlugin (QString &) |
void | setFuturesType (QString &) |
void | getFuturesType (QString &) |
void | setFuturesMonth (QString &) |
void | getFuturesMonth (QString &) |
void | setExchange (QString &) |
void | getExchange (QString &) |
Protected Attributes | |
DBIndexItemItem | item |
Definition at line 41 of file DBIndexItem.h.
DBIndexItem::DBIndexItem | ( | ) |
DBIndexItem::~DBIndexItem | ( | ) |
Definition at line 40 of file DBIndexItem.cpp.
void DBIndexItem::getItem | ( | DBIndexItemItem & | d | ) |
Definition at line 44 of file DBIndexItem.cpp.
References item.
Referenced by DBIndex::setIndexItem().
void DBIndexItem::setItem | ( | DBIndexItemItem & | d | ) |
Definition at line 49 of file DBIndexItem.cpp.
References item.
Referenced by DBIndex::getIndexItem().
void DBIndexItem::setBarType | ( | bool | d | ) |
Definition at line 54 of file DBIndexItem.cpp.
References DBIndexItemItem::barType, and item.
Referenced by CSV::openDb(), and UpgradeMessage::saveHeaderData().
bool DBIndexItem::getBarType | ( | ) |
Definition at line 59 of file DBIndexItem.cpp.
References DBIndexItemItem::barType, and item.
Referenced by QtstalkerApp::loadChart().
void DBIndexItem::setSymbol | ( | QString & | d | ) |
Definition at line 64 of file DBIndexItem.cpp.
References item, DBIndexItemItem::symbol, and SYMBOL_LENGTH.
Referenced by DbPlugin::createNewCC(), DbPlugin::createNewFutures(), DbPlugin::createNewIndex(), DbPlugin::createNewSpread(), DbPlugin::createNewStock(), CSV::openDb(), Yahoo::parseFundamental(), Yahoo::parseHistory(), Yahoo::parseQuote(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getSymbol | ( | QString & | d | ) |
Definition at line 69 of file DBIndexItem.cpp.
References item, and DBIndexItemItem::symbol.
Referenced by StocksDialog::createDetailsPage(), FuturesDialog::createDetailsPage(), DbPlugin::createNewCC(), DbPlugin::createNewFutures(), DbPlugin::createNewIndex(), DbPlugin::createNewSpread(), DbPlugin::createNewStock(), QtstalkerApp::loadChart(), CSV::openDb(), NYBOT::parse(), CME::parse(), Yahoo::parseFundamental(), Yahoo::parseHistory(), Yahoo::parseQuote(), and IndicatorPlot::slotNewChartObject().
void DBIndexItem::setType | ( | QString & | d | ) |
Definition at line 74 of file DBIndexItem.cpp.
References item, DBIndexItemItem::type, and TYPE_LENGTH.
Referenced by DbPlugin::createNewCC(), DbPlugin::createNewFutures(), DbPlugin::createNewIndex(), DbPlugin::createNewSpread(), DbPlugin::createNewStock(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getType | ( | QString & | d | ) |
Definition at line 79 of file DBIndexItem.cpp.
References item, and DBIndexItemItem::type.
Referenced by StocksDialog::createDetailsPage(), FuturesDialog::createDetailsPage(), QtstalkerApp::loadChart(), Tester::loadRule(), DbPlugin::open(), Tester::test(), and PortfolioDialog::updatePortfolioItems().
void DBIndexItem::setTitle | ( | QString & | d | ) |
Definition at line 84 of file DBIndexItem.cpp.
References item, DBIndexItemItem::title, and TITLE_LENGTH.
Referenced by DbPlugin::createNewCC(), DbPlugin::createNewFutures(), DbPlugin::createNewIndex(), DbPlugin::createNewSpread(), DbPlugin::createNewStock(), DbPlugin::indexPref(), CSV::parse(), Yahoo::parseFundamental(), Yahoo::parseHistory(), Yahoo::parseQuote(), StocksDialog::saveChart(), FuturesDialog::saveChart(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getTitle | ( | QString & | d | ) |
Definition at line 89 of file DBIndexItem.cpp.
References item, and DBIndexItemItem::title.
Referenced by StocksDialog::createDetailsPage(), FuturesDialog::createDetailsPage(), DbPlugin::indexPref(), QtstalkerApp::loadChart(), and Yahoo::parseFundamental().
void DBIndexItem::setPath | ( | QString & | d | ) |
Definition at line 94 of file DBIndexItem.cpp.
References item, DBIndexItemItem::path, and PATH_LENGTH.
Referenced by DbPlugin::open(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getPath | ( | QString & | d | ) |
Definition at line 99 of file DBIndexItem.cpp.
References item, and DBIndexItemItem::path.
Referenced by PortfolioDialog::modifyItem(), DbPlugin::open(), and PortfolioDialog::updatePortfolioItems().
void DBIndexItem::setQuotePlugin | ( | QString & | d | ) |
Definition at line 104 of file DBIndexItem.cpp.
References item, DBIndexItemItem::quotePlugin, and QUOTEPLUGIN_LENGTH.
Referenced by Yahoo::createAutoHistoryUrls(), CSV::openDb(), NYBOT::parse(), CME::parse(), Yahoo::parseFundamental(), Yahoo::parseHistory(), Yahoo::parseQuote(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getQuotePlugin | ( | QString & | d | ) |
Definition at line 109 of file DBIndexItem.cpp.
References item, and DBIndexItemItem::quotePlugin.
Referenced by Yahoo::createAutoHistoryUrls(), and CSV::openDb().
void DBIndexItem::setFuturesType | ( | QString & | d | ) |
Definition at line 114 of file DBIndexItem.cpp.
References DBIndexItemItem::futuresType, FUTURESTYPE_LENGTH, and item.
Referenced by DbPlugin::createNewFutures(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getFuturesType | ( | QString & | d | ) |
Definition at line 119 of file DBIndexItem.cpp.
References DBIndexItemItem::futuresType, and item.
Referenced by FuturesDialog::createDetailsPage(), Tester::loadRule(), Tester::test(), and PortfolioDialog::updatePortfolioItems().
void DBIndexItem::setFuturesMonth | ( | QString & | d | ) |
Definition at line 124 of file DBIndexItem.cpp.
References DBIndexItemItem::futuresMonth, FUTURESMONTH_LENGTH, and item.
Referenced by DbPlugin::createNewFutures(), and UpgradeMessage::saveHeaderData().
void DBIndexItem::getFuturesMonth | ( | QString & | d | ) |
Definition at line 129 of file DBIndexItem.cpp.
References DBIndexItemItem::futuresMonth, and item.
Referenced by FuturesDialog::createDetailsPage().
void DBIndexItem::setExchange | ( | QString & | d | ) |
Definition at line 134 of file DBIndexItem.cpp.
References DBIndexItemItem::exchange, EXCHANGE_LENGTH, and item.
Referenced by Yahoo::newStock(), NYBOT::parse(), and CME::parse().
void DBIndexItem::getExchange | ( | QString & | d | ) |
Definition at line 139 of file DBIndexItem.cpp.
References DBIndexItemItem::exchange, and item.
Referenced by StocksDialog::createDetailsPage(), and FuturesDialog::createDetailsPage().
DBIndexItemItem DBIndexItem::item [protected] |
Definition at line 68 of file DBIndexItem.h.
Referenced by DBIndexItem(), getBarType(), getExchange(), getFuturesMonth(), getFuturesType(), getItem(), getPath(), getQuotePlugin(), getSymbol(), getTitle(), getType(), setBarType(), setExchange(), setFuturesMonth(), setFuturesType(), setItem(), setPath(), setQuotePlugin(), setSymbol(), setTitle(), and setType().