OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfGeoPositioningTag.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: Garrett Potts
8 //
9 // Description: Nitf support class
10 //
11 // Documentation reference:
12 // DIGEST Part 2 Annex D - Appendix 1, Table D1-3
13 //
14 //********************************************************************
15 // $Id: ossimNitfGeoPositioningTag.h 22013 2012-12-19 17:37:20Z dburken $
16 //
17 #ifndef ossimNitfGeoPositioningTag_HEADER
18 #define ossimNitfGeoPositioningTag_HEADER 1
20 
22 {
23 public:
25  virtual ~ossimNitfGeoPositioningTag();
26 
27  virtual void parseStream(std::istream& in);
28  virtual void writeStream(std::ostream& out);
29 
30  virtual void clearFields();
31 
38  virtual std::ostream& print(std::ostream& out,
39  const std::string& prefix=std::string()) const;
40 
41 protected:
61  char theType[4];
62 
76  char theCoordinateUnits[4];
77 
78 
91  char theGeodeticDatumName[81];
92 
102  char theGeodeticDatumCode[5];
103 
115  char theEllipsoidName[81];
116 
127  char theEllipsoidCode[4];
128 
138  char theVerticalDatumReference[81];
139 
151  char theVerticalReferenceCode[5];
152 
163  char theSoundingDatumName[81];
164 
175  char theSoundingDatumCode[5];
176 
189  char theZFalseOrigin[16];
190 
200  char theGridCode[4];
201 
211  char theGridDescription[81];
212 
223  char theGridZoneNumber[5];
224 
225 
226 TYPE_DATA
227 };
228 
229 #endif
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