ReadConfig man page

ReadConfig —

Synopsis

Public Member Functions

ReadConfig (const char *configFilename, bool *success)

short parse ()

unsigned int getTracelevel ()

unsigned int getPort ()

char * getDynamicStartSuffix ()

char * getDynamicStopSuffix ()

tag_list_t * getDynamicTags ()

tag_list_t * getStaticTags ()

tag_list_t * getUniqueTags ()

tag_list_t * getVolatileTags ()

tag_list_t * getStateTags ()

tag_list_t * getAllTags ()

Member Function Documentation

tag_list_t* ReadConfig::getAllTags ()

Get all the possible tags.

Returns:

NULL if the file was not already parsed

char* ReadConfig::getDynamicStartSuffix ()

Get the dynamic start suffix, by default it's 'START'.

Returns:

the dynmaic start suffix

char* ReadConfig::getDynamicStopSuffix ()

Get the dynamic stop suffix, by default it's 'STOP'.

Returns:

the dynmaic stop suffix

tag_list_t* ReadConfig::getDynamicTags ()

Get all dynamic system state tags. If a tag name is 'TAG1' then a pair of tags is expected : TAG1_START and TAG1_STOP. START and STOP names are get from getDynamicStart-StopSuffix.

Returns:

NULL if the file was not already parsed

unsigned int ReadConfig::getPort ()

Get the Port to use for CORBA communication.

Returns:

the port or 0 if no port specified

tag_list_t* ReadConfig::getStateTags ()

Get all the System state tags.

Returns:

NULL if the file was not already parsed

tag_list_t* ReadConfig::getStaticTags ()

Get all static system state tags.

Returns:

NULL if the file was not already parsed

unsigned int ReadConfig::getTracelevel ()

Get the tracelevel to use for CORBA communication.

Returns:

the tracelevel or 0 if no tracelevel specified

tag_list_t* ReadConfig::getUniqueTags ()

Get all unique system state tags. Only one information is keeped at a time. A new tag overwrite the previous.

Returns:

NULL if the file was not already parsed

tag_list_t* ReadConfig::getVolatileTags ()

Get all other tags (volatile tags).

Returns:

NULL if the file was not already parsed

short ReadConfig::parse ()

Parse the config file.

Returns:

an error level

Author

Generated automatically by Doxygen for LogService from the source code.

Info

Wed Feb 3 2016 LogService