1 #ifndef __JROOT__JCANVAS__ 
    2 #define __JROOT__JCANVAS__ 
   16 namespace JPP { 
using namespace JROOT; }
 
   67       if (pos != string::npos) {
 
   69         if (!(istringstream(buffer.substr(0,pos)) >> cv.
x)) { in.setstate(ios::badbit); }
 
   70         if (!(istringstream(buffer.substr(pos+1)) >> cv.
y)) { in.setstate(ios::badbit); }
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
Exception for parsing value.
 
Data structure for size of TCanvas.
 
JCanvas(const int __x, const int __y)
Constructor.
 
int y
number of pixels in Y
 
friend std::ostream & operator<<(std::ostream &out, const JCanvas &cv)
Write canvas to output stream.
 
static const char SEPARATOR
 
JCanvas()
Default constructor.
 
int x
number of pixels in X
 
friend std::istream & operator>>(std::istream &in, JCanvas &cv)
Read canvas from input stream.
 
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary classes and methods for ROOT I/O.