1 #ifndef __JEEP__JPRINT__ 
    2 #define __JEEP__JPRINT__ 
   16 namespace JPP { 
using namespace JEEP; }
 
   30     static std::ostringstream buffer;
 
   48     static std::string buffer;
 
   52     return buffer.c_str();
 
   63 #define MAKE_STRING(A) (static_cast<std::ostringstream&>(JEEP::getOstream() << A << std::flush)).str() 
   72 #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.
 
const char * getCString(const std::string &input)
Get output C-string.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).