#include <iniparser.h>
Public Member Functions | |
virtual bool | parse (IniParser *parser)=0 |
parse text starting right after the "]" token. | |
virtual void | print (FILE *f) |
This method helps IniParser::dumpExampleFile() to do it's job. | |
virtual | ~IniSection () |
Public Attributes | |
const char * | name |
Grammatical, lexical and semantical information about a .ini section. A section in the .ini file begins by [ section_name ]
Definition at line 26 of file iniparser.h.
virtual IniSection::~IniSection | ( | ) | [inline, virtual] |
Definition at line 42 of file iniparser.h.
virtual bool IniSection::parse | ( | IniParser * | parser | ) | [pure virtual] |
parse text starting right after the "]" token.
The parser object should be used to read the file in order to remove comments correctly and to count lines. Once parsed, this method do something usefull with the data.
Implemented in ParamSection.
virtual void IniSection::print | ( | FILE * | f | ) | [inline, virtual] |
This method helps IniParser::dumpExampleFile() to do it's job.
It prints an example section.
Reimplemented in ParamSection.
Definition at line 40 of file iniparser.h.
References name.
const char* IniSection::name |
Definition at line 28 of file iniparser.h.
Referenced by ParamSection::ParamSection(), print(), and VideoSourceFactory::registerParameters().