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

Definition of class tgPair. More...

#include "core/tgTaggable.h"
#include "LinearMath/btVector3.h"
#include <string>
#include <iostream>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tgPair
 

Functions

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

Detailed Description

Definition of class tgPair.

Author
Ryan Adams
Date
March 2014 $Id$

Definition in file tgPair.h.

Function Documentation

std::string asYamlItem ( const tgPair pair,
int  indentLevel = 0 
)
inline

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

Definition at line 150 of file tgPair.h.

std::ostream& operator<< ( std::ostream &  os,
const tgPair pair 
)
inline

Overload operator<<() to handle a tgPair

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

Definition at line 138 of file tgPair.h.

Here is the call graph for this function: