Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00390.07.02.23.1947.blamite
The tag editor for the Blamite Game Engine.
project_info.cpp File Reference
#include "project_info.h"
#include <fstream>
#include <Strings/components/3rdparty/rapidxml/rapidxml.hpp>
#include <Strings/components/utils/xml/xml.h>
#include <Strings/components/utils/converters/converters.h>
#include <Strings/components/utils/io/io.h>
#include <Strings/components/logger/logger.h>
+ Include dependency graph for project_info.cpp:

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...
 

Function Documentation

◆ GetChildNodeValue()

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.

Parameters
parent_node- The parent XML node.
child_node_name- The name of the child node.
Returns
The value of the child node if it was found. If the child node could not be found, an empty string is returned.
+ Here is the caller graph for this function: