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); }
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.
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 JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
Exception for parsing value.
friend std::ostream & operator<<(std::ostream &out, const JCanvas &cv)
Write canvas to output stream.
int x
number of pixels in X
Data structure for size of TCanvas.