#include <PasswordSaverVisitor.h>
Inheritance diagram for PasswordSaverVisitor:
Public Methods | |
PasswordSaverVisitor () | |
Constructor of the class PasswordSaverVisitor. More... | |
virtual | ~PasswordSaverVisitor () |
Destructor of the class PasswordSaverVisitor. More... | |
virtual int | visitPasswordRootElement (PasswordRootElement *element) |
Go directly to the childs. More... | |
virtual int | visitPasswordGroupElement (PasswordGroupElement *element) |
Store the current group name in the PasswordInfos structure. More... | |
virtual int | visitPasswordManagerElement (PasswordManagerElement *element) |
Store the password and description in the PasswordInfos structure and push it into the codec object. More... | |
void | setCodecToUse (PasswordCodecPrototype *codec) |
Set the codec object to use to save the tree. More... | |
bool | isVisitSuccessfull (void) |
Infirms if the saving of the tree has occured successfully. More... | |
Protected Attributes | |
bool | _is_successfull |
string | _last_function_in_error |
PasswordCodecPrototype * | _codec |
PasswordInfos * | _current_password_infos |
|
Constructor of the class PasswordSaverVisitor.
|
|
Destructor of the class PasswordSaverVisitor.
|
|
Infirms if the saving of the tree has occured successfully.
|
|
Set the codec object to use to save the tree.
|
|
Store the current group name in the PasswordInfos structure.
Implements PasswordTreeElementAbstractVisitor. |
|
Store the password and description in the PasswordInfos structure and push it into the codec object.
Implements PasswordTreeElementAbstractVisitor. |
|
Go directly to the childs.
Implements PasswordTreeElementAbstractVisitor. |