OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | Protected Attributes | List of all members
ossimNitfRsmpiaTag Class Reference

#include <ossimNitfRsmpiaTag.h>

Inheritance diagram for ossimNitfRsmpiaTag:
ossimNitfRegisteredTag ossimObject ossimPropertyInterface ossimReferenced

Public Types

enum  {
  IID_SIZE = 80, EDITION_SIZE = 40, FLOAT21_SIZE = 21, NIS_SIZE = 3,
  CEL_SIZE = 591
}
 

Public Member Functions

 ossimNitfRsmpiaTag ()
 
virtual void parseStream (std::istream &in)
 Reads in tag from stream. More...
 
virtual void writeStream (std::ostream &out)
 Writes out tag to stream. More...
 
virtual void clearFields ()
 Memsets fields to space. More...
 
virtual std::ostream & print (std::ostream &out, const std::string &prefix=std::string()) const
 prints all fields. More...
 
ossimString getIid () const
 
ossimString getEdition () const
 
ossimString getR0 () const
 
ossimString getRx () const
 
ossimString getRy () const
 
ossimString getRz () const
 
ossimString getRxx () const
 
ossimString getRxy () const
 
ossimString getRxz () const
 
ossimString getRyy () const
 
ossimString getRyz () const
 
ossimString getRzz () const
 
ossimString getC0 () const
 
ossimString getCx () const
 
ossimString getCy () const
 
ossimString getCz () const
 
ossimString getCxx () const
 
ossimString getCxy () const
 
ossimString getCxz () const
 
ossimString getCyy () const
 
ossimString getCyz () const
 
ossimString getCzz () const
 
ossimString getRnis () const
 
ossimString getCnis () const
 
ossimString getTnis () const
 
ossimString getRssiz () const
 
ossimString getCssiz () const
 
- Public Member Functions inherited from ossimNitfRegisteredTag
 ossimNitfRegisteredTag ()
 default constructor More...
 
 ossimNitfRegisteredTag (const std::string &tagName, ossim_uint32 tagLength)
 Constructor that takes name and size. More...
 
virtual ~ossimNitfRegisteredTag ()
 destructor More...
 
virtual std::string getRegisterTagName () const
 This will return the name of the registered tag for this user defined header. More...
 
virtual const std::string & getTagName () const
 This will return the name of the registered tag for this user defined header. More...
 
virtual void setTagName (const std::string &tagName)
 
virtual ossim_uint32 getSizeInBytes () const
 Returns the length in bytes of the tag from the CEL or REL field. More...
 
virtual ossim_uint32 getTagLength () const
 Returns the length in bytes of the tag from the CEL or REL field. More...
 
virtual void setTagLength (ossim_uint32 length)
 Set the tag length. More...
 
virtual void parseStream (ossim::istream &in)=0
 This will allow the user defined data to parse the stream. More...
 
virtual void writeStream (ossim::ostream &out)=0
 
virtual void setProperty (ossimRefPtr< ossimProperty > property)
 
virtual ossimRefPtr< ossimPropertygetProperty (const ossimString &name) const
 
virtual void getPropertyNames (std::vector< ossimString > &propertyNames) const
 
virtual void getMetadata (ossimKeywordlist &kwl, const char *prefix=0) const
 Default interface to populate keyword list with metadata. More...
 
virtual bool saveState (ossimKeywordlist &kwl, const ossimString &prefix) const
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () const
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual ossimString getDescription () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 
virtual std::ostream & print (std::ostream &out) const
 Generic print method. More...
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
virtual void accept (ossimVisitor &visitor)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 
- Public Member Functions inherited from ossimPropertyInterface
 ossimPropertyInterface ()
 
virtual ~ossimPropertyInterface ()
 
virtual void setProperty (const ossimString &name, const ossimString &value)
 
virtual ossimString getPropertyValueAsString (const ossimString &name) const
 
void getPropertyList (std::vector< ossimRefPtr< ossimProperty > > &propertyList) const
 
void setProperties (std::vector< ossimRefPtr< ossimProperty > > &propertyList)
 

Protected Attributes

char m_iid [IID_SIZE+1]
 
char m_edition [EDITION_SIZE+1]
 
char m_r0 [FLOAT21_SIZE+1]
 
char m_rx [FLOAT21_SIZE+1]
 
char m_ry [FLOAT21_SIZE+1]
 
char m_rz [FLOAT21_SIZE+1]
 
char m_rxx [FLOAT21_SIZE+1]
 
char m_rxy [FLOAT21_SIZE+1]
 
char m_rxz [FLOAT21_SIZE+1]
 
char m_ryy [FLOAT21_SIZE+1]
 
char m_ryz [FLOAT21_SIZE+1]
 
char m_rzz [FLOAT21_SIZE+1]
 
char m_c0 [FLOAT21_SIZE+1]
 
char m_cx [FLOAT21_SIZE+1]
 
char m_cy [FLOAT21_SIZE+1]
 
char m_cz [FLOAT21_SIZE+1]
 
char m_cxx [FLOAT21_SIZE+1]
 
char m_cxy [FLOAT21_SIZE+1]
 
