|
|
PixelBullet
0.0.1
A C++ game engine
|
Represents a hierarchical node capable of storing various data types and supporting YAML serialization. More...
#include <node.h>
Classes | |
| struct | Format |
| Formatting options for YAML serialization. More... | |
Static Public Member Functions | |
| static bool | parse_yaml (Node &node, std::string_view str) |
| static bool | write_yaml (const Node &node, std::ostream &stream, const Format &format=Format::minified) |
Friends | |
| const Node & | operator>> (const Node &node, Node &out) |
| Copy the node's content. | |
| Node & | operator<< (Node &node, const Node &in) |
| Copy content from one node to another. | |
| const Node & | operator>> (const Node &node, bool &b) |
| Node & | operator<< (Node &node, bool b) |
Represents a hierarchical node capable of storing various data types and supporting YAML serialization.
The Node class stores a value as a string and maintains a list of properties for composite data types. It provides overloaded operators for convenient type conversion and YAML parsing/emission.
|
friend |
Copy content from one node to another.
|
friend |
Copy the node's content.