impl::MetricsConfig Class Reference

Implementation class for MetricsConfig. More...

#include <MetricsConfig.h>

List of all members.

Public Member Functions

 MetricsConfig (SgNode *root=NULL)
 ~MetricsConfig ()
void registerId (const QString &configureId)
int getMetricsInfoCount (const QString &configureId="")
bool hasMetricsInfo (const QString &name, const QString &configureId="") const
const MetricsInfogetMetricsInfo (const QString &name, const QString &configureId="") const
MetricsInfogetMetricsInfo (const QString &name, const QString &configureId="")
MetricsInfoIterator begin (const QString &configureId="")
MetricsInfoIterator end (const QString &configureId="")
void setRoot (SgNode *root)
void configureMultiple (const QString &configureId="")
const MetricsInfoconfigureSingle (const QString &configureId="")

Private Types

typedef MetricsInfoContainer::iterator map_iterator

Private Slots

void itemChanged (int)
void minChanged (double)
void maxChanged (double)
void captionChanged (QListWidgetItem *)
void normalizeNameChanged (int)
void normalizeByRange (bool)
void enableItem ()
void disableItem ()

Private Member Functions

void collectMetricAttributes (SgNode *astNode)
void setupEnabled (const QString &configureId)
void addLocalInfo (const QString &configureId, const QString &metricName)
void execDialog (QDialog &dialog, const QString &configureId)

Private Attributes

MetricsInfoContainer globalInfo
QMap< QString, QMap< QString,
bool > > 
enabled
QString currentId
QString currentMetric
Ui::MetricsConfig * dialogUi

Friends

class MetricsInfoIterator


Detailed Description

Implementation class for MetricsConfig.

Definition at line 109 of file MetricsConfig.h.


Member Typedef Documentation

typedef MetricsInfoContainer::iterator impl::MetricsConfig::map_iterator [private]

Definition at line 155 of file MetricsConfig.h.


Constructor & Destructor Documentation

MetricsConfig::MetricsConfig ( SgNode *  root = NULL  ) 

Definition at line 86 of file MetricsConfig.cpp.

Here is the call graph for this function:

MetricsConfig::~MetricsConfig (  ) 

Definition at line 92 of file MetricsConfig.cpp.


Member Function Documentation

void impl::MetricsConfig::addLocalInfo ( const QString &  configureId,
const QString &  metricName 
) [private]

MetricsInfoIterator MetricsConfig::begin ( const QString &  configureId = ""  ) 

Definition at line 251 of file MetricsConfig.cpp.

Referenced by MetricsConfig::begin().

Here is the caller graph for this function:

void MetricsConfig::captionChanged ( QListWidgetItem *   )  [private, slot]

Definition at line 424 of file MetricsConfig.cpp.

void MetricsConfig::collectMetricAttributes ( SgNode *  astNode  )  [private]

Definition at line 276 of file MetricsConfig.cpp.

void MetricsConfig::configureMultiple ( const QString &  configureId = ""  ) 

Definition at line 113 of file MetricsConfig.cpp.

Referenced by MetricsConfig::configureMultiple().

Here is the call graph for this function:

const MetricsInfo & MetricsConfig::configureSingle ( const QString &  configureId = ""  ) 

Definition at line 169 of file MetricsConfig.cpp.

Referenced by MetricsConfig::configureSingle().

Here is the call graph for this function:

void MetricsConfig::disableItem (  )  [private, slot]

Definition at line 463 of file MetricsConfig.cpp.

void MetricsConfig::enableItem (  )  [private, slot]

Definition at line 448 of file MetricsConfig.cpp.

MetricsInfoIterator MetricsConfig::end ( const QString &  configureId = ""  ) 

Definition at line 266 of file MetricsConfig.cpp.

Referenced by MetricsConfig::end().

Here is the caller graph for this function:

void MetricsConfig::execDialog ( QDialog &  dialog,
const QString &  configureId 
) [private]

Definition at line 342 of file MetricsConfig.cpp.

Here is the call graph for this function:

MetricsInfo & MetricsConfig::getMetricsInfo ( const QString &  name,
const QString &  configureId = "" 
)

Definition at line 245 of file MetricsConfig.cpp.

const MetricsInfo & MetricsConfig::getMetricsInfo ( const QString &  name,
const QString &  configureId = "" 
) const

Definition at line 239 of file MetricsConfig.cpp.

Referenced by MetricsConfig::getMetricsInfo().

Here is the caller graph for this function:

int MetricsConfig::getMetricsInfoCount ( const QString &  configureId = ""  ) 

Definition at line 221 of file MetricsConfig.cpp.

Referenced by MetricsConfig::getMetricsInfoCount().

Here is the call graph for this function:

Here is the caller graph for this function:

bool MetricsConfig::hasMetricsInfo ( const QString &  name,
const QString &  configureId = "" 
) const

Definition at line 234 of file MetricsConfig.cpp.

Referenced by MetricsConfig::hasMetricsInfo().

Here is the caller graph for this function:

void MetricsConfig::itemChanged ( int   )  [private, slot]

Definition at line 376 of file MetricsConfig.cpp.

void MetricsConfig::maxChanged ( double   )  [private, slot]

Definition at line 418 of file MetricsConfig.cpp.

void MetricsConfig::minChanged ( double   )  [private, slot]

Definition at line 412 of file MetricsConfig.cpp.

void MetricsConfig::normalizeByRange ( bool   )  [private, slot]

Definition at line 443 of file MetricsConfig.cpp.

void MetricsConfig::normalizeNameChanged ( int   )  [private, slot]

Definition at line 438 of file MetricsConfig.cpp.

void impl::MetricsConfig::registerId ( const QString &  configureId  )  [inline]

Definition at line 119 of file MetricsConfig.h.

Referenced by MetricsConfig::MetricsConfig().

Here is the call graph for this function:

Here is the caller graph for this function:

void MetricsConfig::setRoot ( SgNode *  root  ) 

Definition at line 97 of file MetricsConfig.cpp.

Referenced by MetricsConfig(), and MetricsConfig::setRoot().

Here is the call graph for this function:

Here is the caller graph for this function:

void MetricsConfig::setupEnabled ( const QString &  configureId  )  [private]

Definition at line 323 of file MetricsConfig.cpp.

Referenced by registerId().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class MetricsInfoIterator [friend]

Definition at line 173 of file MetricsConfig.h.


Member Data Documentation

QString impl::MetricsConfig::currentId [private]

Definition at line 167 of file MetricsConfig.h.

QString impl::MetricsConfig::currentMetric [private]

Definition at line 168 of file MetricsConfig.h.

Ui::MetricsConfig* impl::MetricsConfig::dialogUi [private]

Definition at line 169 of file MetricsConfig.h.

QMap<QString, QMap<QString, bool> > impl::MetricsConfig::enabled [private]

Definition at line 166 of file MetricsConfig.h.

MetricsInfoContainer impl::MetricsConfig::globalInfo [private]

Definition at line 165 of file MetricsConfig.h.


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