AstFilterMetricAttributeByThreshold Class Reference

Filtering by MetricAttribute. More...

#include <AstFilters.h>

Inheritance diagram for AstFilterMetricAttributeByThreshold:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AstFilterMetricAttributeByThreshold (const QString &name_, const MetricsInfo &info_, int threshold_)
virtual ~AstFilterMetricAttributeByThreshold ()
virtual bool displayNode (SgNode *node) const
virtual AstFilterInterfacecopy () const

Private Attributes

const QString name
const MetricsInfo info
const int threshold

Detailed Description

Filtering by MetricAttribute.

Definition at line 114 of file AstFilters.h.


Constructor & Destructor Documentation

AstFilterMetricAttributeByThreshold::AstFilterMetricAttributeByThreshold ( const QString &  name_,
const MetricsInfo info_,
int  threshold_ 
) [inline]

Constructor

Parameters:
name_ Name of metric attribute
info_ MetricsInfo which stores the normalization of the attribute
threshold_ integer between 0 and 100, displays only nodes which have normalized attribute value greater than threshold in %

Definition at line 123 of file AstFilters.h.

Referenced by copy().

Here is the caller graph for this function:

virtual AstFilterMetricAttributeByThreshold::~AstFilterMetricAttributeByThreshold (  )  [inline, virtual]

Definition at line 128 of file AstFilters.h.


Member Function Documentation

virtual AstFilterInterface* AstFilterMetricAttributeByThreshold::copy (  )  const [inline, virtual]

Implements AstFilterInterface.

Definition at line 132 of file AstFilters.h.

Here is the call graph for this function:

bool AstFilterMetricAttributeByThreshold::displayNode ( SgNode *  node  )  const [virtual]

Determines if a SgNode should be displayed if it returns false the children of this node are hidden too (traversion stops at this point)

Implements AstFilterInterface.

Definition at line 30 of file AstFilters.cpp.

Here is the call graph for this function:


Member Data Documentation

const MetricsInfo AstFilterMetricAttributeByThreshold::info [private]

Definition at line 136 of file AstFilters.h.

Referenced by copy(), and displayNode().

const QString AstFilterMetricAttributeByThreshold::name [private]

Definition at line 135 of file AstFilters.h.

Referenced by copy(), and displayNode().

const int AstFilterMetricAttributeByThreshold::threshold [private]

Definition at line 137 of file AstFilters.h.

Referenced by copy(), and displayNode().


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