1 #ifndef __JUTM__JUTMGRID__
2 #define __JUTM__JUTMGRID__
19 namespace JPP {
using namespace JUTM; }
54 const std::string&
wgs,
55 const std::string&
zone)
117 std::istringstream
is(buffer);
135 return in >> grid.
key >> grid.
wgs >> grid.
zone;
148 return out << grid.
key <<
' ' << grid.
wgs <<
' ' << grid.
zone;
163 return in >> grid.
key >> grid.
wgs >> grid.
zone;
178 return out << grid.
key << grid.
wgs << grid.
zone;
Interface for binary output.
friend JWriter & operator<<(JWriter &out, const JUTMGrid &grid)
Write UTM grid to output.
const std::string & getWGS() const
Get WGS.
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
std::string toString() const
Convert UTM grid.
const std::string & getKey() const
Get key.
friend std::istream & operator>>(std::istream &in, JUTMGrid &grid)
Read UTM grid from input.
JUTMGrid()
Default constructor.
friend std::ostream & operator<<(std::ostream &out, const JUTMGrid &grid)
Write UTM grid to output.
Interface for binary input.
Data structure for UTM grid.
static JUTMGrid valueOf(const std::string &buffer)
Extract UTM grid.
friend JReader & operator>>(JReader &in, JUTMGrid &grid)
Read UTM grid from input.
Exception for parsing value.
const std::string & getUTMZone() const
Get UTM zone.
STD extensions for binary I/O.
JUTMGrid(const std::string &key, const std::string &wgs, const std::string &zone)
Constructor.