Sunset old XML child system

This commit is contained in:
2023-07-12 10:54:02 -07:00
parent 19c6575aaf
commit c2831f54e8
7 changed files with 67 additions and 27 deletions

View File

@ -33,6 +33,9 @@ namespace Dawn {
protected:
static bool_t isWhitespace(char_t c);
// @deprecated
std::vector<Xml*> children;
public:
static Xml load(std::string data);
static void load(Xml *xml, std::string data, size_t *j);
@ -43,9 +46,6 @@ namespace Dawn {
std::string textContent;
std::map<std::string, std::string> attributes;
std::vector<struct XmlNode> childNodes;
// @deprecated
std::vector<Xml*> children;
std::vector<Xml*> getChildrenOfType(std::string type);
Xml * getFirstChildOfType(std::string type);