1 #ifndef __JROOT__JCANVAS__
2 #define __JROOT__JCANVAS__
16 namespace JPP {
using namespace JROOT; }
67 if (pos != string::npos) {
69 istringstream(buffer.substr(0,pos)) >> cv.
x;
70 istringstream(buffer.substr(pos+1)) >> cv.
y;
JCanvas(const int __x, const int __y)
Constructor.
int y
number of pixels in Y
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
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.
static const char SEPARATOR
JCanvas()
Default constructor.
Exception for parsing value.
friend std::ostream & operator<<(std::ostream &out, const JCanvas &cv)
Write canvas to output stream.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
int x
number of pixels in X
Data structure for size of TCanvas.