Data structure for size of TCanvas.
More...
#include <JCanvas.hh>
Data structure for size of TCanvas.
Definition at line 26 of file JCanvas.hh.
JGIZMO::JCanvas::JCanvas |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 31 of file JCanvas.hh.
int y
number of pixels in Y
int x
number of pixels in X
JGIZMO::JCanvas::JCanvas |
( |
const int |
__x, |
|
|
const int |
__y |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
Definition at line 43 of file JCanvas.hh.
int y
number of pixels in Y
int x
number of pixels in X
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JCanvas & |
cv |
|
) |
| |
|
friend |
Read canvas from input stream.
- Parameters
-
- Returns
- input stream
Definition at line 57 of file JCanvas.hh.
67 if (pos != string::npos) {
69 istringstream(buffer.substr(0,pos)) >> cv.
x;
70 istringstream(buffer.substr(pos+1)) >> cv.
y;
74 throw JParseError(
"JRootObjectID error parsing " + buffer);
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
int y
number of pixels in Y
int x
number of pixels in X
static const char SEPARATOR
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JCanvas & |
cv |
|
) |
| |
|
friend |
Write canvas to output stream.
- Parameters
-
out | output stream |
cv | canvas |
- Returns
- output stream
Definition at line 88 of file JCanvas.hh.
int y
number of pixels in Y
int x
number of pixels in X
static const char SEPARATOR
const char JGIZMO::JCanvas::SEPARATOR = 'x' |
|
static |
number of pixels in X
Definition at line 98 of file JCanvas.hh.
number of pixels in Y
Definition at line 99 of file JCanvas.hh.
The documentation for this class was generated from the following file: