ATLAS Offline Software
DataType.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "JiveXML/DataType.h"
6 
7 namespace JiveXML{
8 
13  }
14 
18  std::string DataType::toString() const {
19  return m_thing;
20  }
21 
27  std::ostream& operator<<( std::ostream& os, const DataType &dt ){
28  return os << dt.toString();
29  }
30 
31 } //namespace
32 
33 
34 
DataType.h
JiveXML::DataType::toString
std::string toString() const
Return the string.
Definition: DataType.cxx:18
JiveXML::DataType::m_thing
std::string m_thing
Definition: DataType.h:24
JiveXML::DataType
Templated class to convert any object that is streamable in a ostringstream in a string.
Definition: DataType.h:21
CaloNoise_fillDB.dt
dt
Definition: CaloNoise_fillDB.py:58
JiveXML::operator<<
std::ostream & operator<<(std::ostream &os, const DataType &dt)
Allow this to be streamed in an ostream.
Definition: DataType.cxx:27
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
JiveXML::DataType::DataType
DataType()
Empty constructor.
Definition: DataType.cxx:12