#include <Fl_Config.h>
Inheritance diagram for Fl_Config_Section:

Public Methods | |
| Fl_Config_Section (const Fl_String &name, const Fl_String &path, Fl_Config_Section *par) | |
| virtual | ~Fl_Config_Section () |
| virtual void | clear () |
| Destroys all sections and entries. | |
| Fl_Config_Section * | parent () const |
| Returns pointer to parent section, NULL for Fl_Config (root). | |
| const Fl_String & | name () const |
| Returns name of section, without path. More... | |
| const Fl_String & | path () const |
| Returns path to section, without name. More... | |
| const Fl_Config_Lines & | lines () const |
| Returns const reference to entry map. | |
| Fl_Config_Lines & | lines () |
| Returns reference to entry map. | |
| const Fl_Config_Sections & | sections () const |
| Returns const reference to section list. | |
| Fl_Config_Sections & | sections () |
| Returns reference to section list. | |
| Fl_Config_Section * | find (const char *section_name, bool recursive=false) const |
| Find section named 'name'. More... | |
Protected Methods | |
| void | write_section (int indent, FILE *fp) const |
| void | add_entry (const Fl_String &key, const Fl_String &value) |
| bool | remove_entry (const Fl_String &key) |
| Fl_String * | find_entry (const char *key) const |
Protected Attributes | |
| Fl_Config_Section * | m_parent |
| Fl_String | m_name |
| Fl_String | m_path |
| Fl_Config_Lines | m_lines |
| Fl_Config_Sections | m_sections |
Friends | |
| class | Fl_Config |
Represents one section in config (ini) file.
Definition at line 72 of file Fl_Config.h.
|
||||||||||||
|
Find section named 'name'.
|
|
|
Returns name of section, without path.
Definition at line 93 of file Fl_Config.h. |
|
|
Returns path to section, without name.
Definition at line 99 of file Fl_Config.h. |
1.2.15