GraphTool  1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
NoopAction< GraphType > Class Template Reference

#include <noop_action.h>

Inheritance diagram for NoopAction< GraphType >:
Inheritance graph
[legend]
Collaboration diagram for NoopAction< GraphType >:
Collaboration graph
[legend]

Public Types

typedef GraphType::node_value_type V_type
 
typedef GraphType::edge_value_type E_type
 
typedef GraphType::index_type_t index_type_t
 
- Public Types inherited from GraphAction< GraphType >
typedef GraphType::node_value_type V_type
 
typedef GraphType::edge_value_type E_type
 
typedef GraphType::index_type_t index_type_t
 

Public Member Functions

 NoopAction (GraphFilter< GraphType > *filter)
 
 NoopAction (NoopAction &copy)
 Copy constructor (required to make sure parent is initialized)
 
virtual bool operator() (E_type edge)
 Operator used to filter edges, at present this does nothing but call parent in hierarchy.
 
virtual bool operator() (V_type m)
 Run the next filter, ignoring the current filter.
 
template<typename P1 , typename P2 >
bool operator() (std::pair< P1, P2 > &m)
 Operator used for STL.
 
- Public Member Functions inherited from GraphAction< GraphType >
 GraphAction (GraphFilter< GraphType > *filter)
 
 GraphAction (GraphAction< GraphType > &copy)
 
virtual ~GraphAction ()
 
GraphFilter< GraphType > * filter ()
 
template<typename P1 , typename P2 >
bool operator() (std::pair< P1, P2 > &m)
 Operator used for STL.
 
template<typename P >
bool run_filter (P arg)
 

Additional Inherited Members

- Protected Attributes inherited from GraphAction< GraphType >
GraphFilter< GraphType > * filter_
 The filter is used to indicate whether the action should be taken or not.
 

Detailed Description

template<typename GraphType>
class NoopAction< GraphType >

A filter which colours everything blue. Used to demonstrate the property setting mechanism in Grapher. Side-effect: set the colour blue on every node in the graph.

Constructor & Destructor Documentation

template<typename GraphType >
NoopAction< GraphType >::NoopAction ( GraphFilter< GraphType > *  filter)
inline

Constructor for the filter. This filter has side-effects so it takes the Graph as a parameter. This takes next filter as a required parameter because it is dependent on there being another filter.


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