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

Contains the definition of class tgTags. More...

#include <deque>
#include <set>
#include <string>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <locale>
#include "tgException.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tgTagException
 
class  tgTags
 

Functions

std::ostream & operator<< (std::ostream &os, const tgTags &tags)
 
tgTags operator+ (tgTags lhs, const tgTags &rhs)
 
std::string operator+ (tgTags tags, std::string str)
 
std::string operator+ (std::string str, tgTags tags)
 
std::string asYamlList (const tgTags &tags)
 
bool operator< (const tgTags &lhs, const tgTags &rhs)
 
bool operator> (const tgTags &lhs, const tgTags &rhs)
 
bool operator<= (const tgTags &lhs, const tgTags &rhs)
 
bool operator>= (const tgTags &lhs, const tgTags &rhs)
 

Detailed Description

Contains the definition of class tgTags.

Author
Ryan Adams $Id$

Definition in file tgTags.h.

Function Documentation

std::string asYamlList ( const tgTags tags)
inline

Represent tags as a YAML list Note: this function has no dependencies on external libraries

Definition at line 356 of file tgTags.h.

Here is the caller graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const tgTags tags 
)
inline

Overload operator<<() to handle a tgTags.

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

Definition at line 316 of file tgTags.h.