![]() |
Blamite Game Engine - Strings
00430.01.19.25.2136.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/utils/xml/xml.h"#include "components/utils/converters/converters.h"#include "components/utils/io/io.h"#include "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, std::string _default="", bool treat_as_directory=false) |
| Retrieves the value of a child node within an XML node. More... | |
| bool | GetChildNodeValueBool (rapidxml::xml_node<> *parent_node, std::string child_node_name, bool _default=false) |
| 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, | ||
| std::string | _default = "", |
||
| bool | treat_as_directory = false |
||
| ) |
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. |
| _default | - An optional default value if the value cannot be found. Defaults to an empty string. |
| treat_as_directory | - If true, the value will be modified and validated for use as a directory. |
Here is the call graph for this function:
Here is the caller graph for this function:| bool GetChildNodeValueBool | ( | rapidxml::xml_node<> * | parent_node, |
| std::string | child_node_name, | ||
| bool | _default = false |
||
| ) |
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. |
Here is the call graph for this function:
Here is the caller graph for this function: