![]() |
Blamite Game Engine - Strings
00402.09.29.23.0627.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
#include "strings.h"
#include <fstream>
#include <regex>
#include "components/3rdparty/rapidxml/rapidxml.hpp"
#include "components/utils/converters/converters.h"
#include "components/utils/io/io.h"
#include "components/utils/res/res.h"
#include "components/utils/string/string.h"
#include "components/logger/logger.h"
Functions | |
BlamEngineString | ParseString (rapidxml::xml_node<> *string_node) |
Parses an XML node into a BlamEngineString. More... | |
std::vector< BlamEngineString > | LoadStringListFromFile (std::string file_path) |
Parses a list of strings from a file. More... | |
Variables | |
std::map< std::string, BlamEngineString > | universal_string_list |
std::map< int, BlamEngineString * > | error_strings |
Map containing a list of all error strings. More... | |
std::vector<BlamEngineString> LoadStringListFromFile | ( | std::string | file_path | ) |
Parses a list of strings from a file.
id
attribute before adding to the universal string list.file_path | - The path to the string table file. |
BlamEngineString ParseString | ( | rapidxml::xml_node<> * | string_node | ) |
Parses an XML node into a BlamEngineString.
string_node | - The XML node to try and parse. |
std::map<int, BlamEngineString*> error_strings |
Map containing a list of all error strings.
std::map<std::string, BlamEngineString> universal_string_list |