ManaPlus
|
Go to the source code of this file.
Functions | |
void | readXmlIntVector (const std::string &fileName, const std::string &rootName, const std::string §ionName, const std::string &itemName, const std::string &attributeName, std::vector< int > &arr, const SkipError skipError) |
void | readXmlStringMap (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< 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) |
void readXmlIntMap | ( | 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< int32_t, int32_t > & | arr, | ||
const SkipError | skipError | ||
) |
Definition at line 134 of file xmlutils.cpp.
References fileName, for_each_xml_child_node, XML::getProperty(), Logger::log(), logger, XML::Document::rootNode(), and UseVirtFs_true.
Referenced by NetworkDb::loadXmlFile().
void readXmlIntVector | ( | const std::string & | fileName, |
const std::string & | rootName, | ||
const std::string & | sectionName, | ||
const std::string & | itemName, | ||
const std::string & | attributeName, | ||
std::vector< int > & | arr, | ||
const SkipError | skipError | ||
) |
Definition at line 30 of file xmlutils.cpp.
References fileName, for_each_xml_child_node, XML::getProperty(), Logger::log(), logger, XML::Document::rootNode(), and UseVirtFs_true.
Referenced by loadDB(), and NetworkDb::loadXmlFile().
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, | ||
const SkipError | skipError | ||
) |
Definition at line 80 of file xmlutils.cpp.
References fileName, for_each_xml_child_node, XML::getProperty(), Logger::log(), logger, XML::Document::rootNode(), and UseVirtFs_true.
Referenced by loadXmlFile().