#include <suifkernel/group_walker.h>
Class diagram for SelectiveWalker:

Public Members | |
| SelectiveWalker (SuifEnv *the_env,const LString &the_type) | |
| Build a SelectiveWalker that only applies operator() to objects of type the_type or its subclasses. | |
| Walker::ApplyStatus | operator() (SuifObject *x) = 0 |
| Subclasses must override this to perform their actions. | |
| const LString& | get_type () const |
| Accessor for the metaclass type name passed to the constructor. | |
Derive a class from it and overide operator(). Instantiate it with the name of the class to be walked.
Build a SelectiveWalker that only applies operator() to objects of type the_type or its subclasses.
[pure virtual]Subclasses must override this to perform their actions.
Reimplemented from SuifWalker.
Reimplemented in while_statement_walker, Unowned, type_checker_walker, TestWalker, SymbolNamer, scope_statement_walker, RecordStatementListsWalker, Padding, NonConstDimExpressionWalker, NonConstBoundArrayTypeWalker, multi_way_branch_statement_walker, multi_way_branch_statement_compactor, if_walker, if_statement_walker, formater, for_statement_walker, FindCalleesWalker, field_access_expression_walker, do_while_statement_walker, CppCollisionAvoider, CollisionAvoider, CollectWalkerT, CollectWalker, call_expression_walker, c_for_statement_walker, and binary_expression_walker.
Accessor for the metaclass type name passed to the constructor.
written by Dimitri van Heesch, © 1997-1999