DP3
Classes | Namespaces | Functions
StreamUtil.h File Reference
#include <map>
#include <ostream>
#include <set>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  dp3::common::Indent
 Useful stream manipulation methods. More...
 

Namespaces

 dp3
 This file has generic helper routines for testing steps.
 
 dp3::common
 

Functions

std::ostream & dp3::common::indent (std::ostream &os)
 
template<typename T , typename U >
std::ostream & dp3::common::operator<< (std::ostream &os, const std::map< T, U > &m)
 
template<typename T , typename U >
std::ostream & dp3::common::operator<< (std::ostream &os, const std::pair< T, U > &p)
 Write a std::pair. More...
 
template<typename T >
std::ostream & dp3::common::operator<< (std::ostream &os, const std::set< T > &v)
 
template<typename T >
std::ostream & dp3::common::operator<< (std::ostream &os, const std::vector< T > &v)
 
template<typename ITER >
void dp3::common::print (std::ostream &os, ITER begin, ITER end, const char *separator=",", const char *prefix="[", const char *postfix="]")
 Write any container to the given std::ostream. More...