OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfRegisteredTag.h>
Public Member Functions | |
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 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... | |
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 Attributes | |
std::string | m_tagName |
ossim_uint32 | m_tagLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 26 of file ossimNitfRegisteredTag.h.
ossimNitfRegisteredTag::ossimNitfRegisteredTag | ( | ) |
default constructor
Definition at line 22 of file ossimNitfRegisteredTag.cpp.
ossimNitfRegisteredTag::ossimNitfRegisteredTag | ( | const std::string & | tagName, |
ossim_uint32 | tagLength | ||
) |
Constructor that takes name and size.
Definition at line 29 of file ossimNitfRegisteredTag.cpp.
|
virtual |
|
virtual |
Default interface to populate keyword list with metadata.
expample: country_code: US This implementation does nothing. Derived classes should implement as they see fit.
kwl | Keywordlist to populate with metadata. |
prefix | Optional prefix to put in front of key, like: "image1.". |
Definition at line 85 of file ossimNitfRegisteredTag.cpp.
|
virtual |
Reimplemented from ossimPropertyInterface.
Reimplemented in ossimNitfRpcBase, ossimNitfIchipbTag, ossimNitfPiaimcTag, ossimNitfUse00aTag, and ossimNitfStdidcTag.
Definition at line 76 of file ossimNitfRegisteredTag.cpp.
|
virtual |
Reimplemented from ossimPropertyInterface.
Reimplemented in ossimNitfRpcBase, ossimNitfIchipbTag, ossimNitfPiaimcTag, ossimNitfUse00aTag, and ossimNitfStdidcTag.
Definition at line 81 of file ossimNitfRegisteredTag.cpp.
Referenced by ossimNitfStdidcTag::getPropertyNames(), ossimNitfUse00aTag::getPropertyNames(), ossimNitfPiaimcTag::getPropertyNames(), and ossimNitfIchipbTag::getPropertyNames().
|
virtual |
This will return the name of the registered tag for this user defined header.
Definition at line 40 of file ossimNitfRegisteredTag.cpp.
References m_tagName.
Referenced by ossimNitfProjectionParameterTag::print(), and ossimNitfTagInformation::setTagData().
|
virtual |
Returns the length in bytes of the tag from the CEL or REL field.
The entire TRE length is 11 plus this(the size of the CEL or REL field).
Reimplemented in ossimNitfHistoaTag, ossimNitfJ2klraTag, and ossimNitfProjectionParameterTag.
Definition at line 56 of file ossimNitfRegisteredTag.cpp.
References getTagLength().
Referenced by ossimNitfRsmpcaTag::print(), ossimNitfEngrdaTag::print(), ossimNitfRsmecaTag::print(), ossimNitfRpcBase::print(), and ossimNitfTagInformation::setTagData().
|
virtual |
Returns the length in bytes of the tag from the CEL or REL field.
The entire TRE length is 11 plus this(the size of the CEL or REL field).
Definition at line 62 of file ossimNitfRegisteredTag.cpp.
References m_tagLength.
Referenced by getSizeInBytes(), ossimNitfTagInformation::parseStream(), ossimNitfProjectionParameterTag::print(), ossimNitfCsproaTag::print(), ossimNitfGeoPositioningTag::print(), ossimNitfRsmidaTag::print(), ossimNitfRsmpiaTag::print(), ossimNitfCscrnaTag::print(), ossimNitfCsdidaTag::print(), ossimNitfCsexraTag::print(), ossimNitfCsccgaTag::print(), ossimNitfExoptaTag::print(), ossimNitfUnknownTag::print(), ossimNitfGeolobTag::print(), ossimNitfMstgtaTag::print(), ossimNitfSensraTag::print(), ossimNitfAimidbTag::print(), ossimNitfBlockaTag::print(), ossimNitfJ2klraTag::print(), ossimNitfPiaimcTag::print(), ossimNitfAcftbTag::print(), ossimNitfIchipbTag::print(), ossimNitfStdidcTag::print(), and ossimNitfUse00aTag::print().
|
virtual |
This will return the name of the registered tag for this user defined header.
Definition at line 46 of file ossimNitfRegisteredTag.cpp.
References m_tagName.
Referenced by ossimNitfTagInformation::parseStream(), ossimNitfCsproaTag::print(), ossimNitfRsmpcaTag::print(), ossimNitfGeoPositioningTag::print(), ossimNitfRsmidaTag::print(), ossimNitfStreobTag::print(), ossimNitfRsmpiaTag::print(), ossimNitfCscrnaTag::print(), ossimNitfCsdidaTag::print(), ossimNitfCsexraTag::print(), ossimNitfCsccgaTag::print(), ossimNitfExoptaTag::print(), ossimNitfUnknownTag::print(), ossimNitfGeolobTag::print(), ossimNitfEngrdaTag::print(), ossimNitfMstgtaTag::print(), ossimNitfSensraTag::print(), ossimNitfAimidbTag::print(), ossimNitfBlockaTag::print(), ossimNitfJ2klraTag::print(), ossimNitfPiaimcTag::print(), ossimNitfAcftbTag::print(), ossimNitfRsmecaTag::print(), ossimNitfIchipbTag::print(), ossimNitfStdidcTag::print(), ossimNitfUse00aTag::print(), ossimNitfRpcBase::print(), and ossimNitfHistoaTag::print().
|
pure virtual |
This will allow the user defined data to parse the stream.
Implemented in ossimNitfAcftbTag, ossimNitfAimidbTag, ossimNitfBlockaTag, ossimNitfGeolobTag, and ossimNitfCsccgaTag.
Referenced by ossimNitfTagInformation::parseStream().
|
virtual |
Pure virtual print method that outputs a key/value type format adding prefix to keys.
Reimplemented in ossimNitfHistoaTag, ossimNitfRpcBase, ossimNitfUse00aTag, ossimNitfStdidcTag, ossimNitfIchipbTag, ossimNitfRsmecaTag, ossimNitfAcftbTag, ossimNitfPiaimcTag, ossimNitfJ2klraTag, ossimRpfHeader, ossimNitfBlockaTag, ossimNitfAimidbTag, ossimNitfSensraTag, ossimNitfMstgtaTag, ossimNitfEngrdaTag, ossimNitfGeolobTag, ossimNitfUnknownTag, ossimNitfCsccgaTag, ossimNitfExoptaTag, ossimNitfCscrnaTag, ossimNitfCsdidaTag, ossimNitfCsexraTag, ossimNitfRsmpiaTag, ossimNitfRsmidaTag, ossimNitfStreobTag, ossimNitfGeoPositioningTag, ossimNitfRsmpcaTag, ossimNitfCsproaTag, ossimNitfEmbeddedRpfDes, and ossimNitfProjectionParameterTag.
Definition at line 90 of file ossimNitfRegisteredTag.cpp.
Referenced by ossimNitfImageHeader::printTags(), ossimNitfFileHeader::printTags(), and saveState().
|
virtual |
Definition at line 97 of file ossimNitfRegisteredTag.cpp.
References ossimKeywordlist::add(), ossimKeywordlist::parseStream(), and print().
Referenced by ossimNitfImageHeader::saveState(), and ossimNitfFileHeader::saveState().
|
virtual |
Reimplemented from ossimPropertyInterface.
Reimplemented in ossimNitfRpcBase, ossimNitfIchipbTag, ossimNitfPiaimcTag, ossimNitfUse00aTag, and ossimNitfStdidcTag.
Definition at line 72 of file ossimNitfRegisteredTag.cpp.
Referenced by ossimNitfStdidcTag::setProperty(), ossimNitfUse00aTag::setProperty(), ossimNitfPiaimcTag::setProperty(), and ossimNitfIchipbTag::setProperty().
|
virtual |
Set the tag length.
length | Length of tag. |
Reimplemented in ossimNitfUnknownTag.
Definition at line 67 of file ossimNitfRegisteredTag.cpp.
References m_tagLength.
Referenced by ossimNitfProjectionParameterTag::clearFields(), ossimNitfJ2klraTag::clearFields(), ossimNitfHistoaTag::clearFields(), ossimNitfRpcBase::ossimNitfRpcBase(), ossimNitfProjectionParameterTag::parseStream(), ossimNitfTagInformation::parseStream(), ossimNitfJ2klraTag::parseStream(), and ossimNitfHistoaTag::parseStream().
|
virtual |
tagName | Name of tag. |
Definition at line 51 of file ossimNitfRegisteredTag.cpp.
References m_tagName.
Referenced by ossimNitfRpcATag::ossimNitfRpcATag(), ossimNitfRpcBTag::ossimNitfRpcBTag(), and ossimNitfTagInformation::parseStream().
|
pure virtual |
Implemented in ossimNitfAcftbTag, ossimNitfBlockaTag, ossimNitfAimidbTag, ossimNitfGeolobTag, and ossimNitfCsccgaTag.
Referenced by ossimNitfTagInformation::writeStream().
|
protected |
Definition at line 121 of file ossimNitfRegisteredTag.h.
Referenced by getTagLength(), ossimNitfUnknownTag::parseStream(), ossimNitfUnknownTag::setTagLength(), setTagLength(), ossimNitfUnknownTag::tagDataIsAscii(), ossimNitfUnknownTag::tagDataIsXml(), and ossimNitfUnknownTag::writeStream().
|
protected |
Definition at line 120 of file ossimNitfRegisteredTag.h.
Referenced by getRegisterTagName(), getTagName(), and setTagName().