OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfUnknownTag.h>
Public Member Functions | |
ossimNitfUnknownTag () | |
default constructor More... | |
virtual | ~ossimNitfUnknownTag () |
destructor More... | |
virtual void | parseStream (std::istream &in) |
Parse method. More... | |
virtual void | writeStream (std::ostream &out) |
Write method. More... | |
virtual void | clearFields () |
Clears all string fields within the record to some default nothingness. 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... | |
virtual void | setTagLength (ossim_uint32 length) |
![]() | |
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 | 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 |
![]() | |
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) |
![]() | |
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 |
![]() | |
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 | |
bool | tagDataIsAscii () const |
bool | tagDataIsXml () const |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
char * | m_tagData |
Holds entire tag data(theTagLength) plus one byte for null terminator. More... | |
![]() | |
std::string | m_tagName |
ossim_uint32 | m_tagLength |
Definition at line 21 of file ossimNitfUnknownTag.h.
ossimNitfUnknownTag::ossimNitfUnknownTag | ( | ) |
default constructor
Definition at line 26 of file ossimNitfUnknownTag.cpp.
|
virtual |
destructor
Definition at line 31 of file ossimNitfUnknownTag.cpp.
References m_tagData.
|
virtual |
Clears all string fields within the record to some default nothingness.
Definition at line 65 of file ossimNitfUnknownTag.cpp.
References m_tagData.
|
virtual |
Parse method.
in | Stream to parse. This will read the entire tag length into an array. |
Definition at line 40 of file ossimNitfUnknownTag.cpp.
References m_tagData, and ossimNitfRegisteredTag::m_tagLength.
|
virtual |
print method that outputs a key/value type format adding prefix to keys.
Reimplemented from ossimNitfRegisteredTag.
Definition at line 74 of file ossimNitfUnknownTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), m_tagData, tagDataIsAscii(), and tagDataIsXml().
|
virtual |
length | Length of tag. |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 115 of file ossimNitfUnknownTag.cpp.
References m_tagData, and ossimNitfRegisteredTag::m_tagLength.
|
protected |
Definition at line 125 of file ossimNitfUnknownTag.cpp.
References m_tagData, and ossimNitfRegisteredTag::m_tagLength.
Referenced by print().
|
protected |
Definition at line 101 of file ossimNitfUnknownTag.cpp.
References ossimString::length(), m_tagData, ossimNitfRegisteredTag::m_tagLength, and ossimString::substr().
Referenced by print().
|
virtual |
Write method.
out | Stream to write to. |
Definition at line 57 of file ossimNitfUnknownTag.cpp.
References m_tagData, and ossimNitfRegisteredTag::m_tagLength.
|
protected |
Holds entire tag data(theTagLength) plus one byte for null terminator.
Definition at line 79 of file ossimNitfUnknownTag.h.
Referenced by clearFields(), parseStream(), print(), setTagLength(), tagDataIsAscii(), tagDataIsXml(), writeStream(), and ~ossimNitfUnknownTag().