1 #ifndef __JEEP__JPRINT__
2 #define __JEEP__JPRINT__
19 namespace JPP {
using namespace JEEP; }
33 static std::ostringstream 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))
friend JStream operator<<(std::ostream &out, const JEEPZ &format)
Format specifier.
const char * getCString(const std::string &input)
Get output C-string.
std::ostream & getOstream()
Get output stream for conversion to std::string.
JEEPZ()
Default constructor.
std::ostream & operator<<(const T &value)
Write value to output stream.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Auxiliary data structure for streaming of STL containers.
JStream(std::ostream &out)
Constructor.
Auxiliary class for format STL containers.
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.