MetricsInfo Class Reference

Stores MetricAttribute Normalization. More...

#include <MetricsInfo.h>

List of all members.

Public Member Functions

 MetricsInfo ()
 MetricsInfo (const QString &name_, double minValue_, double maxValue_, bool normalizeByRange_=true)
bool operator== (const MetricsInfo &other)
bool operator!= (const MetricsInfo &other)
double eval (SgNode *node, const QString &metricName) const

Public Attributes

QString caption
double minValue
double maxValue
double minNormalize
double maxNormalize
bool normalizeByRange
QString normalizeMetricName
int listId


Detailed Description

Stores MetricAttribute Normalization.

Definition at line 12 of file MetricsInfo.h.


Constructor & Destructor Documentation

MetricsInfo::MetricsInfo (  )  [inline]

Definition at line 15 of file MetricsInfo.h.

MetricsInfo::MetricsInfo ( const QString &  name_,
double  minValue_,
double  maxValue_,
bool  normalizeByRange_ = true 
) [inline]

Definition at line 26 of file MetricsInfo.h.


Member Function Documentation

double MetricsInfo::eval ( SgNode *  node,
const QString &  metricName 
) const

Definition at line 10 of file MetricsInfo.cpp.

Referenced by AstFilterMetricAttributeByThreshold::displayNode(), and MetricBgDelegate::paint().

Here is the caller graph for this function:

bool MetricsInfo::operator!= ( const MetricsInfo other  )  [inline]

Definition at line 52 of file MetricsInfo.h.

bool MetricsInfo::operator== ( const MetricsInfo other  )  [inline]

Definition at line 38 of file MetricsInfo.h.


Member Data Documentation

QString MetricsInfo::caption

Definition at line 59 of file MetricsInfo.h.

Referenced by impl::MetricsConfig::captionChanged(), eval(), and operator==().

int MetricsInfo::listId

Definition at line 66 of file MetricsInfo.h.

Referenced by impl::MetricsConfig::disableItem(), impl::MetricsConfig::execDialog(), and operator==().

double MetricsInfo::maxNormalize

Definition at line 63 of file MetricsInfo.h.

Referenced by eval(), impl::MetricsConfig::itemChanged(), impl::MetricsConfig::maxChanged(), and operator==().

double MetricsInfo::maxValue

Definition at line 61 of file MetricsInfo.h.

double MetricsInfo::minNormalize

Definition at line 62 of file MetricsInfo.h.

Referenced by eval(), impl::MetricsConfig::itemChanged(), impl::MetricsConfig::minChanged(), and operator==().

double MetricsInfo::minValue

Definition at line 60 of file MetricsInfo.h.

Referenced by operator==().

bool MetricsInfo::normalizeByRange

Definition at line 64 of file MetricsInfo.h.

Referenced by eval(), impl::MetricsConfig::itemChanged(), impl::MetricsConfig::normalizeByRange(), and operator==().

QString MetricsInfo::normalizeMetricName

Definition at line 65 of file MetricsInfo.h.

Referenced by eval(), impl::MetricsConfig::itemChanged(), impl::MetricsConfig::normalizeNameChanged(), and operator==().


The documentation for this class was generated from the following files:
Generated on Tue Sep 15 14:48:49 2009 for RoseQtWidgets by  doxygen 1.4.7