gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
stream_overloads.hpp File Reference

Define overloadings of the stream operator for various containers. More...

#include <map>
#include <set>
#include <string>
#include <vector>
#include <ostream>
Include dependency graph for stream_overloads.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gambit
 TODO: see if we can use this one:
 

Functions

std::string Gambit::spacing (int, int)
 Spacing utility for stream overloads. More...
 
template<class Type1 , class Type2 >
std::ostream & Gambit::operator<< (std::ostream &os, const std::pair< Type1, Type2 > &p)
 Stream overload for pairs of any type that already has << defined. More...
 
template<class Type >
std::ostream & Gambit::operator<< (std::ostream &os, const std::set< Type > &set)
 Stream overload for sets of any type that already has << defined. More...
 
template<class Type >
std::ostream & Gambit::operator<< (std::ostream &os, const std::vector< Type > &v)
 Stream overload for vectors of any type that already has << defined. More...
 
template<class Type >
std::ostream & Gambit::operator<< (std::ostream &os, const std::map< std::string, Type > &map)
 Stream overload for map from string to any type that already has << defined. More...
 

Detailed Description

Define overloadings of the stream operator for various containers.


Authors (add name and date if you modify):

Author
Pat Scott (patsc.nosp@m.ott@.nosp@m.physi.nosp@m.cs.m.nosp@m.cgill.nosp@m..ca)
Date
2013 Jan, Dec
Author
Ben Farmer (benja.nosp@m.min..nosp@m.farme.nosp@m.r@mo.nosp@m.nash..nosp@m.edu)
Date
2013 Jun, 2016 Jan

Definition in file stream_overloads.hpp.