ManaPlus
|
Functions | |
void | load () |
void | unload () |
void | loadXmlFile (const std::string &fileName, const SkipError skipError) |
const ItemFieldInfos & | getRequiredFields () |
const ItemFieldInfos & | getAddFields () |
const ItemFieldInfos & ItemFieldDb::getAddFields | ( | ) |
Definition at line 151 of file itemfielddb.cpp.
References anonymous_namespace{itemfielddb.cpp}::mAddInfos.
Referenced by ClanDb::loadXmlFile(), ItemOptionDb::loadXmlFile(), and ItemDB::loadXmlFile().
const ItemFieldInfos & ItemFieldDb::getRequiredFields | ( | ) |
Definition at line 146 of file itemfielddb.cpp.
References anonymous_namespace{itemfielddb.cpp}::mRequiredInfos.
Referenced by ItemOptionDb::loadXmlFile(), and ItemDB::loadXmlFile().
void ItemFieldDb::load | ( | ) |
Definition at line 42 of file itemfielddb.cpp.
References Configuration::getStringValue(), loadXmlDir, loadXmlFile(), Logger::log1(), logger, anonymous_namespace{itemfielddb.cpp}::mLoaded, paths, SkipError_false, SkipError_true, and Net::unload().
Referenced by DbManager::loadDb().
void ItemFieldDb::loadXmlFile | ( | const std::string & | fileName, |
const SkipError | skipError | ||
) |
Definition at line 103 of file itemfielddb.cpp.
References fileName, for_each_xml_child_node, XML::getProperty(), loadFields(), loadXmlFile(), Logger::log(), logger, anonymous_namespace{itemfielddb.cpp}::mAddInfos, anonymous_namespace{itemfielddb.cpp}::mRequiredInfos, XML::Document::rootNode(), and UseVirtFs_true.
void ItemFieldDb::unload | ( | ) |
Definition at line 135 of file itemfielddb.cpp.
References delete_all(), Logger::log1(), logger, anonymous_namespace{itemfielddb.cpp}::mAddInfos, anonymous_namespace{itemfielddb.cpp}::mLoaded, and anonymous_namespace{itemfielddb.cpp}::mRequiredInfos.
Referenced by DbManager::unloadDb().