OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfCsccgaTag.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // Author: Garrett Potts
6 //
7 // Description: CSCCGA tag class definition
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
13 
28 {
29 public:
30  enum
31  {
32  CCG_SOURCE_SIZE = 18,
33  REG_SENSOR_SIZE = 6,
34  ORIGIN_LINE_SIZE = 7,
35  ORIGIN_SAMPLE_SIZE = 5,
36  AS_CELL_SIZE_SIZE = 7,
37  CS_CELL_SIZE_SIZE = 5,
38  CCG_MAX_LINE_SIZE = 7,
39  CCG_MAX_SAMPLE_SIZE= 5,
40  CEL_SIZE = 60
41 
42  };
44 
45  virtual void parseStream(ossim::istream& in);
46  virtual void writeStream(ossim::ostream& out);
47 
48  virtual std::ostream& print(std::ostream& out,
49  const std::string& prefix=std::string()) const;
50  virtual void clearFields();
51 
52 protected:
63  char m_ccgSource[CCG_SOURCE_SIZE+1];
64 
75  char m_regSensor[REG_SENSOR_SIZE+1];
76 
87  char m_originLine[ORIGIN_LINE_SIZE+1];
88 
99  char m_originSample[ORIGIN_SAMPLE_SIZE+1];
100 
111  char m_asCellSize[AS_CELL_SIZE_SIZE+1];
112 
123  char m_csCellSize[CS_CELL_SIZE_SIZE+1];
124 
134  char m_ccgMaxLine[CCG_MAX_LINE_SIZE+1];
135 
145  char m_ccgMaxSample[CCG_MAX_SAMPLE_SIZE+1];
146 };
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
All comments in this document were taken from the online resource found at:
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23