OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType > Struct Template Reference

Filter nodes of subgraph only. More...

Collaboration diagram for ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >:
Collaboration graph

Public Member Functions

 SubgraphTypeTest ()
 
 SubgraphTypeTest (Node *root, NodeSetType nodes, GraphType graph)
 
template<typename Node >
bool operator() (const Node &n) const
 

Public Attributes

Noderoot_
 
NodeSetType subgraphNodes_
 
GraphType graph_
 

Detailed Description

template<typename NodeSetType, typename GraphType>
struct ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >

Filter nodes of subgraph only.

Definition at line 120 of file ProgramDependenceGraph.hh.

Constructor & Destructor Documentation

◆ SubgraphTypeTest() [1/2]

template<typename NodeSetType , typename GraphType >
ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::SubgraphTypeTest ( )
inline

Definition at line 121 of file ProgramDependenceGraph.hh.

121 { }

◆ SubgraphTypeTest() [2/2]

template<typename NodeSetType , typename GraphType >
ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::SubgraphTypeTest ( Node root,
NodeSetType  nodes,
GraphType  graph 
)
inline

Definition at line 122 of file ProgramDependenceGraph.hh.

122  :
123  root_(root), subgraphNodes_(nodes), graph_(graph){ }

Member Function Documentation

◆ operator()()

template<typename NodeSetType , typename GraphType >
template<typename Node >
bool ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::operator() ( const Node n) const
inline

Member Data Documentation

◆ graph_

template<typename NodeSetType , typename GraphType >
GraphType ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::graph_

◆ root_

template<typename NodeSetType , typename GraphType >
Node* ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::root_

◆ subgraphNodes_

template<typename NodeSetType , typename GraphType >
NodeSetType ProgramDependenceGraph::SubgraphTypeTest< NodeSetType, GraphType >::subgraphNodes_

The documentation for this struct was generated from the following file:
ProgramDependenceGraph::SubgraphTypeTest::graph_
GraphType graph_
Definition: ProgramDependenceGraph.hh:131
AssocTools::containsKey
static bool containsKey(const ContainerType &aContainer, const KeyType &aKey)
ProgramDependenceGraph::SubgraphTypeTest::root_
Node * root_
Definition: ProgramDependenceGraph.hh:129
ProgramDependenceGraph::SubgraphTypeTest::subgraphNodes_
NodeSetType subgraphNodes_
Definition: ProgramDependenceGraph.hh:130