NTRT Simulator
Version: Master
|
Definition of class tgStructure. More...
#include "tgNodes.h"
#include "tgPairs.h"
#include "core/tgTaggable.h"
#include <string>
#include <vector>
#include <queue>
Go to the source code of this file.
Classes | |
class | tgStructure |
Functions | |
std::string | asYamlElement (const tgStructure &structure, int indentLevel=0) |
std::string | asYamlItem (const tgStructure &structure, int indentLevel=0) |
std::string | asYamlItems (const std::vector< tgStructure * > structures, int indentLevel=0) |
std::ostream & | operator<< (std::ostream &os, const tgStructure &structure) |
std::string asYamlElement | ( | const tgStructure & | structure, |
int | indentLevel = 0 |
||
) |
Overload operator<<() to handle a tgStructure
[in,out] | os | an ostream |
[in] | tgStructure,its | nodes, pairs, and children. |
Represent a structure as a YAML element Note: this function has no dependencies on external libraries
Definition at line 270 of file tgStructure.cpp.
std::string asYamlItem | ( | const tgStructure & | structure, |
int | indentLevel = 0 |
||
) |
Represent a structure as a YAML list item (prepended by '-', multi-line) Note: this function has no dependencies on external libraries
Definition at line 282 of file tgStructure.cpp.
std::string asYamlItems | ( | const std::vector< tgStructure * > | structures, |
int | indentLevel = 0 |
||
) |
Represent a vector of tgStructure* as YAML items Note: this function has no dependencies on external libraries
Definition at line 293 of file tgStructure.cpp.
|
inline |
Overload operator<<() to handle a tgStructure
[in,out] | os | an ostream |
[in] | tgStructure,its | nodes, pairs, and children. |
Definition at line 273 of file tgStructure.h.