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

PasswordManagerElement Class Reference

Leaf element of the password composite. More...

#include <PasswordManagerElement.h>

Inheritance diagram for PasswordManagerElement:

PasswordTreeElement PassguardErrorManager List of all members.

Public Methods

 PasswordManagerElement (string name, int deepness)
 Constructor of the leaf element of the password composite. More...

virtual ~PasswordManagerElement ()
 Destructor of the leaf element of the password composite. More...

virtual void setSavable (bool savable)
 Defines if the composite's element can be saved. More...

virtual bool allow (PasswordTreeElementAbstractVisitor &visitor)
 Defines the visitor interface to deal with data processing accross the composite in leaf element. More...

string getDescription (void) const
 Retreives the description of the composite's element. More...

void setDescription (string description)
 Defines the composite's element description. More...


Detailed Description

Leaf element of the password composite.


Constructor & Destructor Documentation

PasswordManagerElement::PasswordManagerElement string    name,
int    deepness
 

Constructor of the leaf element of the password composite.

Parameters:
name  name of the leaf element
deepness  the level of the element in the composite's structure
Returns:
none

PasswordManagerElement::~PasswordManagerElement   [virtual]
 

Destructor of the leaf element of the password composite.

Returns:
none


Member Function Documentation

bool PasswordManagerElement::allow PasswordTreeElementAbstractVisitor   visitor [virtual]
 

Defines the visitor interface to deal with data processing accross the composite in leaf element.

Parameters:
visitor  the visitor class that will make the wanted data processing
Return values:
false  data can't be processed in this branch so switch to next one of the current level
true  data have been processed so stop running through the composite

Implements PasswordTreeElement.

string PasswordManagerElement::getDescription void    const
 

Retreives the description of the composite's element.

Returns:
the description of the composite's leaf

void PasswordManagerElement::setDescription string    description
 

Defines the composite's element description.

Parameters:
description  the description.
Returns:
none

void PasswordManagerElement::setSavable bool    savable [virtual]
 

Defines if the composite's element can be saved.

Parameters:
savable  true if it can be saved / false otherwise.
Returns:
none

Reimplemented from PasswordTreeElement.


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