OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfTextHeaderV2_0.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: See top level LICENSE.txt file.
5 //
6 // Author: Garrett Potts
7 //
8 // Description: Nitf support class
9 //
10 //********************************************************************
11 // $Id: ossimNitfTextHeaderV2_0.h 9094 2006-06-13 19:12:40Z dburken $
12 
13 #ifndef ossimNitfTextHeaderV2_0_HEADER
14 #define ossimNitfTextHeaderV2_0_HEADER
16 
18 {
19 public:
22 
23  virtual void parseStream(std::istream &in);
24  virtual std::ostream& print(std::ostream &out)const;
25 
27 private:
28  void clearFields();
29 
34  char theFilePartType[3];
35 
39  char theTextId[11];
40 
55  char theDataAndTime[15];
56 
60  char theTextTitle[81];
61 
72  char theTextSecurityClassification[2];
73 
77  char theTextCodewords[41];
78 
82  char theTextControlAndHandling[41];
83 
87  char theTextReleasingInstructions[41];
88 
92  char theTextClassificationAuthority[21];
93 
97  char theTextSecurityControlNumber[21];
98 
102  char theTextSecurityDowngrade[7];
103 
104  /*
105  * This is a conditional 40 byte field. if
106  * theSecurityDowngrade = 999998 then this field
107  * exists.
108  */
109  char theTextSecurityDowngradeEvent[41];
110 
118  char theTextEncyption[2];
119 
129  char theTextFormat[4];
130 
134  char theExtSubheaderDataLength[6];
135 
140  char theExtSubheaderOverflow[4];
141 };
142 
143 #endif
#define OSSIMDLLEXPORT
virtual std::ostream & print(std::ostream &out) const
Generic print method.
#define TYPE_DATA
Definition: ossimRtti.h:339
virtual void parseStream(std::istream &in)=0
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23