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
TrueFilter< GraphType > Class Template Reference

#include <true_filter.h>

Inheritance diagram for TrueFilter< GraphType >:
Inheritance graph
[legend]
Collaboration diagram for TrueFilter< 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 GraphFilter< GraphType >
typedef GraphType::node_value_type V_type
 
typedef GraphType::edge_value_type E_type
 

Public Member Functions

 TrueFilter (std::string filter_name)
 
virtual GraphFilter< GraphType > * clone ()
 
virtual bool operator() (E_type edge)
 
virtual bool operator() (V_type m)
 
template<typename P1 , typename P2 >
bool operator() (std::pair< P1, P2 > &m)
 
- Public Member Functions inherited from GraphFilter< GraphType >
 GraphFilter (std::string filter_name="", std::string filter_type="", bool inverted=false, bool enabled=true, bool nodes=true, bool edges=true)
 
void set_inverted (bool status)
 Sets the inverted status.
 
void set_enabled (bool enabled)
 Sets enabled.
 
std::string name () const
 
std::string type () const
 
bool inverted () const
 
virtual bool enabled () const
 
virtual bool nodes () const
 The nodes property tells us whether this filter operates on nodes.
 
virtual bool edges () const
 The edgesproperty tells us whether this filter operates on nodes.
 
template<typename P1 , typename P2 >
bool operator() (std::pair< P1, P2 > &m)
 

Additional Inherited Members

- Protected Attributes inherited from GraphFilter< GraphType >
bool inverted_
 
bool enabled_
 
bool nodes_
 
bool edges_
 

Detailed Description

template<typename GraphType>
class TrueFilter< GraphType >

Dummy filter that returns true

Constructor & Destructor Documentation

template<typename GraphType>
TrueFilter< GraphType >::TrueFilter ( std::string  filter_name)
inline

Constructor, only takes a filter name to use. Sets the type to "true_filter".

Member Function Documentation

template<typename GraphType>
virtual GraphFilter<GraphType>* TrueFilter< GraphType >::clone ( )
inlinevirtual

Clone the filter

Implements GraphFilter< GraphType >.

template<typename GraphType>
virtual bool TrueFilter< GraphType >::operator() ( E_type  edge)
inlinevirtual

This being a dummy filter so returns true if not inverted (then it returns false).

Implements GraphFilter< GraphType >.

template<typename GraphType>
virtual bool TrueFilter< GraphType >::operator() ( V_type  m)
inlinevirtual

This being a dummy filter so returns true if not inverted (then it returns false).

Implements GraphFilter< GraphType >.

template<typename GraphType>
template<typename P1 , typename P2 >
bool TrueFilter< GraphType >::operator() ( std::pair< P1, P2 > &  m)
inline

Operator used for STL.


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