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

Definition of class tgPairs. More...

#include <string>
#include <vector>
#include <algorithm>
#include "core/tgTaggables.h"
#include "tgPair.h"
#include "tgUtil.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tgPairs
 

Functions

tgPairs operator- (tgPairs lhs, const tgPairs &rhs)
 
tgPairs operator- (tgPairs lhs, const std::vector< tgPair * > &rhs)
 
std::ostream & operator<< (std::ostream &os, const tgPairs &p)
 
std::string asYamlItems (const tgPairs &pairs, int indentLevel=0)
 

Detailed Description

Definition of class tgPairs.

Author
Ryan Adams
Date
March 2014 $Id$

Definition in file tgPairs.h.

Function Documentation

std::string asYamlItems ( const tgPairs pairs,
int  indentLevel = 0 
)
inline

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

Definition at line 196 of file tgPairs.h.

Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const tgPairs p 
)
inline

Overload operator<<() to handle tgPairs

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

Definition at line 178 of file tgPairs.h.