OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfCsdidaTag.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: CSDIDA tag class declaration.
10 //
11 // Dataset Indentification TRE.
12 //
13 // See document STDI-0006-NCDRD Table 3.3-14 for more info.
14 //
15 //----------------------------------------------------------------------------
16 // $Id
17 
18 #ifndef ossimNitfCsdidaTag_HEADER
19 #define ossimNitfCsdidaTag_HEADER 1
21 
23 {
24 public:
27 
29  virtual ~ossimNitfCsdidaTag();
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 
58  char theDay[3];
59 
67  char theMonth[4];
68 
69 
77  char theYear[5];
78 
86  char thePlatformCode[3];
87 
95  char theVehicleId[3];
96 
104  char thePass[3];
105 
113  char theOperation[4];
114 
123  char theSensorId[3];
124 
132  char theProductId[3];
133 
141  char theReservedField1[5];
142 
151  char theTime[15];
152 
160  char theProcessTime[15];
161 
168  char theReservedField2[3];
169 
177  char theReservedField3[3];
178 
186  char theReservedField4[1];
187 
195  char theReservedField5[1];
196 
204  char theSoftwareVersionNumber[11];
205 
206 TYPE_DATA
207 };
208 
209 #endif /* matches #ifndef ossimNitfCsdidaTag_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