NTRT Simulator
Version: Master
|
Implementation of class tgStructure. More...
#include "tgStructure.h"
#include "tgNode.h"
#include "tgPair.h"
#include <LinearMath/btQuaternion.h>
#include <LinearMath/btVector3.h>
Go to the source code of this file.
Functions | |
std::string | asYamlElement (const tgStructure &structure, int indentLevel) |
std::string | asYamlItem (const tgStructure &structure, int indentLevel) |
std::string | asYamlItems (const std::vector< tgStructure * > structures, int indentLevel) |
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.