SourceForge Logo
Main Page   Class Hierarchy   Compound List   File List   Compound Members  

PasswordTreeElementAbstractVisitor Class Reference

Abstract visitor of the password composite. More...

#include <PasswordTreeElementAbstractVisitor.h>

Inheritance diagram for PasswordTreeElementAbstractVisitor:

PassguardErrorManager PasswordFinderVisitor PasswordSaverVisitor PasswordTreeAddElementVisitor PasswordTreeDelElementVisitor List of all members.

Public Methods

virtual ~PasswordTreeElementAbstractVisitor ()
 Destructor of the abstract visitor of the password composite. More...

virtual int visitPasswordRootElement (PasswordRootElement *element)=0
 Defines what to do with a composite's root. More...

virtual int visitPasswordGroupElement (PasswordGroupElement *element)=0
 Defines what to do with a composite's branch. More...

virtual int visitPasswordManagerElement (PasswordManagerElement *element)=0
 Defines what to do with a composite's leaf. More...


Detailed Description

Abstract visitor of the password composite.


Constructor & Destructor Documentation

PasswordTreeElementAbstractVisitor::~PasswordTreeElementAbstractVisitor   [inline, virtual]
 

Destructor of the abstract visitor of the password composite.

Returns:
none


Member Function Documentation

int PasswordTreeElementAbstractVisitor::visitPasswordGroupElement PasswordGroupElement   element [pure virtual]
 

Defines what to do with a composite's branch.

Parameters:
element  the branch to manipulate
Return values:
-1  switch to next branch of the current level
0  stop running through
1  continue through this branch

Implemented in PasswordFinderVisitor, PasswordSaverVisitor, PasswordTreeAddElementVisitor, and PasswordTreeDelElementVisitor.

int PasswordTreeElementAbstractVisitor::visitPasswordManagerElement PasswordManagerElement   element [pure virtual]
 

Defines what to do with a composite's leaf.

Parameters:
element  the leaf to manipulate
Return values:
-1  switch to next branch of the current level
0  stop running through
1  continue through this branch

Implemented in PasswordFinderVisitor, PasswordSaverVisitor, PasswordTreeAddElementVisitor, and PasswordTreeDelElementVisitor.

int PasswordTreeElementAbstractVisitor::visitPasswordRootElement PasswordRootElement   element [pure virtual]
 

Defines what to do with a composite's root.

Parameters:
element  the root to manipulate
Return values:
-1  switch to next branch of the current level
0  stop running through
1  continue through this branch

Implemented in PasswordFinderVisitor, PasswordSaverVisitor, PasswordTreeAddElementVisitor, and PasswordTreeDelElementVisitor.


The documentation for this class was generated from the following file:
Generated on Sun Mar 9 15:36:53 2003 for PassGuardFramework by doxygen1.2.15