OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfCsproaTag.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 // Description: CSCCGA tag class definition
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
12 
14 {
15 public:
16  enum{
17  RESERVE1_SIZE = 12,
18  RESERVE2_SIZE = 12,
19  RESERVE3_SIZE = 12,
20  RESERVE4_SIZE = 12,
21  RESERVE5_SIZE = 12,
22  RESERVE6_SIZE = 12,
23  RESERVE7_SIZE = 12,
24  RESERVE8_SIZE = 12,
25  RESERVE9_SIZE = 12,
26  BWC_SIZE = 12
27  };
28 
30 
31  virtual void parseStream(std::istream& in);
32  virtual void writeStream(std::ostream& out);
33 
34  virtual std::ostream& print(std::ostream& out,
35  const std::string& prefix=std::string()) const;
36  virtual void clearFields();
37 
38 protected:
39  char m_reserved1[RESERVE1_SIZE+1];
40  char m_reserved2[RESERVE1_SIZE+1];
41  char m_reserved3[RESERVE1_SIZE+1];
42  char m_reserved4[RESERVE1_SIZE+1];
43  char m_reserved5[RESERVE1_SIZE+1];
44  char m_reserved6[RESERVE1_SIZE+1];
45  char m_reserved7[RESERVE1_SIZE+1];
46  char m_reserved8[RESERVE1_SIZE+1];
47  char m_reserved9[RESERVE1_SIZE+1];
48  char m_bwc[BWC_SIZE+1];
49 };
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.
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