![]() |
Blamite Game Engine - Strings
00313.05.23.21.2038.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
#include "project_info.h"
#include <fstream>
#include "components/3rdparty/rapidxml/rapidxml.hpp"
#include "components/logger/logger.h"
#include "components/utils/xml/xml.h"
#include "components/utils/converters/converters.h"
#include "components/utils/io/io.h"
Functions | |
std::string | GetChildNodeValue (rapidxml::xml_node<> *parent_node, std::string child_node_name) |
Retrieves the value of a child node within an XML node. More... | |
std::string GetChildNodeValue | ( | rapidxml::xml_node<> * | parent_node, |
std::string | child_node_name | ||
) |
Retrieves the value of a child node within an XML node.
Used to simplify project file parsing code.
In the event that the child node cannot be found, a warning message is logged.
parent_node | - The parent XML node. |
child_node_name | - The name of the child node. |