1 #ifndef __JEEP__JPRINT__ 
    2 #define __JEEP__JPRINT__ 
   19 namespace JPP { 
using namespace JEEP; }
 
   33     static std::ostringstream buffer;
 
   51     static std::string buffer;
 
   55     return buffer.c_str();
 
  127 #define MAKE_STRING(A) (static_cast<std::ostringstream&>(JEEP::getOstream() << A << std::flush)).str() 
  136 #define MAKE_CSTRING(A) JEEP::getCString(MAKE_STRING(A)) 
General puprpose classes and methods.
 
std::ostream & getOstream()
Get output stream for conversion to std::string.
 
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.
 
const char * getCString(const std::string &input)
Get output C-string.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary class for format STL containers.
 
std::ostream & operator<<(const T &value)
Write value to output stream.
 
JStream(std::ostream &out)
Constructor.
 
Auxiliary data structure for streaming of STL containers.
 
JEEPZ()
Default constructor.
 
friend JStream operator<<(std::ostream &out, const JEEPZ &format)
Format specifier.