OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNitfRsmpiaTag.h
Go to the documentation of this file.
1 //---
2 // File: ossimNitfRsmpiaTag.h
3 //---
4 #ifndef ossimNitfRsmpiaTag_HEADER
5 #define ossimNitfRsmpiaTag_HEADER 1
6 
8 
10 {
11 public:
12  enum
13  {
14  IID_SIZE = 80,
15  EDITION_SIZE = 40,
16  FLOAT21_SIZE = 21,
17  NIS_SIZE = 3,
18  CEL_SIZE = 591
19  };
20 
22 
27  virtual void parseStream(std::istream& in);
28 
33  virtual void writeStream(std::ostream& out);
34 
38  virtual void clearFields();
39 
45  virtual std::ostream& print( std::ostream& out,
46  const std::string& prefix=std::string() ) const;
47 
48  ossimString getIid() const;
49  ossimString getEdition() const;
50  ossimString getR0() const;
51  ossimString getRx() const;
52  ossimString getRy() const;
53  ossimString getRz() const;
54  ossimString getRxx() const;
55  ossimString getRxy() const;
56  ossimString getRxz() const;
57  ossimString getRyy() const;
58  ossimString getRyz() const;
59  ossimString getRzz() const;
60  ossimString getC0() const;
61  ossimString getCx() const;
62  ossimString getCy() const;
63  ossimString getCz() const;
64  ossimString getCxx() const;
65  ossimString getCxy() const;
66  ossimString getCxz() const;
67  ossimString getCyy() const;
68  ossimString getCyz() const;
69  ossimString getCzz() const;
70  ossimString getRnis() const;
71  ossimString getCnis() const;
72  ossimString getTnis() const;
73  ossimString getRssiz() const;
74  ossimString getCssiz() const;
75 
76 protected:
77  char m_iid[IID_SIZE+1];
78  char m_edition[EDITION_SIZE+1];
79  char m_r0[FLOAT21_SIZE+1];
80  char m_rx[FLOAT21_SIZE+1];
81  char m_ry[FLOAT21_SIZE+1];
82  char m_rz[FLOAT21_SIZE+1];
83  char m_rxx[FLOAT21_SIZE+1];
84  char m_rxy[FLOAT21_SIZE+1];
85  char m_rxz[FLOAT21_SIZE+1];
86  char m_ryy[FLOAT21_SIZE+1];
87  char m_ryz[FLOAT21_SIZE+1];
88  char m_rzz[FLOAT21_SIZE+1];
89  char m_c0[FLOAT21_SIZE+1];
90  char m_cx[FLOAT21_SIZE+1];
91  char m_cy[FLOAT21_SIZE+1];
92  char m_cz[FLOAT21_SIZE+1];
93  char m_cxx[FLOAT21_SIZE+1];
94  char m_cxy[FLOAT21_SIZE+1];
95  char m_cxz[FLOAT21_SIZE+1];
96  char m_cyy[FLOAT21_SIZE+1];
97  char m_cyz[FLOAT21_SIZE+1];
98  char m_czz[FLOAT21_SIZE+1];
99  char m_rnis[NIS_SIZE+1];
100  char m_cnis[NIS_SIZE+1];
101  char m_tnis[NIS_SIZE+1];
102  char m_rssiz[FLOAT21_SIZE+1];
103  char m_cssiz[FLOAT21_SIZE+1];
104 
105 TYPE_DATA
106 
107 }; // End: class ossimNitfRsmpiaTag
108 
109 #endif /* #ifndef ossimNitfRsmpiaTag_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