OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfCscrnaTag.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: David Burken
8 //
9 // Description: CSCRNA tag class declaration.
10 //
11 // Corner Footprint TRE.
12 //
13 // See document STDI-0006-NCDRD Table 3.2-13 for more info.
14 //
15 //----------------------------------------------------------------------------
16 // $Id
17 
18 #ifndef ossimNitfCscrnaTag_HEADER
19 #define ossimNitfCscrnaTag_HEADER 1
21 
23 {
24 public:
27 
29  virtual ~ossimNitfCscrnaTag();
30 
32  virtual void parseStream(std::istream& in);
33 
35  virtual void writeStream(std::ostream& out);
36 
38  virtual void clearFields();
39 
46  virtual std::ostream& print(std::ostream& out,
47  const std::string& prefix) const;
48 
49 protected:
50 
51  //---
52  // NOTE: Spec says corner points are project from image plane to
53  // reference ellipsoid NOT ellipsoid + height.
54  //---
55 
63  char thePredictedCornerFlag[2];
64 
72  char theUlLat[10];
73 
81  char theUlLon[11];
82 
92  char theUlHt[9];
93 
101  char theUrLat[10];
102 
110  char theUrLon[11];
111 
121  char theUrHt[9];
122 
130  char theLrLat[10];
131 
139  char theLrLon[11];
140 
150  char theLrHt[9];
151 
159  char theLlLat[10];
160 
168  char theLlLon[11];
169 
179  char theLlHt[9];
180 
181 TYPE_DATA
182 };
183 
184 #endif /* matches #ifndef ossimNitfCscrnaTag_HEADER */
virtual void writeStream(ossim::ostream &out)=0
virtual void parseStream(ossim::istream &in)=0
This will allow the user defined data to parse the stream.
virtual std::ostream & print(std::ostream &out, const std::string &prefix=std::string()) const
Pure virtual print method that outputs a key/value type format adding prefix to keys.
#define TYPE_DATA
Definition: ossimRtti.h:339
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
#define OSSIM_DLL
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23