#include <sstream>
#include <iostream>
Go to the source code of this file.
Functions | |
template<class T> | |
std::string | toString (const std::pair< T, T > &aT) |
template<class T> | |
std::string | toString (const T &aT) |
std::string toString | ( | const std::pair< T, T > & | aT | ) | [inline] |
Definition at line 12 of file ToString.h.
00012 { 00013 std::ostringstream oss; 00014 oss << "(" << aT.first << ", " << aT.second << ")"; 00015 return oss.str(); 00016 }
std::string toString | ( | const T & | aT | ) | [inline] |
Definition at line 6 of file ToString.h.
Referenced by pftools::SpaceVoxel::getName(), HCALConfigDB::getOnlineLUT(), and HCALConfigDB::getOnlineLUTFromXML().