ug4
table.h File Reference
#include <sstream>
#include <string>
#include <vector>
#include <iostream>
#include "table_impl.hpp"

Go to the source code of this file.

Classes

class  ug::Table< T >
 Useful for printing a table to the terminal or into a file. More...
 

Namespaces

 ug
 the ug namespace
 

Typedefs

typedef Table< std::stringstream > ug::StringStreamTable
 
typedef Table< std::string > ug::StringTable
 

Functions

std::string ug::EntryToString (const Table< std::string > &table, size_t rowInd, size_t colInd)
 
std::string ug::EntryToString (const Table< std::stringstream > &table, size_t rowInd, size_t colInd)
 
template<class T >
std::string ug::EntryToString (const Table< T > &table, size_t rowInd, size_t colInd)
 Returns a string-representation of the current entry. More...
 
template<class T >
std::ostream & ug::operator<< (std::ostream &os, const Table< T > &table)
 prints a table to the specified ostream. More...