AstFilterFileById Class Reference

Filters an AST by FileId. More...

#include <AstFilters.h>

Inheritance diagram for AstFilterFileById:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AstFilterFileById (int id)
virtual ~AstFilterFileById ()
virtual bool displayNode (SgNode *node) const
virtual AstFilterInterfacecopy () const

Protected Attributes

int fileId

Detailed Description

Filters an AST by FileId.

Filters out all SgNode's which have a different file-id than the given one

Definition at line 96 of file AstFilters.h.


Constructor & Destructor Documentation

AstFilterFileById::AstFilterFileById ( int  id  )  [inline]

Definition at line 99 of file AstFilters.h.

Referenced by copy().

Here is the caller graph for this function:

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

Definition at line 100 of file AstFilters.h.


Member Function Documentation

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

Implements AstFilterInterface.

Definition at line 104 of file AstFilters.h.

Here is the call graph for this function:

bool AstFilterFileById::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 16 of file AstFilters.cpp.


Member Data Documentation

int AstFilterFileById::fileId [protected]

Definition at line 107 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