5 #include "rrExporter.h"
12 typedef std::vector<IniKey*> KeyList;
13 typedef KeyList::iterator KeyItor;
14 typedef std::vector<std::string> NonKeyList;
15 typedef NonKeyList::iterator NonKeyItor;
23 class RR_DECLSPEC IniSection
36 IniSection(
const std::string& nameValueString,
const char& sep);
38 IniKey* CreateKey(
const std::string& _keyName,
const std::string& Value =
"",
const std::string& Comment =
"");
39 IniKey* GetKey(
const int& i);
40 IniKey* GetKey(
const std::string& keyName,
bool create =
false);
41 size_t KeyCount(){
return mKeys.size();}
42 size_t NonKeyCount(){
return mNonKeys.size();}
43 void Clear(){mKeys.clear(); mNonKeys.clear();}
44 std::string GetNonKeysAsString();
45 std::string AsString();