OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfRegisteredDes.h>
Public Member Functions | |
ossimNitfRegisteredDes () | |
default constructor More... | |
ossimNitfRegisteredDes (const std::string &desName, ossim_uint32 desLength) | |
Constructor that takes name and size. More... | |
virtual | ~ossimNitfRegisteredDes () |
destructor More... | |
virtual std::string | getRegisterDesName () const |
This will return the name of the registered des for this user defined header. More... | |
virtual const std::string & | getDesName () const |
This will return the name of the registered des for this user defined header. More... | |
virtual void | setDesName (const std::string &desName) |
virtual ossim_uint32 | getSizeInBytes () const |
Returns the length in bytes of the des from the CEL or REL field. More... | |
virtual ossim_uint32 | getDesLength () const |
Returns the length in bytes of the des from the CEL or REL field. More... | |
virtual void | setDesLength (ossim_uint32 length) |
Set the des length. More... | |
virtual void | parseStream (std::istream &in)=0 |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (std::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_desName |
ossim_uint32 | m_desLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 24 of file ossimNitfRegisteredDes.h.
ossimNitfRegisteredDes::ossimNitfRegisteredDes | ( | ) |
default constructor
Definition at line 22 of file ossimNitfRegisteredDes.cpp.
ossimNitfRegisteredDes::ossimNitfRegisteredDes | ( | const std::string & | desName, |
ossim_uint32 | desLength | ||
) |
Constructor that takes name and size.
Definition at line 29 of file ossimNitfRegisteredDes.cpp.
|
virtual |
|
virtual |
Returns the length in bytes of the des 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 ossimNitfRegisteredDes.cpp.
References m_desLength.
Referenced by getSizeInBytes(), and ossimNitfDesInformation::parseStream().
|
virtual |
This will return the name of the registered des for this user defined header.
Definition at line 46 of file ossimNitfRegisteredDes.cpp.
References m_desName.
Referenced by ossimNitfDesInformation::parseStream(), and ossimNitfXmlDataContentDes::print().
|
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 ossimNitfRegisteredDes.cpp.
|
virtual |
Reimplemented from ossimPropertyInterface.
Definition at line 76 of file ossimNitfRegisteredDes.cpp.
|
virtual |
Reimplemented from ossimPropertyInterface.
Definition at line 81 of file ossimNitfRegisteredDes.cpp.
|
virtual |
This will return the name of the registered des for this user defined header.
Definition at line 40 of file ossimNitfRegisteredDes.cpp.
References m_desName.
|
virtual |
Returns the length in bytes of the des 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 56 of file ossimNitfRegisteredDes.cpp.
References getDesLength().
Referenced by ossimNitfXmlDataContentDes::parseStream().
|
pure virtual |
This will allow the user defined data to parse the stream.
Implemented in ossimNitfXmlDataContentDes.
Referenced by ossimNitfDesInformation::parseStream().
|
virtual |
Pure virtual print method that outputs a key/value type format adding prefix to keys.
Reimplemented in ossimNitfXmlDataContentDes.
Definition at line 90 of file ossimNitfRegisteredDes.cpp.
Referenced by ossimNitfDesInformation::print(), and saveState().
|
virtual |
Definition at line 97 of file ossimNitfRegisteredDes.cpp.
References ossimKeywordlist::add(), ossimKeywordlist::parseStream(), and print().
|
virtual |
Set the des length.
length | Length of des. |
Definition at line 67 of file ossimNitfRegisteredDes.cpp.
References m_desLength.
Referenced by ossimNitfDesInformation::parseStream().
|
virtual |
desName | Name of des. |
Definition at line 51 of file ossimNitfRegisteredDes.cpp.
References m_desName.
|
virtual |
Reimplemented from ossimPropertyInterface.
Definition at line 72 of file ossimNitfRegisteredDes.cpp.
|
pure virtual |
Implemented in ossimNitfXmlDataContentDes.
|
protected |
Definition at line 119 of file ossimNitfRegisteredDes.h.
Referenced by getDesLength(), and setDesLength().
|
protected |
Definition at line 118 of file ossimNitfRegisteredDes.h.
Referenced by getDesName(), getRegisterDesName(), and setDesName().