44 const std::string &name,
79 logger->
log1(
"Initializing Badges database...");
100 return std::string();
108 return std::string();
116 return std::string();
124 return std::string();
static void loadXmlFile(const std::string &file, const std::string &name, BadgesInfos &arr, const SkipError skipError)
static void loadDB(const std::string &name, BadgesInfos &arr)
std::map< std::string, std::string > BadgesInfos
BadgesInfos::const_iterator BadgesInfosIter
std::string getStringValue(const std::string &key) const
void log1(const char *const log_text)
#define FOR_EACH(type, iter, array)
const std::string getClanBadge(const std::string &name)
const std::string getPartyBadge(const std::string &name)
const std::string getGuildBadge(const std::string &name)
const std::string getNameBadge(const std::string &name)
void getFilesInDir(const std::string &dir, StringVect &list, const std::string &ext)
const bool SkipError_false
const bool SkipError_true
StringVect::const_iterator StringVectCIter
std::vector< std::string > StringVect
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)