char m_cxz [FLOAT21_SIZE+1]
 
char m_cyy [FLOAT21_SIZE+1]
 
char m_cyz [FLOAT21_SIZE+1]
 
char m_czz [FLOAT21_SIZE+1]
 
char m_rnis [NIS_SIZE+1]
 
char m_cnis [NIS_SIZE+1]
 
char m_tnis [NIS_SIZE+1]
 
char m_rssiz [FLOAT21_SIZE+1]
 
char m_cssiz [FLOAT21_SIZE+1]
 
- Protected Attributes inherited from ossimNitfRegisteredTag
std::string m_tagName
 
ossim_uint32 m_tagLength
 

Additional Inherited Members

- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 

Detailed Description

Definition at line 9 of file ossimNitfRsmpiaTag.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IID_SIZE 
EDITION_SIZE 
FLOAT21_SIZE 
NIS_SIZE 
CEL_SIZE 

Definition at line 12 of file ossimNitfRsmpiaTag.h.

Constructor & Destructor Documentation

◆ ossimNitfRsmpiaTag()

ossimNitfRsmpiaTag::ossimNitfRsmpiaTag ( )

Definition at line 12 of file ossimNitfRsmpiaTag.cpp.

References clearFields().

13  :
14  ossimNitfRegisteredTag(std::string("RSMPIA"), CEL_SIZE),
15  m_iid(),
16  m_edition(),
17  m_r0(),
18  m_rx(),
19  m_ry(),
20  m_rz(),
21  m_rxx(),
22  m_rxy(),
23  m_rxz(),
24  m_ryy(),
25  m_ryz(),
26  m_rzz(),
27  m_c0(),
28  m_cx(),
29  m_cy(),
30  m_cz(),
31  m_cxx(),
32  m_cxy(),
33  m_cxz(),
34  m_cyy(),
35  m_cyz(),
36  m_czz(),
37  m_rnis(),
38  m_cnis(),
39  m_tnis(),
40  m_rssiz(),
41  m_cssiz()
42 {
43  clearFields();
44 }
char m_cyz[FLOAT21_SIZE+1]
char m_rnis[NIS_SIZE+1]
char m_r0[FLOAT21_SIZE+1]
char m_cssiz[FLOAT21_SIZE+1]
char m_cnis[NIS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rzz[FLOAT21_SIZE+1]
char m_czz[FLOAT21_SIZE+1]
char m_cy[FLOAT21_SIZE+1]
char m_cz[FLOAT21_SIZE+1]
char m_rxy[FLOAT21_SIZE+1]
char m_rssiz[FLOAT21_SIZE+1]
char m_cxz[FLOAT21_SIZE+1]
char m_c0[FLOAT21_SIZE+1]
char m_rz[FLOAT21_SIZE+1]
ossimNitfRegisteredTag()
default constructor
char m_tnis[NIS_SIZE+1]
char m_cyy[FLOAT21_SIZE+1]
char m_cxy[FLOAT21_SIZE+1]
char m_cx[FLOAT21_SIZE+1]
char m_ryz[FLOAT21_SIZE+1]
virtual void clearFields()
Memsets fields to space.
char m_edition[EDITION_SIZE+1]
char m_rxx[FLOAT21_SIZE+1]
char m_ry[FLOAT21_SIZE+1]
char m_rxz[FLOAT21_SIZE+1]
char m_ryy[FLOAT21_SIZE+1]
char m_rx[FLOAT21_SIZE+1]
char m_cxx[FLOAT21_SIZE+1]

Member Function Documentation

◆ clearFields()

void ossimNitfRsmpiaTag::clearFields ( )
virtual

Memsets fields to space.

Null terminates fields.

Definition at line 148 of file ossimNitfRsmpiaTag.cpp.

References EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_c0, m_cnis, m_cssiz, m_cx, m_cxx, m_cxy, m_cxz, m_cy, m_cyy, m_cyz, m_cz, m_czz, m_edition, m_iid, m_r0, m_rnis, m_rssiz, m_rx, m_rxx, m_rxy, m_rxz, m_ry, m_ryy, m_ryz, m_rz, m_rzz, m_tnis, and NIS_SIZE.

Referenced by ossimNitfRsmpiaTag().

149 {
150  memset(m_iid,' ', IID_SIZE);
151  memset(m_edition, ' ', EDITION_SIZE);
152  memset(m_r0, ' ', FLOAT21_SIZE);
153  memset(m_rx, ' ', FLOAT21_SIZE);
154  memset(m_ry, ' ', FLOAT21_SIZE);
155  memset(m_rz, ' ', FLOAT21_SIZE);
156  memset(m_rxx, ' ', FLOAT21_SIZE);
157  memset(m_rxy, ' ', FLOAT21_SIZE);
158  memset(m_rxz, ' ', FLOAT21_SIZE);
159  memset(m_ryy, ' ', FLOAT21_SIZE);
160  memset(m_ryz, ' ', FLOAT21_SIZE);
161  memset(m_rzz, ' ', FLOAT21_SIZE);
162  memset(m_c0, ' ', FLOAT21_SIZE);
163  memset(m_cx, ' ', FLOAT21_SIZE);
164  memset(m_cy, ' ', FLOAT21_SIZE);
165  memset(m_cz, ' ', FLOAT21_SIZE);
166  memset(m_cxx, ' ', FLOAT21_SIZE);
167  memset(m_cxy, ' ', FLOAT21_SIZE);
168  memset(m_cxz, ' ', FLOAT21_SIZE);
169  memset(m_cyy, ' ', FLOAT21_SIZE);
170  memset(m_cyz, ' ', FLOAT21_SIZE);
171  memset(m_czz, ' ', FLOAT21_SIZE);
172  memset(m_rnis, ' ', NIS_SIZE);
173  memset(m_cnis, ' ', NIS_SIZE);
174  memset(m_tnis, ' ', NIS_SIZE);
175  memset(m_rssiz, ' ', FLOAT21_SIZE);
176  memset(m_cssiz, ' ', FLOAT21_SIZE);
177 
178  m_iid[IID_SIZE] = '\0';
179  m_edition[EDITION_SIZE] = '\0';
180  m_r0[FLOAT21_SIZE] = '\0';
181  m_rx[FLOAT21_SIZE] = '\0';
182  m_ry[FLOAT21_SIZE] = '\0';
183  m_rz[FLOAT21_SIZE] = '\0';
184  m_rxx[FLOAT21_SIZE] = '\0';
185  m_rxy[FLOAT21_SIZE] = '\0';
186  m_rxz[FLOAT21_SIZE] = '\0';
187  m_ryy[FLOAT21_SIZE] = '\0';
188  m_ryz[FLOAT21_SIZE] = '\0';
189  m_rzz[FLOAT21_SIZE] = '\0';
190  m_c0[FLOAT21_SIZE] = '\0';
191  m_cx[FLOAT21_SIZE] = '\0';
192  m_cy[FLOAT21_SIZE] = '\0';
193  m_cz[FLOAT21_SIZE] = '\0';
194  m_cxx[FLOAT21_SIZE] = '\0';
195  m_cxy[FLOAT21_SIZE] = '\0';
196  m_cxz[FLOAT21_SIZE] = '\0';
197  m_cyy[FLOAT21_SIZE] = '\0';
198  m_cyz[FLOAT21_SIZE] = '\0';
199  m_czz[FLOAT21_SIZE] = '\0';
200  m_rnis[NIS_SIZE] = '\0';
201  m_cnis[NIS_SIZE] = '\0';
202  m_tnis[NIS_SIZE] = '\0';
203  m_rssiz[FLOAT21_SIZE] = '\0';
204  m_cssiz[FLOAT21_SIZE] = '\0';
205 }
char m_cyz[FLOAT21_SIZE+1]
char m_rnis[NIS_SIZE+1]
char m_r0[FLOAT21_SIZE+1]
char m_cssiz[FLOAT21_SIZE+1]
char m_cnis[NIS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rzz[FLOAT21_SIZE+1]
char m_czz[FLOAT21_SIZE+1]
char m_cy[FLOAT21_SIZE+1]
char m_cz[FLOAT21_SIZE+1]
char m_rxy[FLOAT21_SIZE+1]
char m_rssiz[FLOAT21_SIZE+1]
char m_cxz[FLOAT21_SIZE+1]
char m_c0[FLOAT21_SIZE+1]
char m_rz[FLOAT21_SIZE+1]
char m_tnis[NIS_SIZE+1]
char m_cyy[FLOAT21_SIZE+1]
char m_cxy[FLOAT21_SIZE+1]
char m_cx[FLOAT21_SIZE+1]
char m_ryz[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
char m_rxx[FLOAT21_SIZE+1]
char m_ry[FLOAT21_SIZE+1]
char m_rxz[FLOAT21_SIZE+1]
char m_ryy[FLOAT21_SIZE+1]
char m_rx[FLOAT21_SIZE+1]
char m_cxx[FLOAT21_SIZE+1]

◆ getC0()

ossimString ossimNitfRsmpiaTag::getC0 ( ) const

Definition at line 268 of file ossimNitfRsmpiaTag.cpp.

References m_c0.

Referenced by ossimRsmpia::initialize().

269 {
270  return ossimString(m_c0);
271 }
char m_c0[FLOAT21_SIZE+1]

◆ getCnis()

ossimString ossimNitfRsmpiaTag::getCnis ( ) const

Definition at line 323 of file ossimNitfRsmpiaTag.cpp.

References m_cnis.

Referenced by ossimRsmpia::initialize().

324 {
325  return ossimString(m_cnis);
326 }
char m_cnis[NIS_SIZE+1]

◆ getCssiz()

ossimString ossimNitfRsmpiaTag::getCssiz ( ) const

Definition at line 338 of file ossimNitfRsmpiaTag.cpp.

References m_cssiz.

Referenced by ossimRsmpia::initialize().

339 {
340  return ossimString(m_cssiz);
341 }
char m_cssiz[FLOAT21_SIZE+1]

◆ getCx()

ossimString ossimNitfRsmpiaTag::getCx ( ) const

Definition at line 273 of file ossimNitfRsmpiaTag.cpp.

References m_cx.

Referenced by ossimRsmpia::initialize().

274 {
275  return ossimString(m_cx);
276 }
char m_cx[FLOAT21_SIZE+1]

◆ getCxx()

ossimString ossimNitfRsmpiaTag::getCxx ( ) const

Definition at line 288 of file ossimNitfRsmpiaTag.cpp.

References m_cxx.

Referenced by ossimRsmpia::initialize().

289 {
290  return ossimString(m_cxx);
291 }
char m_cxx[FLOAT21_SIZE+1]

◆ getCxy()

ossimString ossimNitfRsmpiaTag::getCxy ( ) const

Definition at line 293 of file ossimNitfRsmpiaTag.cpp.

References m_cxy.

Referenced by ossimRsmpia::initialize().

294 {
295  return ossimString(m_cxy);
296 }
char m_cxy[FLOAT21_SIZE+1]

◆ getCxz()

ossimString ossimNitfRsmpiaTag::getCxz ( ) const

Definition at line 298 of file ossimNitfRsmpiaTag.cpp.

References m_cxz.

Referenced by ossimRsmpia::initialize().

299 {
300  return ossimString(m_cxz);
301 }
char m_cxz[FLOAT21_SIZE+1]

◆ getCy()

ossimString ossimNitfRsmpiaTag::getCy ( ) const

Definition at line 278 of file ossimNitfRsmpiaTag.cpp.

References m_cy.

Referenced by ossimRsmpia::initialize().

279 {
280  return ossimString(m_cy);
281 }
char m_cy[FLOAT21_SIZE+1]

◆ getCyy()

ossimString ossimNitfRsmpiaTag::getCyy ( ) const

Definition at line 303 of file ossimNitfRsmpiaTag.cpp.

References m_cyy.

Referenced by ossimRsmpia::initialize().

304 {
305  return ossimString(m_cyy);
306 }
char m_cyy[FLOAT21_SIZE+1]

◆ getCyz()

ossimString ossimNitfRsmpiaTag::getCyz ( ) const

Definition at line 308 of file ossimNitfRsmpiaTag.cpp.

References m_cyz.

Referenced by ossimRsmpia::initialize().

309 {
310  return ossimString(m_cyz);
311 }
char m_cyz[FLOAT21_SIZE+1]

◆ getCz()

ossimString ossimNitfRsmpiaTag::getCz ( ) const

Definition at line 283 of file ossimNitfRsmpiaTag.cpp.

References m_cz.

Referenced by ossimRsmpia::initialize().

284 {
285  return ossimString(m_cz);
286 }
char m_cz[FLOAT21_SIZE+1]

◆ getCzz()

ossimString ossimNitfRsmpiaTag::getCzz ( ) const

Definition at line 313 of file ossimNitfRsmpiaTag.cpp.

References m_czz.

Referenced by ossimRsmpia::initialize().

314 {
315  return ossimString(m_czz);
316 }
char m_czz[FLOAT21_SIZE+1]

◆ getEdition()

ossimString ossimNitfRsmpiaTag::getEdition ( ) const

Definition at line 213 of file ossimNitfRsmpiaTag.cpp.

References m_edition.

Referenced by ossimRsmpia::initialize().

214 {
215  return ossimString(m_edition);
216 }
char m_edition[EDITION_SIZE+1]

◆ getIid()

ossimString ossimNitfRsmpiaTag::getIid ( ) const

Definition at line 208 of file ossimNitfRsmpiaTag.cpp.

References m_iid.

Referenced by ossimRsmpia::initialize().

209 {
210  return ossimString(m_iid);
211 }
char m_iid[IID_SIZE+1]

◆ getR0()

ossimString ossimNitfRsmpiaTag::getR0 ( ) const

Definition at line 218 of file ossimNitfRsmpiaTag.cpp.

References m_r0.

Referenced by ossimRsmpia::initialize().

219 {
220  return ossimString(m_r0);
221 }
char m_r0[FLOAT21_SIZE+1]

◆ getRnis()

ossimString ossimNitfRsmpiaTag::getRnis ( ) const

Definition at line 318 of file ossimNitfRsmpiaTag.cpp.

References m_rnis.

Referenced by ossimRsmpia::initialize().

319 {
320  return ossimString(m_rnis);
321 }
char m_rnis[NIS_SIZE+1]

◆ getRssiz()

ossimString ossimNitfRsmpiaTag::getRssiz ( ) const

Definition at line 333 of file ossimNitfRsmpiaTag.cpp.

References m_rssiz.

Referenced by ossimRsmpia::initialize().

334 {
335  return ossimString(m_rssiz);
336 }
char m_rssiz[FLOAT21_SIZE+1]

◆ getRx()

ossimString ossimNitfRsmpiaTag::getRx ( ) const

Definition at line 223 of file ossimNitfRsmpiaTag.cpp.

References m_rx.

Referenced by ossimRsmpia::initialize().

224 {
225  return ossimString(m_rx);
226 }
char m_rx[FLOAT21_SIZE+1]

◆ getRxx()

ossimString ossimNitfRsmpiaTag::getRxx ( ) const

Definition at line 238 of file ossimNitfRsmpiaTag.cpp.

References m_rxx.

Referenced by ossimRsmpia::initialize().

239 {
240  return ossimString(m_rxx);
241 }
char m_rxx[FLOAT21_SIZE+1]

◆ getRxy()

ossimString ossimNitfRsmpiaTag::getRxy ( ) const

Definition at line 243 of file ossimNitfRsmpiaTag.cpp.

References m_rxy.

Referenced by ossimRsmpia::initialize().

244 {
245  return ossimString(m_rxy);
246 }
char m_rxy[FLOAT21_SIZE+1]

◆ getRxz()

ossimString ossimNitfRsmpiaTag::getRxz ( ) const

Definition at line 248 of file ossimNitfRsmpiaTag.cpp.

References m_rxz.

Referenced by ossimRsmpia::initialize().

249 {
250  return ossimString(m_rxz);
251 }
char m_rxz[FLOAT21_SIZE+1]

◆ getRy()

ossimString ossimNitfRsmpiaTag::getRy ( ) const

Definition at line 228 of file ossimNitfRsmpiaTag.cpp.

References m_ry.

Referenced by ossimRsmpia::initialize().

229 {
230  return ossimString(m_ry);
231 }
char m_ry[FLOAT21_SIZE+1]

◆ getRyy()

ossimString ossimNitfRsmpiaTag::getRyy ( ) const

Definition at line 253 of file ossimNitfRsmpiaTag.cpp.

References m_ryy.

Referenced by ossimRsmpia::initialize().

254 {
255  return ossimString(m_ryy);
256 }
char m_ryy[FLOAT21_SIZE+1]

◆ getRyz()

ossimString ossimNitfRsmpiaTag::getRyz ( ) const

Definition at line 258 of file ossimNitfRsmpiaTag.cpp.

References m_ryz.

Referenced by ossimRsmpia::initialize().

259 {
260  return ossimString(m_ryz);
261 }
char m_ryz[FLOAT21_SIZE+1]

◆ getRz()

ossimString ossimNitfRsmpiaTag::getRz ( ) const

Definition at line 233 of file ossimNitfRsmpiaTag.cpp.

References m_rz.

Referenced by ossimRsmpia::initialize().

234 {
235  return ossimString(m_rz);
236 }
char m_rz[FLOAT21_SIZE+1]

◆ getRzz()

ossimString ossimNitfRsmpiaTag::getRzz ( ) const

Definition at line 263 of file ossimNitfRsmpiaTag.cpp.

References m_rzz.

Referenced by ossimRsmpia::initialize().

264 {
265  return ossimString(m_rzz);
266 }
char m_rzz[FLOAT21_SIZE+1]

◆ getTnis()

ossimString ossimNitfRsmpiaTag::getTnis ( ) const

Definition at line 328 of file ossimNitfRsmpiaTag.cpp.

References m_tnis.

Referenced by ossimRsmpia::initialize().

329 {
330  return ossimString(m_tnis);
331 }
char m_tnis[NIS_SIZE+1]

◆ parseStream()

void ossimNitfRsmpiaTag::parseStream ( std::istream &  in)
virtual

Reads in tag from stream.

Parameters
in

Definition at line 46 of file ossimNitfRsmpiaTag.cpp.

References EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_c0, m_cnis, m_cssiz, m_cx, m_cxx, m_cxy, m_cxz, m_cy, m_cyy, m_cyz, m_cz, m_czz, m_edition, m_iid, m_r0, m_rnis, m_rssiz, m_rx, m_rxx, m_rxy, m_rxz, m_ry, m_ryy, m_ryz, m_rz, m_rzz, m_tnis, and NIS_SIZE.

47 {
48  in.read(m_iid, IID_SIZE);
49  in.read(m_edition, EDITION_SIZE);
50  in.read(m_r0, FLOAT21_SIZE);
51  in.read(m_rx, FLOAT21_SIZE);
52  in.read(m_ry, FLOAT21_SIZE);
53  in.read(m_rz, FLOAT21_SIZE);
54  in.read(m_rxx, FLOAT21_SIZE);
55  in.read(m_rxy, FLOAT21_SIZE);
56  in.read(m_rxz, FLOAT21_SIZE);
57  in.read(m_ryy, FLOAT21_SIZE);
58  in.read(m_ryz, FLOAT21_SIZE);
59  in.read(m_rzz, FLOAT21_SIZE);
60  in.read(m_c0, FLOAT21_SIZE);
61  in.read(m_cx, FLOAT21_SIZE);
62  in.read(m_cy, FLOAT21_SIZE);
63  in.read(m_cz, FLOAT21_SIZE);
64  in.read(m_cxx, FLOAT21_SIZE);
65  in.read(m_cxy, FLOAT21_SIZE);
66  in.read(m_cxz, FLOAT21_SIZE);
67  in.read(m_cyy, FLOAT21_SIZE);
68  in.read(m_cyz, FLOAT21_SIZE);
69  in.read(m_czz, FLOAT21_SIZE);
70  in.read(m_rnis, NIS_SIZE);
71  in.read(m_cnis, NIS_SIZE);
72  in.read(m_tnis, NIS_SIZE);
73  in.read(m_rssiz, FLOAT21_SIZE);
74  in.read(m_cssiz, FLOAT21_SIZE);
75 }
char m_cyz[FLOAT21_SIZE+1]
char m_rnis[NIS_SIZE+1]
char m_r0[FLOAT21_SIZE+1]
char m_cssiz[FLOAT21_SIZE+1]
char m_cnis[NIS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rzz[FLOAT21_SIZE+1]
char m_czz[FLOAT21_SIZE+1]
char m_cy[FLOAT21_SIZE+1]
char m_cz[FLOAT21_SIZE+1]
char m_rxy[FLOAT21_SIZE+1]
char m_rssiz[FLOAT21_SIZE+1]
char m_cxz[FLOAT21_SIZE+1]
char m_c0[FLOAT21_SIZE+1]
char m_rz[FLOAT21_SIZE+1]
char m_tnis[NIS_SIZE+1]
char m_cyy[FLOAT21_SIZE+1]
char m_cxy[FLOAT21_SIZE+1]
char m_cx[FLOAT21_SIZE+1]
char m_ryz[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
char m_rxx[FLOAT21_SIZE+1]
char m_ry[FLOAT21_SIZE+1]
char m_rxz[FLOAT21_SIZE+1]
char m_ryy[FLOAT21_SIZE+1]
char m_rx[FLOAT21_SIZE+1]
char m_cxx[FLOAT21_SIZE+1]

◆ print()

std::ostream & ossimNitfRsmpiaTag::print ( std::ostream &  out,
const std::string &  prefix = std::string() 
) const
virtual

prints all fields.

Parameters
outOutput stream.
prefixe.g. "nitf.image0.".

Reimplemented from ossimNitfRegisteredTag.

Definition at line 108 of file ossimNitfRsmpiaTag.cpp.

References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), m_c0, m_cnis, m_cssiz, m_cx, m_cxx, m_cxy, m_cxz, m_cy, m_cyy, m_cyz, m_cz, m_czz, m_edition, m_iid, m_r0, m_rnis, m_rssiz, m_rx, m_rxx, m_rxy, m_rxz, m_ry, m_ryy, m_ryz, m_rz, m_rzz, and m_tnis.

110 {
111  std::string pfx = prefix;
112  pfx += getTagName();
113  pfx += ".";
114  out << setiosflags(ios::left)
115  << pfx << std::setw(24) << "CETAG:" << getTagName() << "\n"
116  << pfx << std::setw(24) << "CEL:" << getTagLength() << "\n"
117  << pfx << std::setw(24) << "IID:" << m_iid << "\n"
118  << pfx << std::setw(24) << "EDITION:" << m_edition << "\n"
119  << pfx << std::setw(24) << "R0:" << m_r0 << "\n"
120  << pfx << std::setw(24) << "RX:" << m_rx << "\n"
121  << pfx << std::setw(24) << "RY:" << m_ry << "\n"
122  << pfx << std::setw(24) << "RZ:" << m_rz << "\n"
123  << pfx << std::setw(24) << "RXX:" << m_rxx << "\n"
124  << pfx << std::setw(24) << "RXY:" << m_rxy << "\n"
125  << pfx << std::setw(24) << "RXZ:" << m_rxz << "\n"
126  << pfx << std::setw(24) << "RYY:" << m_ryy << "\n"
127  << pfx << std::setw(24) << "RYZ:" << m_ryz << "\n"
128  << pfx << std::setw(24) << "RZZ:" << m_rzz << "\n"
129  << pfx << std::setw(24) << "C0:" << m_c0 << "\n"
130  << pfx << std::setw(24) << "CX:" << m_cx << "\n"
131  << pfx << std::setw(24) << "CY:" << m_cy << "\n"
132  << pfx << std::setw(24) << "CZ:" << m_cz << "\n"
133  << pfx << std::setw(24) << "CXX:" << m_cxx << "\n"
134  << pfx << std::setw(24) << "CXY:" << m_cxy << "\n"
135  << pfx << std::setw(24) << "CXZ:" << m_cxz << "\n"
136  << pfx << std::setw(24) << "CYY:" << m_cyy << "\n"
137  << pfx << std::setw(24) << "CYZ:" << m_cyz << "\n"
138  << pfx << std::setw(24) << "CZZ:" << m_czz << "\n"
139  << pfx << std::setw(24) << "RNIS:" << m_rnis << "\n"
140  << pfx << std::setw(24) << "CNIS:" << m_cnis << "\n"
141  << pfx << std::setw(24) << "TNIS:" << m_tnis << "\n"
142  << pfx << std::setw(24) << "RSSIZ:" << m_rssiz << "\n"
143  << pfx << std::setw(24) << "CSSIZ:" << m_cssiz << "\n";
144 
145  return out;
146 }
char m_cyz[FLOAT21_SIZE+1]
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
char m_rnis[NIS_SIZE+1]
char m_r0[FLOAT21_SIZE+1]
char m_cssiz[FLOAT21_SIZE+1]
char m_cnis[NIS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rzz[FLOAT21_SIZE+1]
char m_czz[FLOAT21_SIZE+1]
char m_cy[FLOAT21_SIZE+1]
char m_cz[FLOAT21_SIZE+1]
char m_rxy[FLOAT21_SIZE+1]
char m_rssiz[FLOAT21_SIZE+1]
char m_cxz[FLOAT21_SIZE+1]
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
char m_c0[FLOAT21_SIZE+1]
char m_rz[FLOAT21_SIZE+1]
char m_tnis[NIS_SIZE+1]
char m_cyy[FLOAT21_SIZE+1]
char m_cxy[FLOAT21_SIZE+1]
char m_cx[FLOAT21_SIZE+1]
char m_ryz[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
char m_rxx[FLOAT21_SIZE+1]
char m_ry[FLOAT21_SIZE+1]
char m_rxz[FLOAT21_SIZE+1]
char m_ryy[FLOAT21_SIZE+1]
char m_rx[FLOAT21_SIZE+1]
char m_cxx[FLOAT21_SIZE+1]

◆ writeStream()

void ossimNitfRsmpiaTag::writeStream ( std::ostream &  out)
virtual

Writes out tag to stream.

Parameters
out

Definition at line 77 of file ossimNitfRsmpiaTag.cpp.

References EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_c0, m_cnis, m_cssiz, m_cx, m_cxx, m_cxy, m_cxz, m_cy, m_cyy, m_cyz, m_cz, m_czz, m_edition, m_iid, m_r0, m_rnis, m_rssiz, m_rx, m_rxx, m_rxy, m_rxz, m_ry, m_ryy, m_ryz, m_rz, m_rzz, m_tnis, and NIS_SIZE.

78 {
79  out.write(m_iid, IID_SIZE);
80  out.write(m_edition, EDITION_SIZE);
81  out.write(m_r0, FLOAT21_SIZE);
82  out.write(m_rx, FLOAT21_SIZE);
83  out.write(m_ry, FLOAT21_SIZE);
84  out.write(m_rz, FLOAT21_SIZE);
85  out.write(m_rxx, FLOAT21_SIZE);
86  out.write(m_rxy, FLOAT21_SIZE);
87  out.write(m_rxz, FLOAT21_SIZE);
88  out.write(m_ryy, FLOAT21_SIZE);
89  out.write(m_ryz, FLOAT21_SIZE);
90  out.write(m_rzz, FLOAT21_SIZE);
91  out.write(m_c0, FLOAT21_SIZE);
92  out.write(m_cx, FLOAT21_SIZE);
93  out.write(m_cy, FLOAT21_SIZE);
94  out.write(m_cz, FLOAT21_SIZE);
95  out.write(m_cxx, FLOAT21_SIZE);
96  out.write(m_cxy, FLOAT21_SIZE);
97  out.write(m_cxz, FLOAT21_SIZE);
98  out.write(m_cyy, FLOAT21_SIZE);
99  out.write(m_cyz, FLOAT21_SIZE);
100  out.write(m_czz, FLOAT21_SIZE);
101  out.write(m_rnis, NIS_SIZE);
102  out.write(m_cnis, NIS_SIZE);
103  out.write(m_tnis, NIS_SIZE);
104  out.write(m_rssiz, FLOAT21_SIZE);
105  out.write(m_cssiz, FLOAT21_SIZE);
106 }
char m_cyz[FLOAT21_SIZE+1]
char m_rnis[NIS_SIZE+1]
char m_r0[FLOAT21_SIZE+1]
char m_cssiz[FLOAT21_SIZE+1]
char m_cnis[NIS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rzz[FLOAT21_SIZE+1]
char m_czz[FLOAT21_SIZE+1]
char m_cy[FLOAT21_SIZE+1]
char m_cz[FLOAT21_SIZE+1]
char m_rxy[FLOAT21_SIZE+1]
char m_rssiz[FLOAT21_SIZE+1]
char m_cxz[FLOAT21_SIZE+1]
char m_c0[FLOAT21_SIZE+1]
char m_rz[FLOAT21_SIZE+1]
char m_tnis[NIS_SIZE+1]
char m_cyy[FLOAT21_SIZE+1]
char m_cxy[FLOAT21_SIZE+1]
char m_cx[FLOAT21_SIZE+1]
char m_ryz[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
char m_rxx[FLOAT21_SIZE+1]
char m_ry[FLOAT21_SIZE+1]
char m_rxz[FLOAT21_SIZE+1]
char m_ryy[FLOAT21_SIZE+1]
char m_rx[FLOAT21_SIZE+1]
char m_cxx[FLOAT21_SIZE+1]

Member Data Documentation

◆ m_c0

char ossimNitfRsmpiaTag::m_c0[FLOAT21_SIZE+1]
protected

Definition at line 89 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getC0(), parseStream(), print(), and writeStream().

◆ m_cnis

char ossimNitfRsmpiaTag::m_cnis[NIS_SIZE+1]
protected

Definition at line 100 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCnis(), parseStream(), print(), and writeStream().

◆ m_cssiz

char ossimNitfRsmpiaTag::m_cssiz[FLOAT21_SIZE+1]
protected

Definition at line 103 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCssiz(), parseStream(), print(), and writeStream().

◆ m_cx

char ossimNitfRsmpiaTag::m_cx[FLOAT21_SIZE+1]
protected

Definition at line 90 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCx(), parseStream(), print(), and writeStream().

◆ m_cxx

char ossimNitfRsmpiaTag::m_cxx[FLOAT21_SIZE+1]
protected

Definition at line 93 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCxx(), parseStream(), print(), and writeStream().

◆ m_cxy

char ossimNitfRsmpiaTag::m_cxy[FLOAT21_SIZE+1]
protected

Definition at line 94 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCxy(), parseStream(), print(), and writeStream().

◆ m_cxz

char ossimNitfRsmpiaTag::m_cxz[FLOAT21_SIZE+1]
protected

Definition at line 95 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCxz(), parseStream(), print(), and writeStream().

◆ m_cy

char ossimNitfRsmpiaTag::m_cy[FLOAT21_SIZE+1]
protected

Definition at line 91 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCy(), parseStream(), print(), and writeStream().

◆ m_cyy

char ossimNitfRsmpiaTag::m_cyy[FLOAT21_SIZE+1]
protected

Definition at line 96 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCyy(), parseStream(), print(), and writeStream().

◆ m_cyz

char ossimNitfRsmpiaTag::m_cyz[FLOAT21_SIZE+1]
protected

Definition at line 97 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCyz(), parseStream(), print(), and writeStream().

◆ m_cz

char ossimNitfRsmpiaTag::m_cz[FLOAT21_SIZE+1]
protected

Definition at line 92 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCz(), parseStream(), print(), and writeStream().

◆ m_czz

char ossimNitfRsmpiaTag::m_czz[FLOAT21_SIZE+1]
protected

Definition at line 98 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getCzz(), parseStream(), print(), and writeStream().

◆ m_edition

char ossimNitfRsmpiaTag::m_edition[EDITION_SIZE+1]
protected

Definition at line 78 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getEdition(), parseStream(), print(), and writeStream().

◆ m_iid

char ossimNitfRsmpiaTag::m_iid[IID_SIZE+1]
protected

Definition at line 77 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getIid(), parseStream(), print(), and writeStream().

◆ m_r0

char ossimNitfRsmpiaTag::m_r0[FLOAT21_SIZE+1]
protected

Definition at line 79 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getR0(), parseStream(), print(), and writeStream().

◆ m_rnis

char ossimNitfRsmpiaTag::m_rnis[NIS_SIZE+1]
protected

Definition at line 99 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRnis(), parseStream(), print(), and writeStream().

◆ m_rssiz

char ossimNitfRsmpiaTag::m_rssiz[FLOAT21_SIZE+1]
protected

Definition at line 102 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRssiz(), parseStream(), print(), and writeStream().

◆ m_rx

char ossimNitfRsmpiaTag::m_rx[FLOAT21_SIZE+1]
protected

Definition at line 80 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRx(), parseStream(), print(), and writeStream().

◆ m_rxx

char ossimNitfRsmpiaTag::m_rxx[FLOAT21_SIZE+1]
protected

Definition at line 83 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRxx(), parseStream(), print(), and writeStream().

◆ m_rxy

char ossimNitfRsmpiaTag::m_rxy[FLOAT21_SIZE+1]
protected

Definition at line 84 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRxy(), parseStream(), print(), and writeStream().

◆ m_rxz

char ossimNitfRsmpiaTag::m_rxz[FLOAT21_SIZE+1]
protected

Definition at line 85 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRxz(), parseStream(), print(), and writeStream().

◆ m_ry

char ossimNitfRsmpiaTag::m_ry[FLOAT21_SIZE+1]
protected

Definition at line 81 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRy(), parseStream(), print(), and writeStream().

◆ m_ryy

char ossimNitfRsmpiaTag::m_ryy[FLOAT21_SIZE+1]
protected

Definition at line 86 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRyy(), parseStream(), print(), and writeStream().

◆ m_ryz

char ossimNitfRsmpiaTag::m_ryz[FLOAT21_SIZE+1]
protected

Definition at line 87 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRyz(), parseStream(), print(), and writeStream().

◆ m_rz

char ossimNitfRsmpiaTag::m_rz[FLOAT21_SIZE+1]
protected

Definition at line 82 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRz(), parseStream(), print(), and writeStream().

◆ m_rzz

char ossimNitfRsmpiaTag::m_rzz[FLOAT21_SIZE+1]
protected

Definition at line 88 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getRzz(), parseStream(), print(), and writeStream().

◆ m_tnis

char ossimNitfRsmpiaTag::m_tnis[NIS_SIZE+1]
protected

Definition at line 101 of file ossimNitfRsmpiaTag.h.

Referenced by clearFields(), getTnis(), parseStream(), print(), and writeStream().


The documentation for this class was generated from the following files: