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

PasswordTreeDelElementVisitor Class Reference

The visitor used to remove a password infos from the password composite. More...

#include <PasswordTreeDelElementVisitor.h>

Inheritance diagram for PasswordTreeDelElementVisitor:

PasswordFinderVisitor PasswordTreeElementAbstractVisitor PassguardErrorManager List of all members.

Public Methods

 PasswordTreeDelElementVisitor (void)
 Constructor of the visitor used to remove a password infos from the password composite. More...

virtual ~PasswordTreeDelElementVisitor ()
 Destructor of the visitor used to remove a password infos from the password composite. More...

virtual int visitPasswordRootElement (PasswordRootElement *element)
 Checks if the password information match here. More...

virtual int visitPasswordGroupElement (PasswordGroupElement *element)
 Checks if the password information match here and mark it for deletion if it's the case. More...

virtual int visitPasswordManagerElement (PasswordManagerElement *element)
 Checks if the password informations match and if it's the case, mark it for deletion. More...

virtual void setPasswordInfos (PasswordInfos password_infos)
 Defines the password infos of the visitor and reset the visit. More...

bool deletePasswordInfos (void)
 Delete effectively and informs if the password informations have been deleted successfully. More...


Detailed Description

The visitor used to remove a password infos from the password composite.


Constructor & Destructor Documentation

PasswordTreeDelElementVisitor::PasswordTreeDelElementVisitor void   
 

Constructor of the visitor used to remove a password infos from the password composite.

Returns:
none

PasswordTreeDelElementVisitor::~PasswordTreeDelElementVisitor   [virtual]
 

Destructor of the visitor used to remove a password infos from the password composite.

Returns:
none


Member Function Documentation

bool PasswordTreeDelElementVisitor::deletePasswordInfos void   
 

Delete effectively and informs if the password informations have been deleted successfully.

Returns:
true if it succeeds / false otherwise

void PasswordTreeDelElementVisitor::setPasswordInfos PasswordInfos    password_infos [virtual]
 

Defines the password infos of the visitor and reset the visit.

Parameters:
password_infos  the password infos entry to delete
Returns:
none

Reimplemented from PasswordFinderVisitor.

int PasswordTreeDelElementVisitor::visitPasswordGroupElement PasswordGroupElement   element [virtual]
 

Checks if the password information match here and mark it for deletion if it's the case.

Parameters:
element  the branch element to analyze
Return values:
-1  switch to next branch of the current level to analyze it
0  stop running through
1  continue through this branch if the password informations match

Reimplemented from PasswordFinderVisitor.

int PasswordTreeDelElementVisitor::visitPasswordManagerElement PasswordManagerElement   element [virtual]
 

Checks if the password informations match and if it's the case, mark it for deletion.

Parameters:
element  the leaf element to analyze
Returns:
always 0 to stop the run

Reimplemented from PasswordFinderVisitor.

int PasswordTreeDelElementVisitor::visitPasswordRootElement PasswordRootElement   element [virtual]
 

Checks if the password information match here.

Parameters:
element  the root element to analyze
Return values:
0  stop running through if there is no element to delete
1  continue through this branch otherwise

Reimplemented from PasswordFinderVisitor.


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