ConfigParser_t::entry_s Struct Reference

Collaboration diagram for ConfigParser_t::entry_s:
[legend]
List of all members.

Public Member Functions

entry_sclear (void)

Public Attributes

std::string section
std::string name
std::string value

Detailed Description

Structure used for single line of config file.


Member Function Documentation

struct entry_s& ConfigParser_t::entry_s::clear ( void   )  [inline]

Clear entry data.

Returns:
Reference to 'this' object with cleared content.


Member Data Documentation

std::string ConfigParser_t::entry_s::section

Entry is in this section. Section name is the std::string between '[' and ']'. Entries on top of config file have empty section.

std::string ConfigParser_t::entry_s::name

Entry name. Name is the std::string from start of the line until (but not including) '=', '#', ';' or EOL.

std::string ConfigParser_t::entry_s::value

Value of entry. Value is std::string after '=' and before '#', ';' or EOL (also not including these special characters).


The documentation for this struct was generated from the following file:
Generated on Wed May 7 13:41:38 2008 for Cfgparser (c) SEZNAM.CZ a.s. by  doxygen 1.5.1