![]() |
ATLAS Offline Software
|
Templated class to convert any object that is streamable in a ostringstream in a string. More...
#include <DataType.h>
Public Member Functions | |
template<class T > | |
DataType (T t) | |
Templated constructor – this is resolved at compile time so the constructor must be implemented in the header. More... | |
DataType () | |
Empty constructor. More... | |
std::string | toString () const |
Return the string. More... | |
Private Attributes | |
std::string | m_thing |
Templated class to convert any object that is streamable in a ostringstream in a string.
Definition at line 21 of file DataType.h.
|
inline |
Templated constructor – this is resolved at compile time so the constructor must be implemented in the header.
Generate a stringstream object
Generically stream the type object into it
Only retain the string object
Convert some exception values
Definition at line 32 of file DataType.h.
JiveXML::DataType::DataType | ( | ) |
std::string JiveXML::DataType::toString | ( | ) | const |
|
private |
Definition at line 24 of file DataType.h.