8 #include <mix/IniSection.hpp>
12 #define PtrType IniSectionPtr
13 #define PtrAr IniSectionsAr
14 #include <mix/PtrAr.H>
66 virtual void set_path (
const char* path);
70 virtual void save ()
const;
73 virtual void save (
const char* path)
const;
96 virtual const IniSection&
get (
const char* type,
97 const char* name =
"")
const;
102 const char* name =
"")
const {
103 return get(type, name);
112 const char* name =
"");
128 const char* name =
"");
134 const char* name =
"");
150 int tn2i (
const char* type,
151 const char* name)
const;
Definition: IniFile.hpp:45
Class for operating with one section of ini-file.
Definition: IniSection.hpp:43
Definition: IniFile.hpp:44
int tn2i(const char *type, const char *name) const
MergeMode
Definition: IniSection.hpp:204
Definition: IniFile.hpp:43
virtual void remove_section(const char *type, const char *name="")
struct stat stat_buf
Definition: IniFile.hpp:160
LoadMode
Definition: IniFile.hpp:41
virtual void load(const char *path, LoadMode mode=Overwrite, IniSection::MergeMode mmode=IniSection::AppendAll)
IniSectionsAr isar
Definition: IniFile.hpp:163
const IniSection & operator()(const char *type, const char *name="") const
Definition: IniFile.hpp:101
IniSection & operator[](const char *type)
Definition: IniFile.hpp:116
virtual char ** get_list_of_names(const char *type, int &n) const
virtual char ** get_list_of_types(int &n) const
Definition: IniSection.hpp:205
Definition: IniFile.hpp:42
virtual void save() const
virtual IniSection * add_section(const char *type, const char *name="")
virtual void set_path(const char *path)
virtual IniSection & fetch(const char *type, const char *name="")
char * ini_path
Definition: IniFile.hpp:156
Class for operating with ini-file which contains sections.
Definition: IniFile.hpp:37