ERUCES::TEEfefsSecureFolder
#include <teefefs_securefolder.h>
The TEEfefsSecureFolder class is for management of EFEFS secure folders.
Inheritance
- Inherits ERUCES::TEUpdatableObject
Public Types
enum SECURE_FOLDER_FLAG
Role type enumeration.
| Value | Description |
|---|---|
ACTIVATE | Activate |
Public Member Functions
| Member | Description |
|---|---|
TEEfefsSecureFolder() | The TEEfefsSecureFolder constructor is the default class constructor. |
TEEfefsSecureFolder(const TEEfefsSecureFolder &folder) | The TEEfefsSecureFolder constructor copies a TEEfefsSecureFolder object. |
~TEEfefsSecureFolder() | The TEEfefsSecureFolder destructor is the class destructor. |
void setSource(const _TESTD string &path) | The setSource method sets the path of the source secure folder. |
const _TESTD string getSource() const | The getSource method retrieves the path of the source secure folder. |
void setDestination(const _TESTD string &path) | The setDestination method set the path of destination secure folder. |
const _TESTD string getDestination() const | The getDestination method retrieves the path of destination secure folder. |
void setUser(const _TESTD string &user) | The setUser method sets the user name. |
const _TESTD string getUser() const | The getUser method retrieves the user name. |
void setFlag(unsigned int flag) | The setFlag method sets the secure folder flag. |
unsigned int getFlag() const | The getFlag method retrieves the secure folder flag. |
void setSecureFolderType() | The setSecureFolderType method sets the secure folder type to be a secure folder. |
void setExcludedSubFolderType() | The setExcludedSubFolderType method sets the secure folder type to be an excluded subfolder. |
bool isSecureFolderType() const | The isSecureFolderType method retrieves whether or not the secure folder type is set to a secure folder. |
bool isExcludedSubFolderType() const | The isExcludedSubFolderType method retrieves whether or not the secure folder type is set to an excluded subfolder. |
void setActiveAttribute() | The setActiveAttribute method sets the active attribute. |
void resetActiveAttribute() | The resetActiveAttribut method resets the active attribute. |
bool isActiveAttributeSet() const | The isActiveAttributeSet method retrieves whether or not the active attribute is set. |
bool isActiveStatusSet() const | The isActiveStatusSet method retrieves whether or not the active status is set. |
void setTemplateAttribute() | The setTemplateAttribute method set the template attribute. |
void resetTemplateAttribute() | The resetTemplateAttribute method resets the template attribute. |
bool isTemplateAttributeSet() const | The isTemplateAttributeSe method retrieves whether or not the template attribute is set. |
TEObject * clone() const | The clone method clones a role object. |
Member Function Documentation
TEEfefsSecureFolder()
The TEEfefsSecureFolder constructor is the default class constructor.
TEEfefsSecureFolder(const TEEfefsSecureFolder &folder)
The TEEfefsSecureFolder constructor copies a TEEfefsSecureFolder object.
~TEEfefsSecureFolder()
The TEEfefsSecureFolder destructor is the class destructor.
void setSource(const _TESTD string &path)
The setSource method sets the path of the source secure folder.
Parameters
| Parameter | Description |
|---|---|
path | A string representing the source secure folder path. |
const _TESTD string getSource() const
The getSource method retrieves the path of the source secure folder.
Returns: Returns a string representing the source secure folder path.
void setDestination(const _TESTD string &path)
The setDestination method set the path of destination secure folder.
Parameters
| Parameter | Description |
|---|---|
path | A string representing the destination secure folder path. |
const _TESTD string getDestination() const
The getDestination method retrieves the path of destination secure folder.
Returns: Returns a string representing the destination secure folder path.
void setUser(const _TESTD string &user)
The setUser method sets the user name.
Parameters
| Parameter | Description |
|---|---|
user | A string representing the user name. |
const _TESTD string getUser() const
The getUser method retrieves the user name.
Returns: Returns a string representing the user name.
void setFlag(unsigned int flag)
The setFlag method sets the secure folder flag.
Parameters
| Parameter | Description |
|---|---|
flag | An integer representing the SECURE_FOLDER_FLAG. |
unsigned int getFlag() const
The getFlag method retrieves the secure folder flag.
Returns: Returns an integer representing the SECURE_FOLDER_FLAG.
void setSecureFolderType()
The setSecureFolderType method sets the secure folder type to be a secure folder.
void setExcludedSubFolderType()
The setExcludedSubFolderType method sets the secure folder type to be an excluded subfolder.
bool isSecureFolderType() const
The isSecureFolderType method retrieves whether or not the secure folder type is set to a secure folder.
Returns: Returns a boolean representing whether or not the folder is a secure folder.
bool isExcludedSubFolderType() const
The isExcludedSubFolderType method retrieves whether or not the secure folder type is set to an excluded subfolder.
Returns: Returns a boolean representing whether or not the folder is an excluded subfolder.
void setActiveAttribute()
The setActiveAttribute method sets the active attribute.
void resetActiveAttribute()
The resetActiveAttribut method resets the active attribute.
bool isActiveAttributeSet() const
The isActiveAttributeSet method retrieves whether or not the active attribute is set.
Returns: Returns a boolean representing whether or not the active attribute is set.
bool isActiveStatusSet() const
The isActiveStatusSet method retrieves whether or not the active status is set.
Returns: Returns a boolean representing whether or not the active status is set.
void setTemplateAttribute()
The setTemplateAttribute method set the template attribute.
void resetTemplateAttribute()
The resetTemplateAttribute method resets the template attribute.
bool isTemplateAttributeSet() const
The isTemplateAttributeSe method retrieves whether or not the template attribute is set.
Returns: Returns a boolean representing whether or not the template attribute is set.
TEObject * clone() const
The clone method clones a role object.
Returns: Returns a cloned role object.