|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfEngrdaTag.h>
Classes | |
| class | ossimEngDataElement |
| Container class for an Engineering Data Element Record. More... | |
Public Types | |
| enum | { RESRC_SIZE = 20, RECNT_SIZE = 3, ENGLN_SIZE = 2, ENGMTXC_SIZE = 4, ENGMTXR_SIZE = 4, ENGTYP_SIZE = 1, ENGDTS_SIZE = 1, ENGDATU_SIZE = 2, ENGDATC_SIZE = 8, TMP_BUF_SIZE = 128 } |
Public Member Functions | |
| ossimNitfEngrdaTag () | |
| default constructor More... | |
| virtual | ~ossimNitfEngrdaTag () |
| destructor More... | |
| virtual void | parseStream (std::istream &in) |
| Method to parse data from stream. More... | |
| virtual void | writeStream (std::ostream &out) |
| Method to write data to stream. More... | |
| virtual void | clearFields () |
| Method to clear all fields including null terminating. More... | |
| virtual std::ostream & | print (std::ostream &out, const std::string &prefix=std::string()) const |
| Print method that outputs a key/value type format adding prefix to keys. More... | |
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< ossimProperty > | getProperty (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 ossimObject * | dup () 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 &) | |
| ossimReferenced & | operator= (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 Member Functions | |
| std::ostream & | printData (std::ostream &out, const ossimEngDataElement &element, ossim_uint32 elIndex, const std::string &prefix) const |
| Method to print out a ossimEngDataElement object. More... | |
| template<class T > | |
| void | getValueAsString (T v, ossim_uint16 w, std::string &s) const |
| Method to convert value to a string, padding with zero's, left justified. More... | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Protected Attributes | |
| char | m_reSrc [RESRC_SIZE+1] |
| Type R = Required Type <R> = BCS spaces allowed for entire field. More... | |
| char | m_reCnt [RECNT_SIZE+1] |
| FIELD: RECNT. More... | |
| std::vector< ossimEngDataElement > | m_data |
Protected Attributes inherited from ossimNitfRegisteredTag | |
| std::string | m_tagName |
| ossim_uint32 | m_tagLength |
Definition at line 24 of file ossimNitfEngrdaTag.h.
| anonymous enum |
| Enumerator | |
|---|---|
| RESRC_SIZE | |
| RECNT_SIZE | |
| ENGLN_SIZE | |
| ENGMTXC_SIZE | |
| ENGMTXR_SIZE | |
| ENGTYP_SIZE | |
| ENGDTS_SIZE | |
| ENGDATU_SIZE | |
| ENGDATC_SIZE | |
| TMP_BUF_SIZE | |
Definition at line 28 of file ossimNitfEngrdaTag.h.
| ossimNitfEngrdaTag::ossimNitfEngrdaTag | ( | ) |
default constructor
Definition at line 30 of file ossimNitfEngrdaTag.cpp.
References clearFields().
|
virtual |
|
virtual |
Method to clear all fields including null terminating.
Definition at line 149 of file ossimNitfEngrdaTag.cpp.
References m_data, m_reCnt, m_reSrc, RECNT_SIZE, and RESRC_SIZE.
Referenced by ossimNitfEngrdaTag(), and parseStream().
|
protected |
Method to convert value to a string, padding with zero's, left justified.
| v | The value to convert. |
| w | The width of the string field. |
| s | The string to stuff. |
Definition at line 236 of file ossimNitfEngrdaTag.cpp.
|
virtual |
Method to parse data from stream.
Definition at line 40 of file ossimNitfEngrdaTag.cpp.
References clearFields(), ENGDATC_SIZE, ENGDATU_SIZE, ENGLN_SIZE, ENGMTXC_SIZE, ENGMTXR_SIZE, m_data, ossimNitfEngrdaTag::ossimEngDataElement::m_engDat, ossimNitfEngrdaTag::ossimEngDataElement::m_engDatC, ossimNitfEngrdaTag::ossimEngDataElement::m_engDatU, ossimNitfEngrdaTag::ossimEngDataElement::m_engDts, ossimNitfEngrdaTag::ossimEngDataElement::m_engLbl, ossimNitfEngrdaTag::ossimEngDataElement::m_engLn, ossimNitfEngrdaTag::ossimEngDataElement::m_engMtxC, ossimNitfEngrdaTag::ossimEngDataElement::m_engMtxR, ossimNitfEngrdaTag::ossimEngDataElement::m_engTyp, m_reCnt, m_reSrc, RECNT_SIZE, RESRC_SIZE, size, TMP_BUF_SIZE, ossimString::toUInt16(), and ossimString::toUInt32().
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
| out | Stream to output to. |
| prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 163 of file ossimNitfEngrdaTag.cpp.
References ossimNitfRegisteredTag::getSizeInBytes(), ossimNitfRegisteredTag::getTagName(), m_data, m_reCnt, m_reSrc, and printData().
|
protected |
Method to print out a ossimEngDataElement object.
| out | Stream to print to. |
| element | The element to print. |
| elIndex | The index of the element array index. |
| prefix | The prefix to add to key. |
Definition at line 204 of file ossimNitfEngrdaTag.cpp.
References ossimNitfEngrdaTag::ossimEngDataElement::m_engDat, and ossimNitfEngrdaTag::ossimEngDataElement::m_engTyp.
Referenced by print().
|
virtual |
Method to write data to stream.
Definition at line 105 of file ossimNitfEngrdaTag.cpp.
References ENGDATC_SIZE, ENGDATU_SIZE, ENGDTS_SIZE, ENGLN_SIZE, ENGMTXC_SIZE, ENGMTXR_SIZE, ENGTYP_SIZE, m_data, m_reCnt, m_reSrc, RECNT_SIZE, RESRC_SIZE, and ossimString::toUInt16().
|
protected |
Definition at line 210 of file ossimNitfEngrdaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: RECNT.
TYPE: BCS-N
3 byte field
Record Entry Count 001 - 999
Definition at line 208 of file ossimNitfEngrdaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Type R = Required Type <R> = BCS spaces allowed for entire field.
FIELD: RESRC
TYPE: BCS-A
20 byte field
Unique Source System Name.
Definition at line 197 of file ossimNitfEngrdaTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
1.8.14