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

RSM Polynomial Coefficients: Polynomials coefficients for a section. More...

#include <ossimNitfRsmpcaTag.h>

Inheritance diagram for ossimNitfRsmpcaTag:
ossimNitfRegisteredTag ossimObject ossimPropertyInterface ossimReferenced

Public Types

enum  {
  IID_SIZE = 80, EDITION_SIZE = 40, RSN_SIZE = 3, CSN_SIZE = 3,
  FLOAT21_SIZE = 21, MAXPOWER_SIZE = 1, NUMTERMS_SIZE = 3
}
 

Public Member Functions

 ossimNitfRsmpcaTag ()
 
virtual void parseStream (std::istream &in)
 
virtual void writeStream (std::ostream &out)
 
virtual void clearFields ()
 
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. More...
 
ossimString getIid () const
 
ossimString getEdition () const
 
ossimString getRsn () const
 
ossimString getCsn () const
 
ossimString getRfep () const
 
ossimString getCfep () const
 
ossimString getRnrmo () const
 
ossimString getCnrmo () const
 
ossimString getXnrmo () const
 
ossimString getYnrmo () const
 
ossimString getZnrmo () const
 
ossimString getRnrmsf () const
 
ossimString getCnrmsf () const
 
ossimString getXnrmsf () const
 
ossimString getYnrmsf () const
 
ossimString getZnrmsf () const
 
ossimString getRnpwrx () const
 
ossimString getRnpwry () const
 
ossimString getRnpwrz () const
 
ossimString getRntrms () const
 
ossimString getRnpcf (ossim_uint32 index) const
 
ossimString getRdpwrx () const
 
ossimString getRdpwry () const
 
ossimString getRdpwrz () const
 
ossimString getRdtrms () const
 
ossimString getRdpcf (ossim_uint32 index) const
 
ossimString getCnpwrx () const
 
ossimString getCnpwry () const
 
ossimString getCnpwrz () const
 
ossimString getCntrms () const
 
ossimString getCnpcf (ossim_uint32 index) const
 
ossimString getCdpwrx () const
 
ossimString getCdpwry () const
 
ossimString getCdpwrz () const
 
ossimString getCdtrms () const
 
ossimString getCdpcf (ossim_uint32 index) 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_rsn [RSN_SIZE+1]
 
char m_csn [CSN_SIZE+1]
 
char m_rfep [FLOAT21_SIZE+1]
 
char m_cfep [FLOAT21_SIZE+1]
 
char m_rnrmo [FLOAT21_SIZE+1]
 
char m_cnrmo [FLOAT21_SIZE+1]
 
char m_xnrmo [FLOAT21_SIZE+1]
 
char m_ynrmo [FLOAT21_SIZE+1]
 
char m_znrmo [FLOAT21_SIZE+1]
 
char m_rnrmsf [FLOAT21_SIZE+1]
 
char m_cnrmsf [FLOAT21_SIZE+1]
 
char m_xnrmsf [FLOAT21_SIZE+1]
 
char m_ynrmsf [FLOAT21_SIZE+1]
 
char m_znrmsf [FLOAT21_SIZE+1]
 
char m_rnpwrx [MAXPOWER_SIZE+1]
 
char m_rnpwry [MAXPOWER_SIZE+1]
 
char m_rnpwrz [MAXPOWER_SIZE+1]
 
char m_rntrms [NUMTERMS_SIZE+1]
 
std::vector< ossimStringm_rnpcf
 
char m_rdpwrx [MAXPOWER_SIZE+1]
 
char m_rdpwry [MAXPOWER_SIZE+1]
 
char m_rdpwrz [MAXPOWER_SIZE+1]
 
char m_rdtrms [NUMTERMS_SIZE+1]
 
std::vector< ossimStringm_rdpcf
 
char m_cnpwrx [MAXPOWER_SIZE+1]
 
char m_cnpwry [MAXPOWER_SIZE+1]
 
char m_cnpwrz [MAXPOWER_SIZE+1]
 
char m_cntrms [NUMTERMS_SIZE+1]
 
std::vector< ossimStringm_cnpcf
 
char m_cdpwrx [MAXPOWER_SIZE+1]
 
char m_cdpwry [MAXPOWER_SIZE+1]
 
char m_cdpwrz [MAXPOWER_SIZE+1]
 
char m_cdtrms [NUMTERMS_SIZE+1]
 
std::vector< ossimStringm_cdpcf
 
ossim_uint32 m_rowNumNumTerms
 
ossim_uint32 m_rowDenNumTerms
 
ossim_uint32 m_colNumNumTerms
 
ossim_uint32 m_colDenNumTerms
 
- 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

RSM Polynomial Coefficients: Polynomials coefficients for a section.

RFC NTB 055, STDI-0002-1 v4.0, Appendix U: RSM

Definition at line 16 of file ossimNitfRsmpcaTag.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
IID_SIZE 
EDITION_SIZE 
RSN_SIZE 
CSN_SIZE 
FLOAT21_SIZE 
MAXPOWER_SIZE 
NUMTERMS_SIZE 

Definition at line 19 of file ossimNitfRsmpcaTag.h.

Constructor & Destructor Documentation

◆ ossimNitfRsmpcaTag()

ossimNitfRsmpcaTag::ossimNitfRsmpcaTag ( )

Definition at line 22 of file ossimNitfRsmpcaTag.cpp.

