NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgNode.h File Reference

Definition of class tgNode. More...

#include "tgUtil.h"
#include "core/tgTaggable.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btQuaternion.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tgNode
 

Functions

std::ostream & operator<< (std::ostream &os, const tgNode &node)
 
std::string asYamlItem (const tgNode &node, int indentLevel=0)
 

Detailed Description

Definition of class tgNode.

Author
Ryan Adams
Date
March 2014 $Id$

Definition in file tgNode.h.

Function Documentation

std::string asYamlItem ( const tgNode node,
int  indentLevel = 0 
)
inline

Represent a node as a YAML item (prepended by '-', multi-line) Note: this function has no dependencies on external libraries

Definition at line 125 of file tgNode.h.

Here is the call graph for this function:

Here is the caller graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const tgNode node 
)
inline

Overload operator<<() to handle a tgNode

Parameters
[in,out]osan ostream
[in]paira tgNode
Returns
os
Todo:
Inlining this does no good; stream operations are slow.

Definition at line 114 of file tgNode.h.