ERUCES::TEAdminConfig
#include <teadmin_config.h>
The TEAdminConfig class administrates kS configuration.
The TEAdminConfig class is for managing and changing Key Service configuration.
Inheritance
- Inherits ERUCES::TEAdmin
Public Member Functions
| Member | Description |
|---|---|
TEAdminConfig() | The TEAdminConfig constructor is the default class constructor. |
~TEAdminConfig() | The TEAdminConfig constructor is the class destructor. |
_TESTD string getConfig(_TESTD string &xpath) | The getConfig method gets the configuration string. |
void updateConfig(_TESTD string xpath[], _TESTD string xmlval[], const size_t size) | The updateConfig method updates the configuration. |
void setParameter(const TEParameter ¶meter) | The setParameter method sets a Key Service parameter. |
void getParameter(TEParameter ¶meter) const | The getParameter method gets a Key Service parameter. |
void removeParameter(const _TESTD string key) | The removeParameter method removes a Key Service parameter. |
Member Function Documentation
TEAdminConfig()
The TEAdminConfig constructor is the default class constructor.
~TEAdminConfig()
The TEAdminConfig constructor is the class destructor.
_TESTD string getConfig(_TESTD string &xpath)
The getConfig method gets the configuration string.
Parameters
| Parameter | Description |
|---|---|
xpath | A string representing the xpath of the interested XML node. |
Returns: Returns a string of xml node.
void updateConfig(_TESTD string xpath[], _TESTD string xmlval[], const size_t size)
The updateConfig method updates the configuration.
Parameters
| Parameter | Description |
|---|---|
xpath | An array of string of xpath of XML nodes. |
xmlval | An array of string values. |
size | Size of the array. |
void setParameter(const TEParameter ¶meter)
The setParameter method sets a Key Service parameter.
Parameters
| Parameter | Description |
|---|---|
parameter | A parameter object to be updated. |
void getParameter(TEParameter ¶meter) const
The getParameter method gets a Key Service parameter.
Parameters
| Parameter | Description |
|---|---|
parameter | A parameter object to be retreived. |
void removeParameter(const _TESTD string key)
The removeParameter method removes a Key Service parameter.
Parameters
| Parameter | Description |
|---|---|
key | A string representing the parameter to be removed. |