23  :
24  ossimNitfRegisteredTag(std::string("RSMPCA"), 0),
25  m_iid(),
26  m_edition(),
27  m_rsn(),
28  m_csn(),
29  m_rfep(),
30  m_cfep(),
31  m_rnrmo(),
32  m_cnrmo(),
33  m_xnrmo(),
34  m_ynrmo(),
35  m_znrmo(),
36  m_rnrmsf(),
37  m_cnrmsf(),
38  m_xnrmsf(),
39  m_ynrmsf(),
40 
41  m_znrmsf(),
42 
43  m_rnpwrx(),
44  m_rnpwry(),
45  m_rnpwrz(),
46  m_rntrms(),
47 
48  m_rnpcf(),
49 
50  m_rdpwrx(),
51  m_rdpwry(),
52  m_rdpwrz(),
53  m_rdtrms(),
54 
55  m_rdpcf(),
56 
57  m_cnpwrx(),
58  m_cnpwry(),
59  m_cnpwrz(),
60  m_cntrms(),
61 
62  m_cnpcf(),
63 
64  m_cdpwrx(),
65  m_cdpwry(),
66  m_cdpwrz(),
67  m_cdtrms(),
68 
69  m_cdpcf(),
70 
75 {
76 }
char m_cnpwrz[MAXPOWER_SIZE+1]
char m_rnpwry[MAXPOWER_SIZE+1]
std::vector< ossimString > m_rnpcf
std::vector< ossimString > m_cdpcf
char m_csn[CSN_SIZE+1]
std::vector< ossimString > m_cnpcf
char m_rnpwrx[MAXPOWER_SIZE+1]
ossim_uint32 m_rowDenNumTerms
char m_rsn[RSN_SIZE+1]
char m_znrmsf[FLOAT21_SIZE+1]
char m_rdpwrz[MAXPOWER_SIZE+1]
char m_rnrmsf[FLOAT21_SIZE+1]
char m_cdpwrz[MAXPOWER_SIZE+1]
char m_ynrmsf[FLOAT21_SIZE+1]
char m_rdtrms[NUMTERMS_SIZE+1]
char m_ynrmo[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
ossimNitfRegisteredTag()
default constructor
char m_rntrms[NUMTERMS_SIZE+1]
char m_cnrmsf[FLOAT21_SIZE+1]
char m_rnpwrz[MAXPOWER_SIZE+1]
char m_znrmo[FLOAT21_SIZE+1]
char m_cnpwry[MAXPOWER_SIZE+1]
char m_rnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colDenNumTerms
char m_cnpwrx[MAXPOWER_SIZE+1]
char m_xnrmsf[FLOAT21_SIZE+1]
char m_xnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colNumNumTerms
char m_rdpwrx[MAXPOWER_SIZE+1]
char m_cfep[FLOAT21_SIZE+1]
std::vector< ossimString > m_rdpcf
ossim_uint32 m_rowNumNumTerms
char m_cnrmo[FLOAT21_SIZE+1]
char m_cdpwrx[MAXPOWER_SIZE+1]
char m_cdtrms[NUMTERMS_SIZE+1]
char m_cdpwry[MAXPOWER_SIZE+1]
char m_cntrms[NUMTERMS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rdpwry[MAXPOWER_SIZE+1]
char m_rfep[FLOAT21_SIZE+1]

Member Function Documentation

◆ clearFields()

void ossimNitfRsmpcaTag::clearFields ( )
virtual

Definition at line 218 of file ossimNitfRsmpcaTag.cpp.

References CSN_SIZE, EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_cdpwrx, m_cdpwry, m_cdpwrz, m_cdtrms, m_cfep, m_cnpwrx, m_cnpwry, m_cnpwrz, m_cnrmo, m_cnrmsf, m_cntrms, m_csn, m_edition, m_iid, m_rdpwrx, m_rdpwry, m_rdpwrz, m_rdtrms, m_rfep, m_rnpwrx, m_rnpwry, m_rnpwrz, m_rnrmo, m_rnrmsf, m_rntrms, m_rsn, m_xnrmo, m_xnrmsf, m_ynrmo, m_ynrmsf, m_znrmo, m_znrmsf, MAXPOWER_SIZE, NUMTERMS_SIZE, and RSN_SIZE.

Referenced by parseStream().

219 {
220  memset(m_iid, ' ', IID_SIZE);
221  memset(m_edition, ' ', EDITION_SIZE);
222  memset(m_rsn, ' ', RSN_SIZE);
223  memset(m_csn, ' ', CSN_SIZE);
224  memset(m_rfep, ' ', FLOAT21_SIZE);
225  memset(m_cfep, ' ', FLOAT21_SIZE);
226  memset(m_rnrmo, ' ', FLOAT21_SIZE);
227  memset(m_cnrmo, ' ', FLOAT21_SIZE);
228  memset(m_xnrmo, ' ', FLOAT21_SIZE);
229  memset(m_ynrmo, ' ', FLOAT21_SIZE);
230  memset(m_znrmo, ' ', FLOAT21_SIZE);
231  memset(m_rnrmsf, ' ', FLOAT21_SIZE);
232  memset(m_cnrmsf, ' ', FLOAT21_SIZE);
233  memset(m_xnrmsf, ' ', FLOAT21_SIZE);
234  memset(m_ynrmsf, ' ', FLOAT21_SIZE);
235  memset(m_znrmsf, ' ', FLOAT21_SIZE);
236  memset(m_rnpwrx, ' ', MAXPOWER_SIZE);
237  memset(m_rnpwry, ' ', MAXPOWER_SIZE);
238  memset(m_rnpwrz, ' ', MAXPOWER_SIZE);
239  memset(m_rntrms, ' ', NUMTERMS_SIZE);
240  memset(m_rdpwrx, ' ', MAXPOWER_SIZE);
241  memset(m_rdpwry, ' ', MAXPOWER_SIZE);
242  memset(m_rdpwrz, ' ', MAXPOWER_SIZE);
243  memset(m_rdtrms, ' ', NUMTERMS_SIZE);
244  memset(m_cnpwrx, ' ', MAXPOWER_SIZE);
245  memset(m_cnpwry, ' ', MAXPOWER_SIZE);
246  memset(m_cnpwrz, ' ', MAXPOWER_SIZE);
247  memset(m_cntrms, ' ', NUMTERMS_SIZE);
248  memset(m_cdpwrx, ' ', MAXPOWER_SIZE);
249  memset(m_cdpwry, ' ', MAXPOWER_SIZE);
250  memset(m_cdpwrz, ' ', MAXPOWER_SIZE);
251  memset(m_cdtrms, ' ', NUMTERMS_SIZE);
252 
253  m_iid[IID_SIZE] = '\0';
254  m_edition[EDITION_SIZE] = '\0';
255  m_rsn[RSN_SIZE] = '\0';
256  m_csn[CSN_SIZE] = '\0';
257  m_rfep[FLOAT21_SIZE] = '\0';
258  m_cfep[FLOAT21_SIZE] = '\0';
259  m_rnrmo[FLOAT21_SIZE] = '\0';
260  m_cnrmo[FLOAT21_SIZE] = '\0';
261  m_xnrmo[FLOAT21_SIZE] = '\0';
262  m_ynrmo[FLOAT21_SIZE] = '\0';
263  m_znrmo[FLOAT21_SIZE] = '\0';
264  m_rnrmsf[FLOAT21_SIZE] = '\0';
265  m_cnrmsf[FLOAT21_SIZE] = '\0';
266  m_xnrmsf[FLOAT21_SIZE] = '\0';
267  m_ynrmsf[FLOAT21_SIZE] = '\0';
268  m_znrmsf[FLOAT21_SIZE] = '\0';
269  m_rnpwrx[MAXPOWER_SIZE] = '\0';
270  m_rnpwry[MAXPOWER_SIZE] = '\0';
271  m_rnpwrz[MAXPOWER_SIZE] = '\0';
272  m_rntrms[NUMTERMS_SIZE] = '\0';
273  m_rdpwrx[MAXPOWER_SIZE] = '\0';
274  m_rdpwry[MAXPOWER_SIZE] = '\0';
275  m_rdpwrz[MAXPOWER_SIZE] = '\0';
276  m_rdtrms[NUMTERMS_SIZE] = '\0';
277  m_cnpwrx[MAXPOWER_SIZE] = '\0';
278  m_cnpwry[MAXPOWER_SIZE] = '\0';
279  m_cnpwrz[MAXPOWER_SIZE] = '\0';
280  m_cntrms[NUMTERMS_SIZE] = '\0';
281  m_cdpwrx[MAXPOWER_SIZE] = '\0';
282  m_cdpwry[MAXPOWER_SIZE] = '\0';
283  m_cdpwrz[MAXPOWER_SIZE] = '\0';
284  m_cdtrms[NUMTERMS_SIZE] = '\0';
285 }
char m_cnpwrz[MAXPOWER_SIZE+1]
char m_rnpwry[MAXPOWER_SIZE+1]
char m_csn[CSN_SIZE+1]
char m_rnpwrx[MAXPOWER_SIZE+1]
char m_rsn[RSN_SIZE+1]
char m_znrmsf[FLOAT21_SIZE+1]
char m_rdpwrz[MAXPOWER_SIZE+1]
char m_rnrmsf[FLOAT21_SIZE+1]
char m_cdpwrz[MAXPOWER_SIZE+1]
char m_ynrmsf[FLOAT21_SIZE+1]
char m_rdtrms[NUMTERMS_SIZE+1]
char m_ynrmo[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
char m_rntrms[NUMTERMS_SIZE+1]
char m_cnrmsf[FLOAT21_SIZE+1]
char m_rnpwrz[MAXPOWER_SIZE+1]
char m_znrmo[FLOAT21_SIZE+1]
char m_cnpwry[MAXPOWER_SIZE+1]
char m_rnrmo[FLOAT21_SIZE+1]
char m_cnpwrx[MAXPOWER_SIZE+1]
char m_xnrmsf[FLOAT21_SIZE+1]
char m_xnrmo[FLOAT21_SIZE+1]
char m_rdpwrx[MAXPOWER_SIZE+1]
char m_cfep[FLOAT21_SIZE+1]
char m_cnrmo[FLOAT21_SIZE+1]
char m_cdpwrx[MAXPOWER_SIZE+1]
char m_cdtrms[NUMTERMS_SIZE+1]
char m_cdpwry[MAXPOWER_SIZE+1]
char m_cntrms[NUMTERMS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rdpwry[MAXPOWER_SIZE+1]
char m_rfep[FLOAT21_SIZE+1]

◆ getCdpcf()

ossimString ossimNitfRsmpcaTag::getCdpcf ( ossim_uint32  index) const

Definition at line 590 of file ossimNitfRsmpcaTag.cpp.

References m_cdpcf, and m_colDenNumTerms.

Referenced by ossimRsmpca::initialize().

591 {
592  ossimString result;
593 
594  if (index < m_colDenNumTerms)
595  {
596  result = m_cdpcf[index];
597  }
598  else
599  {
600  if ( traceDebug() )
601  {
603  << "ossimNitfRsmpiaTag::getCdpcf range error!" << std::endl;
604  }
605  }
606  return result;
607 }
std::vector< ossimString > m_cdpcf
ossim_uint32 m_colDenNumTerms
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ getCdpwrx()

ossimString ossimNitfRsmpcaTag::getCdpwrx ( ) const

Definition at line 570 of file ossimNitfRsmpcaTag.cpp.

References m_cdpwrx.

Referenced by ossimRsmpca::initialize().

571 {
572  return ossimString(m_cdpwrx);
573 }
char m_cdpwrx[MAXPOWER_SIZE+1]

◆ getCdpwry()

ossimString ossimNitfRsmpcaTag::getCdpwry ( ) const

Definition at line 575 of file ossimNitfRsmpcaTag.cpp.

References m_cdpwry.

Referenced by ossimRsmpca::initialize().

576 {
577  return ossimString(m_cdpwry);
578 }
char m_cdpwry[MAXPOWER_SIZE+1]

◆ getCdpwrz()

ossimString ossimNitfRsmpcaTag::getCdpwrz ( ) const

Definition at line 580 of file ossimNitfRsmpcaTag.cpp.

References m_cdpwrz.

Referenced by ossimRsmpca::initialize().

581 {
582  return ossimString(m_cdpwrz);
583 }
char m_cdpwrz[MAXPOWER_SIZE+1]

◆ getCdtrms()

ossimString ossimNitfRsmpcaTag::getCdtrms ( ) const

Definition at line 585 of file ossimNitfRsmpcaTag.cpp.

References m_cdtrms.

Referenced by ossimRsmpca::initialize().

586 {
587  return ossimString(m_cdtrms);
588 }
char m_cdtrms[NUMTERMS_SIZE+1]

◆ getCfep()

ossimString ossimNitfRsmpcaTag::getCfep ( ) const

Definition at line 398 of file ossimNitfRsmpcaTag.cpp.

References m_cfep.

Referenced by ossimRsmpca::initialize().

399 {
400  return ossimString(m_cfep);
401 }
char m_cfep[FLOAT21_SIZE+1]

◆ getCnpcf()

ossimString ossimNitfRsmpcaTag::getCnpcf ( ossim_uint32  index) const

Definition at line 550 of file ossimNitfRsmpcaTag.cpp.

References m_cnpcf, and m_colNumNumTerms.

Referenced by ossimRsmpca::initialize().

551 {
552  ossimString result;
553 
554  if (index < m_colNumNumTerms)
555  {
556  result = m_cnpcf[index];
557  }
558  else
559  {
560  if (traceDebug())
561  {
563  << "ossimNitfRsmpiaTag::getCnpcf range error!" << std::endl;
564  }
565  }
566 
567  return result;
568 }
std::vector< ossimString > m_cnpcf
ossim_uint32 m_colNumNumTerms
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ getCnpwrx()

ossimString ossimNitfRsmpcaTag::getCnpwrx ( ) const

Definition at line 530 of file ossimNitfRsmpcaTag.cpp.

References m_cnpwrx.

Referenced by ossimRsmpca::initialize().

531 {
532  return ossimString(m_cnpwrx);
533 }
char m_cnpwrx[MAXPOWER_SIZE+1]

◆ getCnpwry()

ossimString ossimNitfRsmpcaTag::getCnpwry ( ) const

Definition at line 535 of file ossimNitfRsmpcaTag.cpp.

References m_cnpwry.

Referenced by ossimRsmpca::initialize().

536 {
537  return ossimString(m_cnpwry);
538 }
char m_cnpwry[MAXPOWER_SIZE+1]

◆ getCnpwrz()

ossimString ossimNitfRsmpcaTag::getCnpwrz ( ) const

Definition at line 540 of file ossimNitfRsmpcaTag.cpp.

References m_cnpwrz.

Referenced by ossimRsmpca::initialize().

541 {
542  return ossimString(m_cnpwrz);
543 }
char m_cnpwrz[MAXPOWER_SIZE+1]

◆ getCnrmo()

ossimString ossimNitfRsmpcaTag::getCnrmo ( ) const

Definition at line 408 of file ossimNitfRsmpcaTag.cpp.

References m_cnrmo.

Referenced by ossimRsmpca::initialize().

409 {
410  return ossimString(m_cnrmo);
411 }
char m_cnrmo[FLOAT21_SIZE+1]

◆ getCnrmsf()

ossimString ossimNitfRsmpcaTag::getCnrmsf ( ) const

Definition at line 433 of file ossimNitfRsmpcaTag.cpp.

References m_cnrmsf.

Referenced by ossimRsmpca::initialize().

434 {
435  return ossimString(m_cnrmsf);
436 }
char m_cnrmsf[FLOAT21_SIZE+1]

◆ getCntrms()

ossimString ossimNitfRsmpcaTag::getCntrms ( ) const

Definition at line 545 of file ossimNitfRsmpcaTag.cpp.

References m_cntrms.

Referenced by ossimRsmpca::initialize().

546 {
547  return ossimString(m_cntrms);
548 }
char m_cntrms[NUMTERMS_SIZE+1]

◆ getCsn()

ossimString ossimNitfRsmpcaTag::getCsn ( ) const

Definition at line 388 of file ossimNitfRsmpcaTag.cpp.

References m_csn.

Referenced by ossimRsmpca::initialize().

389 {
390  return ossimString(m_csn);
391 }
char m_csn[CSN_SIZE+1]

◆ getEdition()

ossimString ossimNitfRsmpcaTag::getEdition ( ) const

Definition at line 377 of file ossimNitfRsmpcaTag.cpp.

References m_edition.

Referenced by ossimRsmpca::initialize().

378 {
379  return ossimString(m_edition);
380 }
char m_edition[EDITION_SIZE+1]

◆ getIid()

ossimString ossimNitfRsmpcaTag::getIid ( ) const

Definition at line 372 of file ossimNitfRsmpcaTag.cpp.

References m_iid.

Referenced by ossimRsmpca::initialize().

373 {
374  return ossimString(m_iid);
375 }
char m_iid[IID_SIZE+1]

◆ getRdpcf()

ossimString ossimNitfRsmpcaTag::getRdpcf ( ossim_uint32  index) const

Definition at line 511 of file ossimNitfRsmpcaTag.cpp.

References m_rdpcf, and m_rowDenNumTerms.

Referenced by ossimRsmpca::initialize().

512 {
513  ossimString result;
514 
515  if (index < m_rowDenNumTerms)
516  {
517  result = m_rdpcf[index];
518  }
519  else
520  {
521  if (traceDebug())
522  {
524  << "ossimNitfRsmpiaTag::getRdpcf range error!" << std::endl;
525  }
526  }
527  return result;
528 }
ossim_uint32 m_rowDenNumTerms
std::vector< ossimString > m_rdpcf
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ getRdpwrx()

ossimString ossimNitfRsmpcaTag::getRdpwrx ( ) const

Definition at line 491 of file ossimNitfRsmpcaTag.cpp.

References m_rdpwrx.

Referenced by ossimRsmpca::initialize().

492 {
493  return ossimString(m_rdpwrx);
494 }
char m_rdpwrx[MAXPOWER_SIZE+1]

◆ getRdpwry()

ossimString ossimNitfRsmpcaTag::getRdpwry ( ) const

Definition at line 496 of file ossimNitfRsmpcaTag.cpp.

References m_rdpwry.

Referenced by ossimRsmpca::initialize().

497 {
498  return ossimString(m_rdpwry);
499 }
char m_rdpwry[MAXPOWER_SIZE+1]

◆ getRdpwrz()

ossimString ossimNitfRsmpcaTag::getRdpwrz ( ) const

Definition at line 501 of file ossimNitfRsmpcaTag.cpp.

References m_rdpwrz.

Referenced by ossimRsmpca::initialize().

502 {
503  return ossimString(m_rdpwrz);
504 }
char m_rdpwrz[MAXPOWER_SIZE+1]

◆ getRdtrms()

ossimString ossimNitfRsmpcaTag::getRdtrms ( ) const

Definition at line 506 of file ossimNitfRsmpcaTag.cpp.

References m_rdtrms.

Referenced by ossimRsmpca::initialize().

507 {
508  return ossimString(m_rdtrms);
509 }
char m_rdtrms[NUMTERMS_SIZE+1]

◆ getRfep()

ossimString ossimNitfRsmpcaTag::getRfep ( ) const

Definition at line 393 of file ossimNitfRsmpcaTag.cpp.

References m_rfep.

Referenced by ossimRsmpca::initialize().

394 {
395  return ossimString(m_rfep);
396 }
char m_rfep[FLOAT21_SIZE+1]

◆ getRnpcf()

ossimString ossimNitfRsmpcaTag::getRnpcf ( ossim_uint32  index) const

Definition at line 473 of file ossimNitfRsmpcaTag.cpp.

References m_rnpcf, and m_rowNumNumTerms.

Referenced by ossimRsmpca::initialize().

474 {
475  ossimString result;
476  if (index < m_rowNumNumTerms)
477  {
478  result = m_rnpcf[index];
479  }
480  else
481  {
482  if (traceDebug())
483  {
485  << "ossimNitfRsmpiaTag::getRnpcf range error!" << std::endl;
486  }
487  }
488  return result;
489 }
std::vector< ossimString > m_rnpcf
ossim_uint32 m_rowNumNumTerms
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)

◆ getRnpwrx()

ossimString ossimNitfRsmpcaTag::getRnpwrx ( ) const

Definition at line 453 of file ossimNitfRsmpcaTag.cpp.

References m_rnpwrx.

Referenced by ossimRsmpca::initialize().

454 {
455  return ossimString(m_rnpwrx);
456 }
char m_rnpwrx[MAXPOWER_SIZE+1]

◆ getRnpwry()

ossimString ossimNitfRsmpcaTag::getRnpwry ( ) const

Definition at line 458 of file ossimNitfRsmpcaTag.cpp.

References m_rnpwry.

Referenced by ossimRsmpca::initialize().

459 {
460  return ossimString(m_rnpwry);
461 }
char m_rnpwry[MAXPOWER_SIZE+1]

◆ getRnpwrz()

ossimString ossimNitfRsmpcaTag::getRnpwrz ( ) const

Definition at line 463 of file ossimNitfRsmpcaTag.cpp.

References m_rnpwrz.

Referenced by ossimRsmpca::initialize().

464 {
465  return ossimString(m_rnpwrz);
466 }
char m_rnpwrz[MAXPOWER_SIZE+1]

◆ getRnrmo()

ossimString ossimNitfRsmpcaTag::getRnrmo ( ) const

Definition at line 403 of file ossimNitfRsmpcaTag.cpp.

References m_rnrmo.

Referenced by ossimRsmpca::initialize().

404 {
405  return ossimString(m_rnrmo);
406 }
char m_rnrmo[FLOAT21_SIZE+1]

◆ getRnrmsf()

ossimString ossimNitfRsmpcaTag::getRnrmsf ( ) const

Definition at line 428 of file ossimNitfRsmpcaTag.cpp.

References m_rnrmsf.

Referenced by ossimRsmpca::initialize().

429 {
430  return ossimString(m_rnrmsf);
431 }
char m_rnrmsf[FLOAT21_SIZE+1]

◆ getRntrms()

ossimString ossimNitfRsmpcaTag::getRntrms ( ) const

Definition at line 468 of file ossimNitfRsmpcaTag.cpp.

References m_rntrms.

Referenced by ossimRsmpca::initialize().

469 {
470  return ossimString(m_rntrms);
471 }
char m_rntrms[NUMTERMS_SIZE+1]

◆ getRsn()

ossimString ossimNitfRsmpcaTag::getRsn ( ) const

Definition at line 383 of file ossimNitfRsmpcaTag.cpp.

References m_rsn.

Referenced by ossimRsmpca::initialize().

384 {
385  return ossimString(m_rsn);
386 }
char m_rsn[RSN_SIZE+1]

◆ getXnrmo()

ossimString ossimNitfRsmpcaTag::getXnrmo ( ) const

Definition at line 413 of file ossimNitfRsmpcaTag.cpp.

References m_xnrmo.

Referenced by ossimRsmpca::initialize().

414 {
415  return ossimString(m_xnrmo);
416 }
char m_xnrmo[FLOAT21_SIZE+1]

◆ getXnrmsf()

ossimString ossimNitfRsmpcaTag::getXnrmsf ( ) const

Definition at line 438 of file ossimNitfRsmpcaTag.cpp.

References m_xnrmsf.

Referenced by ossimRsmpca::initialize().

439 {
440  return ossimString(m_xnrmsf);
441 }
char m_xnrmsf[FLOAT21_SIZE+1]

◆ getYnrmo()

ossimString ossimNitfRsmpcaTag::getYnrmo ( ) const

Definition at line 418 of file ossimNitfRsmpcaTag.cpp.

References m_ynrmo.

Referenced by ossimRsmpca::initialize().

419 {
420  return ossimString(m_ynrmo);
421 }
char m_ynrmo[FLOAT21_SIZE+1]

◆ getYnrmsf()

ossimString ossimNitfRsmpcaTag::getYnrmsf ( ) const

Definition at line 443 of file ossimNitfRsmpcaTag.cpp.

References m_ynrmsf.

Referenced by ossimRsmpca::initialize().

444 {
445  return ossimString(m_ynrmsf);
446 }
char m_ynrmsf[FLOAT21_SIZE+1]

◆ getZnrmo()

ossimString ossimNitfRsmpcaTag::getZnrmo ( ) const

Definition at line 423 of file ossimNitfRsmpcaTag.cpp.

References m_znrmo.

Referenced by ossimRsmpca::initialize().

424 {
425  return ossimString(m_znrmo);
426 }
char m_znrmo[FLOAT21_SIZE+1]

◆ getZnrmsf()

ossimString ossimNitfRsmpcaTag::getZnrmsf ( ) const

Definition at line 448 of file ossimNitfRsmpcaTag.cpp.

References m_znrmsf.

Referenced by ossimRsmpca::initialize().

449 {
450  return ossimString(m_znrmsf);
451 }
char m_znrmsf[FLOAT21_SIZE+1]

◆ parseStream()

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

Definition at line 78 of file ossimNitfRsmpcaTag.cpp.

References clearFields(), CSN_SIZE, EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_cfep, m_cnrmo, m_cnrmsf, m_csn, m_edition, m_iid, m_rfep, m_rnpcf, m_rnpwrx, m_rnpwry, m_rnpwrz, m_rnrmo, m_rnrmsf, m_rntrms, m_rowNumNumTerms, m_rsn, m_xnrmo, m_xnrmsf, m_ynrmo, m_ynrmsf, m_znrmo, m_znrmsf, MAXPOWER_SIZE, NUMTERMS_SIZE, RSN_SIZE, and ossimString::toUInt32().

79 {
80  clearFields();
81 
82  in.read(m_iid, IID_SIZE);
83  in.read(m_edition, EDITION_SIZE);
84  in.read(m_rsn, RSN_SIZE);
85  in.read(m_csn, CSN_SIZE);
86  in.read(m_rfep, FLOAT21_SIZE);
87  in.read(m_cfep, FLOAT21_SIZE);
88  in.read(m_rnrmo, FLOAT21_SIZE);
89  in.read(m_cnrmo, FLOAT21_SIZE);
90  in.read(m_xnrmo, FLOAT21_SIZE);
91  in.read(m_ynrmo, FLOAT21_SIZE);
92  in.read(m_znrmo, FLOAT21_SIZE);
93  in.read(m_rnrmsf, FLOAT21_SIZE);
94  in.read(m_cnrmsf, FLOAT21_SIZE);
95  in.read(m_xnrmsf, FLOAT21_SIZE);
96  in.read(m_ynrmsf, FLOAT21_SIZE);
97  in.read(m_znrmsf, FLOAT21_SIZE);
98 
99  in.read(m_rnpwrx, MAXPOWER_SIZE);
100  in.read(m_rnpwry, MAXPOWER_SIZE);
101  in.read(m_rnpwrz, MAXPOWER_SIZE);
102  in.read(m_rntrms, NUMTERMS_SIZE);
103  ossim_uint32 idx = 0;
105  m_rnpcf.resize(m_rowNumNumTerms);
106  char temp1[FLOAT21_SIZE+1];
107  temp1[FLOAT21_SIZE] = '\0';
108  for(idx = 0; idx < m_rowNumNumTerms; ++idx)
109  {
110  in.read(temp1, FLOAT21_SIZE);
111  m_rnpcf[idx] = POLYFILL;
112  m_rnpcf[idx] = temp1;
113  }
114 
115  in.read(m_rdpwrx, MAXPOWER_SIZE);
116  in.read(m_rdpwry, MAXPOWER_SIZE);
117  in.read(m_rdpwrz, MAXPOWER_SIZE);
118  in.read(m_rdtrms, NUMTERMS_SIZE);
120  m_rdpcf.resize(m_rowDenNumTerms);
121  char temp2[FLOAT21_SIZE+1];
122  temp2[FLOAT21_SIZE] = '\0';
123  for(idx = 0; idx < m_rowDenNumTerms; ++idx)
124  {
125  in.read(temp2, FLOAT21_SIZE);
126  m_rdpcf[idx] = POLYFILL;
127  m_rdpcf[idx] = temp2;
128  }
129 
130  in.read(m_cnpwrx, MAXPOWER_SIZE);
131  in.read(m_cnpwry, MAXPOWER_SIZE);
132  in.read(m_cnpwrz, MAXPOWER_SIZE);
133  in.read(m_cntrms, NUMTERMS_SIZE);
135  m_cnpcf.resize(m_colNumNumTerms);
136  char temp3[FLOAT21_SIZE+1];
137  temp3[FLOAT21_SIZE] = '\0';
138  for(idx = 0; idx < m_colNumNumTerms; ++idx)
139  {
140  in.read(temp3, FLOAT21_SIZE);
141  m_cnpcf[idx] = POLYFILL;
142  m_cnpcf[idx] = temp3;
143  }
144 
145  in.read(m_cdpwrx, MAXPOWER_SIZE);
146  in.read(m_cdpwry, MAXPOWER_SIZE);
147  in.read(m_cdpwrz, MAXPOWER_SIZE);
148  in.read(m_cdtrms, NUMTERMS_SIZE);
150  m_cdpcf.resize(m_colDenNumTerms);
151  char temp4[FLOAT21_SIZE+1];
152  temp4[FLOAT21_SIZE] = '\0';
153  for(idx = 0; idx < m_colDenNumTerms; ++idx)
154  {
155  in.read(temp4, FLOAT21_SIZE);
156  m_cdpcf[idx] = POLYFILL;
157  m_cdpcf[idx] = temp4;
158  }
159 }
char m_cnpwrz[MAXPOWER_SIZE+1]
char m_rnpwry[MAXPOWER_SIZE+1]
std::vector< ossimString > m_rnpcf
std::vector< ossimString > m_cdpcf
char m_csn[CSN_SIZE+1]
std::vector< ossimString > m_cnpcf
char m_rnpwrx[MAXPOWER_SIZE+1]
ossim_uint32 m_rowDenNumTerms
char m_rsn[RSN_SIZE+1]
char m_znrmsf[FLOAT21_SIZE+1]
char m_rdpwrz[MAXPOWER_SIZE+1]
ossim_uint32 toUInt32() const
char m_rnrmsf[FLOAT21_SIZE+1]
char m_cdpwrz[MAXPOWER_SIZE+1]
char m_ynrmsf[FLOAT21_SIZE+1]
char m_rdtrms[NUMTERMS_SIZE+1]
char m_ynrmo[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
unsigned int ossim_uint32
virtual void clearFields()
char m_rntrms[NUMTERMS_SIZE+1]
char m_cnrmsf[FLOAT21_SIZE+1]
char m_rnpwrz[MAXPOWER_SIZE+1]
char m_znrmo[FLOAT21_SIZE+1]
char m_cnpwry[MAXPOWER_SIZE+1]
char m_rnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colDenNumTerms
char m_cnpwrx[MAXPOWER_SIZE+1]
char m_xnrmsf[FLOAT21_SIZE+1]
char m_xnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colNumNumTerms
char m_rdpwrx[MAXPOWER_SIZE+1]
char m_cfep[FLOAT21_SIZE+1]
std::vector< ossimString > m_rdpcf
ossim_uint32 m_rowNumNumTerms
char m_cnrmo[FLOAT21_SIZE+1]
char m_cdpwrx[MAXPOWER_SIZE+1]
char m_cdtrms[NUMTERMS_SIZE+1]
char m_cdpwry[MAXPOWER_SIZE+1]
char m_cntrms[NUMTERMS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rdpwry[MAXPOWER_SIZE+1]
char m_rfep[FLOAT21_SIZE+1]

◆ print()

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

Pure virtual print method that outputs a key/value type format adding prefix to keys.

Reimplemented from ossimNitfRegisteredTag.

Definition at line 287 of file ossimNitfRsmpcaTag.cpp.

References ossimNitfRegisteredTag::getSizeInBytes(), ossimNitfRegisteredTag::getTagName(), m_cfep, m_cnrmo, m_cnrmsf, m_csn, m_edition, m_iid, m_rdpwrx, m_rdpwry, m_rdpwrz, m_rdtrms, m_rfep, m_rnpwrx, m_rnpwry, m_rnpwrz, m_rnrmo, m_rnrmsf, m_rntrms, m_rowNumNumTerms, m_rsn, m_xnrmo, m_xnrmsf, m_ynrmo, m_ynrmsf, m_znrmo, and m_znrmsf.

289 {
290  std::string pfx = prefix;
291  pfx += getTagName();
292  pfx += ".";
293 
294  out << setiosflags(std::ios::left)
295  << pfx << std::setw(24) << "CETAG:" << getTagName() << "\n"
296  << pfx << std::setw(24) << "CEL:" << getSizeInBytes() << "\n"
297  << pfx << std::setw(24) << "IID:" << m_iid << "\n"
298  << pfx << std::setw(24) << "EDITION:" << m_edition << "\n"
299  << pfx << std::setw(24) << "RSN:" << m_rsn << "\n"
300  << pfx << std::setw(24) << "CSN:" << m_csn << "\n"
301  << pfx << std::setw(24) << "RFEP:" << m_rfep << "\n"
302  << pfx << std::setw(24) << "CFEP:" << m_cfep << "\n"
303  << pfx << std::setw(24) << "RNRMO:" << m_rnrmo << "\n"
304  << pfx << std::setw(24) << "CNRMO:" << m_cnrmo << "\n"
305  << pfx << std::setw(24) << "XNRMO:" << m_xnrmo << "\n"
306  << pfx << std::setw(24) << "YNRMO:" << m_ynrmo << "\n"
307  << pfx << std::setw(24) << "ZNRMO:" << m_znrmo << "\n"
308  << pfx << std::setw(24) << "RNRMSF:" << m_rnrmsf << "\n"
309  << pfx << std::setw(24) << "CNRMSF:" << m_cnrmsf << "\n"
310  << pfx << std::setw(24) << "XNRMSF:" << m_xnrmsf << "\n"
311  << pfx << std::setw(24) << "YNRMSF:" << m_ynrmsf << "\n"
312  << pfx << std::setw(24) << "ZNRMSF:" << m_znrmsf << "\n"
313  << pfx << std::setw(24) << "RNPWRX:" << m_rnpwrx << "\n"
314  << pfx << std::setw(24) << "RNPWRY:" << m_rnpwry << "\n"
315  << pfx << std::setw(24) << "RNPWRZ:" << m_rnpwrz << "\n"
316  << pfx << std::setw(24) << "RNTRMS:" << m_rntrms << "\n"
317  << pfx << std::setw(24) << "RDPWRX:" << m_rdpwrx << "\n"
318  << pfx << std::setw(24) << "RDPWRY:" << m_rdpwry << "\n"
319  << pfx << std::setw(24) << "RDPWRZ:" << m_rdpwrz << "\n"
320  << pfx << std::setw(24) << "RDTRMS:" << m_rdtrms << "\n"
321  << pfx << std::setw(24) << "CNPWRX:" << m_rnpwrx << "\n"
322  << pfx << std::setw(24) << "CNPWRY:" << m_rnpwry << "\n"
323  << pfx << std::setw(24) << "CNPWRZ:" << m_rnpwrz << "\n"
324  << pfx << std::setw(24) << "CNTRMS:" << m_rntrms << "\n"
325  << pfx << std::setw(24) << "CDPWRX:" << m_rdpwrx << "\n"
326  << pfx << std::setw(24) << "CDPWRY:" << m_rdpwry << "\n"
327  << pfx << std::setw(24) << "CDPWRZ:" << m_rdpwrz << "\n"
328  << pfx << std::setw(24) << "CDTRMS:" << m_rdtrms << "\n";
329 
330 
331  ossim_uint32 i;
332  ossimString s;
333 
334  for (i=0; i<m_rowNumNumTerms; ++i)
335  {
336  s = ossimString(RNPCF_KW);
337  s += ossimString::toString(i);
338  s += ":";
339  out << pfx << std::setw(24) << s
340  << m_rnpcf[i] << "\n";
341  }
342  for (i=0; i<m_rowDenNumTerms; ++i)
343  {
344  s = ossimString(RDPCF_KW);
345  s += ossimString::toString(i);
346  s += ":";
347  out << pfx << std::setw(24) << s
348  << m_rdpcf[i] << "\n";
349  }
350  for (i=0; i<m_colNumNumTerms; ++i)
351  {
352  s = ossimString(CNPCF_KW);
353  s += ossimString::toString(i);
354  s += ":";
355  out << pfx << std::setw(24) << s
356  << m_cnpcf[i] << "\n";
357  }
358  for (i=0; i<m_colDenNumTerms; ++i)
359  {
360  s = ossimString(CDPCF_KW);
361  s += ossimString::toString(i);
362  s += ":";
363  out << pfx << std::setw(24) << s
364  << m_cdpcf[i] << "\n";
365  }
366 
367  out.flush();
368 
369  return out;
370 }
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
char m_rnpwry[MAXPOWER_SIZE+1]
std::vector< ossimString > m_rnpcf
std::vector< ossimString > m_cdpcf
char m_csn[CSN_SIZE+1]
std::vector< ossimString > m_cnpcf
char m_rnpwrx[MAXPOWER_SIZE+1]
ossim_uint32 m_rowDenNumTerms
char m_rsn[RSN_SIZE+1]
char m_znrmsf[FLOAT21_SIZE+1]
static ossimString toString(bool aValue)
Numeric to string methods.
char m_rdpwrz[MAXPOWER_SIZE+1]
char m_rnrmsf[FLOAT21_SIZE+1]
char m_ynrmsf[FLOAT21_SIZE+1]
char m_rdtrms[NUMTERMS_SIZE+1]
char m_ynrmo[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
unsigned int ossim_uint32
char m_rntrms[NUMTERMS_SIZE+1]
char m_cnrmsf[FLOAT21_SIZE+1]
char m_rnpwrz[MAXPOWER_SIZE+1]
char m_znrmo[FLOAT21_SIZE+1]
char m_rnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colDenNumTerms
char m_xnrmsf[FLOAT21_SIZE+1]
char m_xnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colNumNumTerms
char m_rdpwrx[MAXPOWER_SIZE+1]
char m_cfep[FLOAT21_SIZE+1]
virtual ossim_uint32 getSizeInBytes() const
Returns the length in bytes of the tag from the CEL or REL field.
std::vector< ossimString > m_rdpcf
ossim_uint32 m_rowNumNumTerms
char m_cnrmo[FLOAT21_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rdpwry[MAXPOWER_SIZE+1]
char m_rfep[FLOAT21_SIZE+1]

◆ writeStream()

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

Definition at line 161 of file ossimNitfRsmpcaTag.cpp.

References CSN_SIZE, EDITION_SIZE, FLOAT21_SIZE, IID_SIZE, m_cdpcf, m_cdpwrx, m_cdpwry, m_cdpwrz, m_cdtrms, m_cfep, m_cnpcf, m_cnpwrx, m_cnpwry, m_cnpwrz, m_cnrmo, m_cnrmsf, m_cntrms, m_colDenNumTerms, m_colNumNumTerms, m_csn, m_edition, m_iid, m_rdpcf, m_rdpwrx, m_rdpwry, m_rdpwrz, m_rdtrms, m_rfep, m_rnpcf, m_rnpwrx, m_rnpwry, m_rnpwrz, m_rnrmo, m_rnrmsf, m_rntrms, m_rowDenNumTerms, m_rowNumNumTerms, m_rsn, m_xnrmo, m_xnrmsf, m_ynrmo, m_ynrmsf, m_znrmo, m_znrmsf, MAXPOWER_SIZE, NUMTERMS_SIZE, and RSN_SIZE.

162 {
163  out.write(m_iid, IID_SIZE);
164  out.write(m_edition, EDITION_SIZE);
165  out.write(m_rsn, RSN_SIZE);
166  out.write(m_csn, CSN_SIZE);
167  out.write(m_rfep, FLOAT21_SIZE);
168  out.write(m_cfep, FLOAT21_SIZE);
169  out.write(m_rnrmo, FLOAT21_SIZE);
170  out.write(m_cnrmo, FLOAT21_SIZE);
171  out.write(m_xnrmo, FLOAT21_SIZE);
172  out.write(m_ynrmo, FLOAT21_SIZE);
173  out.write(m_znrmo, FLOAT21_SIZE);
174  out.write(m_rnrmsf, FLOAT21_SIZE);
175  out.write(m_cnrmsf, FLOAT21_SIZE);
176  out.write(m_xnrmsf, FLOAT21_SIZE);
177  out.write(m_ynrmsf, FLOAT21_SIZE);
178  out.write(m_znrmsf, FLOAT21_SIZE);
179 
180  out.write(m_rnpwrx, MAXPOWER_SIZE);
181  out.write(m_rnpwry, MAXPOWER_SIZE);
182  out.write(m_rnpwrz, MAXPOWER_SIZE);
183  out.write(m_rntrms, NUMTERMS_SIZE);
184  ossim_uint32 idx = 0;
185  for(idx = 0; idx < m_rowNumNumTerms; ++idx)
186  {
187  out.write(m_rnpcf[idx], FLOAT21_SIZE);
188  }
189 
190  out.write(m_rdpwrx, MAXPOWER_SIZE);
191  out.write(m_rdpwry, MAXPOWER_SIZE);
192  out.write(m_rdpwrz, MAXPOWER_SIZE);
193  out.write(m_rdtrms, NUMTERMS_SIZE);
194  for(idx = 0; idx < m_rowDenNumTerms; ++idx)
195  {
196  out.write(m_rdpcf[idx], FLOAT21_SIZE);
197  }
198 
199  out.write(m_cnpwrx, MAXPOWER_SIZE);
200  out.write(m_cnpwry, MAXPOWER_SIZE);
201  out.write(m_cnpwrz, MAXPOWER_SIZE);
202  out.write(m_cntrms, NUMTERMS_SIZE);
203  for(idx = 0; idx < m_colNumNumTerms; ++idx)
204  {
205  out.write(m_cnpcf[idx], FLOAT21_SIZE);
206  }
207 
208  out.write(m_cdpwrx, MAXPOWER_SIZE);
209  out.write(m_cdpwry, MAXPOWER_SIZE);
210  out.write(m_cdpwrz, MAXPOWER_SIZE);
211  out.write(m_cdtrms, NUMTERMS_SIZE);
212  for(idx = 0; idx < m_colDenNumTerms; ++idx)
213  {
214  out.write(m_cdpcf[idx], FLOAT21_SIZE);
215  }
216 }
char m_cnpwrz[MAXPOWER_SIZE+1]
char m_rnpwry[MAXPOWER_SIZE+1]
std::vector< ossimString > m_rnpcf
std::vector< ossimString > m_cdpcf
char m_csn[CSN_SIZE+1]
std::vector< ossimString > m_cnpcf
char m_rnpwrx[MAXPOWER_SIZE+1]
ossim_uint32 m_rowDenNumTerms
char m_rsn[RSN_SIZE+1]
char m_znrmsf[FLOAT21_SIZE+1]
char m_rdpwrz[MAXPOWER_SIZE+1]
char m_rnrmsf[FLOAT21_SIZE+1]
char m_cdpwrz[MAXPOWER_SIZE+1]
char m_ynrmsf[FLOAT21_SIZE+1]
char m_rdtrms[NUMTERMS_SIZE+1]
char m_ynrmo[FLOAT21_SIZE+1]
char m_edition[EDITION_SIZE+1]
unsigned int ossim_uint32
char m_rntrms[NUMTERMS_SIZE+1]
char m_cnrmsf[FLOAT21_SIZE+1]
char m_rnpwrz[MAXPOWER_SIZE+1]
char m_znrmo[FLOAT21_SIZE+1]
char m_cnpwry[MAXPOWER_SIZE+1]
char m_rnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colDenNumTerms
char m_cnpwrx[MAXPOWER_SIZE+1]
char m_xnrmsf[FLOAT21_SIZE+1]
char m_xnrmo[FLOAT21_SIZE+1]
ossim_uint32 m_colNumNumTerms
char m_rdpwrx[MAXPOWER_SIZE+1]
char m_cfep[FLOAT21_SIZE+1]
std::vector< ossimString > m_rdpcf
ossim_uint32 m_rowNumNumTerms
char m_cnrmo[FLOAT21_SIZE+1]
char m_cdpwrx[MAXPOWER_SIZE+1]
char m_cdtrms[NUMTERMS_SIZE+1]
char m_cdpwry[MAXPOWER_SIZE+1]
char m_cntrms[NUMTERMS_SIZE+1]
char m_iid[IID_SIZE+1]
char m_rdpwry[MAXPOWER_SIZE+1]
char m_rfep[FLOAT21_SIZE+1]

Member Data Documentation

◆ m_cdpcf

std::vector<ossimString> ossimNitfRsmpcaTag::m_cdpcf
protected

Definition at line 118 of file ossimNitfRsmpcaTag.h.

Referenced by getCdpcf(), and writeStream().

◆ m_cdpwrx

char ossimNitfRsmpcaTag::m_cdpwrx[MAXPOWER_SIZE+1]
protected

Definition at line 114 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCdpwrx(), and writeStream().

◆ m_cdpwry

char ossimNitfRsmpcaTag::m_cdpwry[MAXPOWER_SIZE+1]
protected

Definition at line 115 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCdpwry(), and writeStream().

◆ m_cdpwrz

char ossimNitfRsmpcaTag::m_cdpwrz[MAXPOWER_SIZE+1]
protected

Definition at line 116 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCdpwrz(), and writeStream().

◆ m_cdtrms

char ossimNitfRsmpcaTag::m_cdtrms[NUMTERMS_SIZE+1]
protected

Definition at line 117 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCdtrms(), and writeStream().

◆ m_cfep

char ossimNitfRsmpcaTag::m_cfep[FLOAT21_SIZE+1]
protected

Definition at line 84 of file ossimNitfRsmpcaTag.h.

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

◆ m_cnpcf

std::vector<ossimString> ossimNitfRsmpcaTag::m_cnpcf
protected

Definition at line 112 of file ossimNitfRsmpcaTag.h.

Referenced by getCnpcf(), and writeStream().

◆ m_cnpwrx

char ossimNitfRsmpcaTag::m_cnpwrx[MAXPOWER_SIZE+1]
protected

Definition at line 108 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCnpwrx(), and writeStream().

◆ m_cnpwry

char ossimNitfRsmpcaTag::m_cnpwry[MAXPOWER_SIZE+1]
protected

Definition at line 109 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCnpwry(), and writeStream().

◆ m_cnpwrz

char ossimNitfRsmpcaTag::m_cnpwrz[MAXPOWER_SIZE+1]
protected

Definition at line 110 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCnpwrz(), and writeStream().

◆ m_cnrmo

char ossimNitfRsmpcaTag::m_cnrmo[FLOAT21_SIZE+1]
protected

Definition at line 86 of file ossimNitfRsmpcaTag.h.

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

◆ m_cnrmsf

char ossimNitfRsmpcaTag::m_cnrmsf[FLOAT21_SIZE+1]
protected

Definition at line 91 of file ossimNitfRsmpcaTag.h.

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

◆ m_cntrms

char ossimNitfRsmpcaTag::m_cntrms[NUMTERMS_SIZE+1]
protected

Definition at line 111 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getCntrms(), and writeStream().

◆ m_colDenNumTerms

ossim_uint32 ossimNitfRsmpcaTag::m_colDenNumTerms
protected

Definition at line 123 of file ossimNitfRsmpcaTag.h.

Referenced by getCdpcf(), and writeStream().

◆ m_colNumNumTerms

ossim_uint32 ossimNitfRsmpcaTag::m_colNumNumTerms
protected

Definition at line 122 of file ossimNitfRsmpcaTag.h.

Referenced by getCnpcf(), and writeStream().

◆ m_csn

char ossimNitfRsmpcaTag::m_csn[CSN_SIZE+1]
protected

Definition at line 82 of file ossimNitfRsmpcaTag.h.

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

◆ m_edition

char ossimNitfRsmpcaTag::m_edition[EDITION_SIZE+1]
protected

Definition at line 80 of file ossimNitfRsmpcaTag.h.

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

◆ m_iid

char ossimNitfRsmpcaTag::m_iid[IID_SIZE+1]
protected

Definition at line 79 of file ossimNitfRsmpcaTag.h.

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

◆ m_rdpcf

std::vector<ossimString> ossimNitfRsmpcaTag::m_rdpcf
protected

Definition at line 106 of file ossimNitfRsmpcaTag.h.

Referenced by getRdpcf(), and writeStream().

◆ m_rdpwrx

char ossimNitfRsmpcaTag::m_rdpwrx[MAXPOWER_SIZE+1]
protected

Definition at line 102 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getRdpwrx(), print(), and writeStream().

◆ m_rdpwry

char ossimNitfRsmpcaTag::m_rdpwry[MAXPOWER_SIZE+1]
protected

Definition at line 103 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getRdpwry(), print(), and writeStream().

◆ m_rdpwrz

char ossimNitfRsmpcaTag::m_rdpwrz[MAXPOWER_SIZE+1]
protected

Definition at line 104 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getRdpwrz(), print(), and writeStream().

◆ m_rdtrms

char ossimNitfRsmpcaTag::m_rdtrms[NUMTERMS_SIZE+1]
protected

Definition at line 105 of file ossimNitfRsmpcaTag.h.

Referenced by clearFields(), getRdtrms(), print(), and writeStream().

◆ m_rfep

char ossimNitfRsmpcaTag::m_rfep[FLOAT21_SIZE+1]
protected

Definition at line 83 of file ossimNitfRsmpcaTag.h.

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

◆ m_rnpcf

std::vector<ossimString> ossimNitfRsmpcaTag::m_rnpcf
protected

Definition at line 100 of file ossimNitfRsmpcaTag.h.

Referenced by getRnpcf(), parseStream(), and writeStream().

◆ m_rnpwrx

char ossimNitfRsmpcaTag::m_rnpwrx[MAXPOWER_SIZE+1]
protected

Definition at line 96 of file ossimNitfRsmpcaTag.h.

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

◆ m_rnpwry

char ossimNitfRsmpcaTag::m_rnpwry[MAXPOWER_SIZE+1]
protected

Definition at line 97 of file ossimNitfRsmpcaTag.h.

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

◆ m_rnpwrz

char ossimNitfRsmpcaTag::m_rnpwrz[MAXPOWER_SIZE+1]
protected

Definition at line 98 of file ossimNitfRsmpcaTag.h.

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

◆ m_rnrmo

char ossimNitfRsmpcaTag::m_rnrmo[FLOAT21_SIZE+1]
protected

Definition at line 85 of file ossimNitfRsmpcaTag.h.

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

◆ m_rnrmsf

char ossimNitfRsmpcaTag::m_rnrmsf[FLOAT21_SIZE+1]
protected

Definition at line 90 of file ossimNitfRsmpcaTag.h.

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

◆ m_rntrms

char ossimNitfRsmpcaTag::m_rntrms[NUMTERMS_SIZE+1]
protected

Definition at line 99 of file ossimNitfRsmpcaTag.h.

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

◆ m_rowDenNumTerms

ossim_uint32 ossimNitfRsmpcaTag::m_rowDenNumTerms
protected

Definition at line 121 of file ossimNitfRsmpcaTag.h.

Referenced by getRdpcf(), and writeStream().

◆ m_rowNumNumTerms

ossim_uint32 ossimNitfRsmpcaTag::m_rowNumNumTerms
protected

Definition at line 120 of file ossimNitfRsmpcaTag.h.

Referenced by getRnpcf(), parseStream(), print(), and writeStream().

◆ m_rsn

char ossimNitfRsmpcaTag::m_rsn[RSN_SIZE+1]
protected

Definition at line 81 of file ossimNitfRsmpcaTag.h.

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

◆ m_xnrmo

char ossimNitfRsmpcaTag::m_xnrmo[FLOAT21_SIZE+1]
protected

Definition at line 87 of file ossimNitfRsmpcaTag.h.

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

◆ m_xnrmsf

char ossimNitfRsmpcaTag::m_xnrmsf[FLOAT21_SIZE+1]
protected

Definition at line 92 of file ossimNitfRsmpcaTag.h.

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

◆ m_ynrmo

char ossimNitfRsmpcaTag::m_ynrmo[FLOAT21_SIZE+1]
protected

Definition at line 88 of file ossimNitfRsmpcaTag.h.

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

◆ m_ynrmsf

char ossimNitfRsmpcaTag::m_ynrmsf[FLOAT21_SIZE+1]
protected

Definition at line 93 of file ossimNitfRsmpcaTag.h.

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

◆ m_znrmo

char ossimNitfRsmpcaTag::m_znrmo[FLOAT21_SIZE+1]
protected

Definition at line 89 of file ossimNitfRsmpcaTag.h.

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

◆ m_znrmsf

char ossimNitfRsmpcaTag::m_znrmsf[FLOAT21_SIZE+1]
protected

Definition at line 94 of file ossimNitfRsmpcaTag.h.

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


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