diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-19 21:29:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-19 21:29:24 +0000 |
commit | 9e7fa49f168c4ae25d23e4858a895216e997d205 (patch) | |
tree | 330e927dd3d6a79559ad2800d1160c5c11e499b9 /src/inistream.h | |
parent | 85500fcb7a8aae73da87af337e2984cc91425eb8 (diff) |
Added a seperate class to hold entity properties.
Diffstat (limited to 'src/inistream.h')
-rw-r--r-- | src/inistream.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/inistream.h b/src/inistream.h index a9e2817..08a6ef4 100644 --- a/src/inistream.h +++ b/src/inistream.h @@ -15,8 +15,8 @@ namespace editor { -/// a class to read ini streams /** + * @brief a class to read an ini file on a text stream * The IniStream class is able to decode the structure of a windows-like * .ini file from a text stream. **/ @@ -57,21 +57,21 @@ public: bool in_section(const char *sectionlabel) const; /// true if the last read statement was a certain section header - bool got_section(const char * sectionlabel) const; + bool got_section(const char *sectionlabel) const; /// true if the last read statement was a key=value pair bool got_key() const; - bool got_key(const char * keylabel); + bool got_key(const char *keylabel); /// check if the last read key=value pair matches keylabel and store the string value - bool got_key_string(const char * keylabel, QString & valuestring); + bool got_key_string(const char *keylabel, QString &valuestring); /// check if the last read key=value pair matches keylabel and store the value in x y and z bool got_key_vector3f(const char *keylabel, float &x, float &y, float &z); /// check if the last read key=value pair matches keylabel and store the float value - bool got_key_float(const char * keylabel, float & f); + bool got_key_float(const char *keylabel, float &f); /* /// check if the last read key=value pair matches keylabel and store the value in valuestring, converted to label |