summaryrefslogtreecommitdiff
path: root/src/utils/xmlutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xmlutils.h')
-rw-r--r--src/utils/xmlutils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/xmlutils.h b/src/utils/xmlutils.h
index 9715b005a..e5ac40f5c 100644
--- a/src/utils/xmlutils.h
+++ b/src/utils/xmlutils.h
@@ -22,6 +22,7 @@
#define UTILS_XMLUTILS_H
#include <string>
+#include <map>
#include <vector>
void readXmlIntVector(const std::string &fileName,
@@ -31,4 +32,12 @@ void readXmlIntVector(const std::string &fileName,
const std::string &attributeName,
std::vector<int> &arr);
+void readXmlStringMap(const std::string &fileName,
+ const std::string &rootName,
+ const std::string &sectionName,
+ const std::string &itemName,
+ const std::string &attributeKeyName,
+ const std::string &attributeValueName,
+ std::map<std::string, std::string> &arr);
+
#endif // UTILS_XMLUTILS_H