UTIL Class Reference

#include <UTIL.h>

Inheritance diagram for UTIL:

Inheritance graph
[legend]
Collaboration diagram for UTIL:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UTIL ()
virtual ~UTIL ()
PlotLinecalculateCustom (QString &, QPtrList< PlotLine > &)
PlotLinecalculateAccum (QString &, QPtrList< PlotLine > &)
PlotLinecalculateNormal (QString &, QPtrList< PlotLine > &)
PlotLinecalculateCOMP (QString &p, QPtrList< PlotLine > &d)
PlotLinecalculateCOUNTER (QString &p, QPtrList< PlotLine > &d)
PlotLinecalculateREF (QString &p, QPtrList< PlotLine > &d)
PlotLinecalculateADMS (QString &p, QPtrList< PlotLine > &d, int)
PlotLinecalculatePER (QString &p, QPtrList< PlotLine > &d)
PlotLinecalculateCOLOR (QString &p, QPtrList< PlotLine > &d)
PlotLinecalculateHL (QString &p, QPtrList< PlotLine > &d, int)
PlotLinecalculateINRANGE (QString &p, QPtrList< PlotLine > &d)
void formatDialog (QStringList &vl, QString &rv, QString &rs)

Private Attributes

QStringList methodList


Detailed Description

Definition at line 24 of file UTIL.h.


Constructor & Destructor Documentation

UTIL::UTIL (  ) 

Definition at line 29 of file UTIL.cpp.

References IndicatorPlugin::helpFile, methodList, and IndicatorPlugin::pluginName.

UTIL::~UTIL (  )  [virtual]

Definition at line 52 of file UTIL.cpp.


Member Function Documentation

PlotLine * UTIL::calculateCustom ( QString &  p,
QPtrList< PlotLine > &  d 
) [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 120 of file UTIL.cpp.

References calculateAccum(), calculateADMS(), calculateCOLOR(), calculateCOMP(), calculateCOUNTER(), calculateHL(), calculateINRANGE(), calculateNormal(), calculatePER(), calculateREF(), and methodList.

PlotLine * UTIL::calculateAccum ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 56 of file UTIL.cpp.

References PlotLine::append(), IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, PlotLine::getData(), and PlotLine::getSize().

Referenced by calculateCustom().

PlotLine * UTIL::calculateNormal ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 81 of file UTIL.cpp.

References PlotLine::append(), IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, PlotLine::getData(), and PlotLine::getSize().

Referenced by calculateCustom().

PlotLine * UTIL::calculateCOMP ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 308 of file UTIL.cpp.

References IndicatorPlugin::And, IndicatorPlugin::Equal, PlotLine::getData(), IndicatorPlugin::getOperator(), PlotLine::getSize(), IndicatorPlugin::GreaterThan, IndicatorPlugin::GreaterThanEqual, IndicatorPlugin::LessThan, IndicatorPlugin::LessThanEqual, IndicatorPlugin::opList, IndicatorPlugin::Or, and PlotLine::prepend().

Referenced by calculateCustom().

PlotLine * UTIL::calculateCOUNTER ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 232 of file UTIL.cpp.

References PlotLine::append(), IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::FormatInputArray2, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, PlotLine::getData(), and PlotLine::getSize().

Referenced by calculateCustom().

PlotLine * UTIL::calculateREF ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 524 of file UTIL.cpp.

References PlotLine::append(), PlotLine::getData(), and PlotLine::getSize().

Referenced by calculateCustom().

PlotLine * UTIL::calculateADMS ( QString &  p,
QPtrList< PlotLine > &  d,
int  type 
)

Definition at line 433 of file UTIL.cpp.

References IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, IndicatorPlugin::formatStringList, PlotLine::getData(), PlotLine::getSize(), and PlotLine::prepend().

Referenced by calculateCustom().

PlotLine * UTIL::calculatePER ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 585 of file UTIL.cpp.

References PlotLine::append(), IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, PlotLine::getData(), and PlotLine::getSize().

Referenced by calculateCustom().

PlotLine * UTIL::calculateCOLOR ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 607 of file UTIL.cpp.

References IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::FormatInputArray2, IndicatorPlugin::FormatInteger, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, IndicatorPlugin::formatStringList, PlotLine::getData(), PlotLine::getSize(), PlotLine::setColorBar(), and PlotLine::setColorFlag().

Referenced by calculateCustom().

PlotLine * UTIL::calculateHL ( QString &  p,
QPtrList< PlotLine > &  d,
int  type 
)

Definition at line 648 of file UTIL.cpp.

References IndicatorPlugin::checkFormat(), IndicatorPlugin::FormatInputArray, IndicatorPlugin::formatList, IndicatorPlugin::FormatString, IndicatorPlugin::formatStringList, PlotLine::getData(), PlotLine::getSize(), and PlotLine::prepend().

Referenced by calculateCustom().

PlotLine * UTIL::calculateINRANGE ( QString &  p,
QPtrList< PlotLine > &  d 
)

Definition at line 733 of file UTIL.cpp.

References PlotLine::getData(), PlotLine::getSize(), and PlotLine::prepend().

Referenced by calculateCustom().

void UTIL::formatDialog ( QStringList &  vl,
QString &  rv,
QString &  rs 
) [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 822 of file UTIL.cpp.

References PrefDialog::addColorItem(), PrefDialog::addComboItem(), PrefDialog::addDoubleItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), PrefDialog::getColor(), PrefDialog::getCombo(), PrefDialog::getDouble(), PrefDialog::getInt(), PrefDialog::getText(), IndicatorPlugin::helpFile, methodList, IndicatorPlugin::opList, and PrefDialog::setHelpFile().


Member Data Documentation

QStringList UTIL::methodList [private]

Definition at line 43 of file UTIL.h.

Referenced by calculateCustom(), formatDialog(), and UTIL().


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