AstFilterFileByName Class Reference

Filters an AST by FileName. More...

#include <AstFilters.h>

Inheritance diagram for AstFilterFileByName:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AstFilterFileByName (const QString &file)
virtual ~AstFilterFileByName ()
virtual bool displayNode (SgNode *node) const
virtual AstFilterInterfacecopy () const

Protected Attributes

QString filename

Detailed Description

Filters an AST by FileName.

Filters out all SgNode's which are not in given file if possible use AstFilterFileById, it uses an int-id instead of the string (faster)

Definition at line 76 of file AstFilters.h.


Constructor & Destructor Documentation

AstFilterFileByName::AstFilterFileByName ( const QString &  file  )  [inline]

Definition at line 79 of file AstFilters.h.

Referenced by copy().

Here is the caller graph for this function:

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

Definition at line 80 of file AstFilters.h.


Member Function Documentation

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

Implements AstFilterInterface.

Definition at line 84 of file AstFilters.h.

Here is the call graph for this function:

bool AstFilterFileByName::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 5 of file AstFilters.cpp.


Member Data Documentation

QString AstFilterFileByName::filename [protected]

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