diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-13 18:31:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-13 18:31:30 +0300 |
commit | dca3de26978bf0a9d7ac9df8524c90b85f8920da (patch) | |
tree | 0d575e647028c1f3d75e5ee1e4d93603bcda1783 /src/utils/xmlutils.h | |
parent | 0dbd25bacb312932e343f154001531b6be84a6ac (diff) | |
download | manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.gz manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.bz2 manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.tar.xz manaplus-dca3de26978bf0a9d7ac9df8524c90b85f8920da.zip |
Add into xmlutils function for read xml file into int map.
Diffstat (limited to 'src/utils/xmlutils.h')
-rw-r--r-- | src/utils/xmlutils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils/xmlutils.h b/src/utils/xmlutils.h index 928519267..d80758848 100644 --- a/src/utils/xmlutils.h +++ b/src/utils/xmlutils.h @@ -44,4 +44,13 @@ void readXmlStringMap(const std::string &fileName, std::map<std::string, std::string> &arr, const SkipError skipError); +void readXmlIntMap(const std::string &fileName, + const std::string &rootName, + const std::string §ionName, + const std::string &itemName, + const std::string &attributeKeyName, + const std::string &attributeValueName, + std::map<int32_t, int32_t> &arr, + const SkipError skipError); + #endif // UTILS_XMLUTILS_H |