Skip to main content

ERUCES::TEAdminConfig

#include <teadmin_config.h>

The TEAdminConfig class administrates kS configuration.

The TEAdminConfig class is for managing and changing Key Service configuration.

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Public Member Functions​

MemberDescription
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 &parameter)The setParameter method sets a Key Service parameter.
void getParameter(TEParameter &parameter) constThe 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

ParameterDescription
xpathA 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

ParameterDescription
xpathAn array of string of xpath of XML nodes.
xmlvalAn array of string values.
sizeSize of the array.

void setParameter(const TEParameter &parameter)​

The setParameter method sets a Key Service parameter.

Parameters

ParameterDescription
parameterA parameter object to be updated.

void getParameter(TEParameter &parameter) const​

The getParameter method gets a Key Service parameter.

Parameters

ParameterDescription
parameterA parameter object to be retreived.

void removeParameter(const _TESTD string key)​

The removeParameter method removes a Key Service parameter.

Parameters

ParameterDescription
keyA string representing the parameter to be removed.

Examples​