AstFilterAnd Class Reference

Class to combine two AstFilter's with logical AND. More...

#include <AstFilters.h>

Inheritance diagram for AstFilterAnd:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AstFilterAnd (AstFilterInterface *f1, AstFilterInterface *f2)
virtual ~AstFilterAnd ()
virtual bool displayNode (SgNode *node) const
virtual AstFilterInterfacecopy () const

Private Attributes

AstFilterInterfacefilter1
AstFilterInterfacefilter2

Detailed Description

Class to combine two AstFilter's with logical AND.

Pass the two arguments of the AND operation in the constructor this class takes ownership of them, and deletes them when they are not needed any more

Definition at line 48 of file AstFilters.h.


Constructor & Destructor Documentation

AstFilterAnd::AstFilterAnd ( AstFilterInterface f1,
AstFilterInterface f2 
) [inline]

Definition at line 51 of file AstFilters.h.

Referenced by copy().

Here is the caller graph for this function:

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

Definition at line 56 of file AstFilters.h.


Member Function Documentation

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

Implements AstFilterInterface.

Definition at line 63 of file AstFilters.h.

Here is the call graph for this function:

virtual bool AstFilterAnd::displayNode ( SgNode *  node  )  const [inline, 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 58 of file AstFilters.h.

Here is the call graph for this function:


Member Data Documentation

AstFilterInterface* AstFilterAnd::filter1 [private]

Definition at line 66 of file AstFilters.h.

Referenced by copy(), displayNode(), and ~AstFilterAnd().

AstFilterInterface* AstFilterAnd::filter2 [private]

Definition at line 67 of file AstFilters.h.

Referenced by copy(), displayNode(), and ~AstFilterAnd().


The documentation for this class was generated from the following file:
Generated on Tue Sep 15 14:48:48 2009 for RoseQtWidgets by  doxygen 1.4.7