OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfXmlDataContentDes.h>
Public Types | |
enum | { DESSHL_SIZE = 4, DESCRC_SIZE = 5, DESSHFT_SIZE = 8, DESSHDT_SIZE = 20, DESSHRP_SIZE = 40, DESSHSI_SIZE = 60, DESSHSV_SIZE = 10, DESSHSD_SIZE = 20, DESSHTN_SIZE = 120, DESSHLPG_SIZE = 125, DESSHLPT_SIZE = 25, DESSHLI_SIZE = 20, DESSHLIN_SIZE = 120, DESSHABS_SIZE = 200 } |
Public Member Functions | |
ossimNitfXmlDataContentDes () | |
virtual void | parseStream (std::istream &in) |
This will allow the user defined data to parse the stream. More... | |
virtual void | writeStream (std::ostream &out) |
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 void | clearFields () |
bool | loadState (const ossimKeywordlist &kwl, const char *prefix) |
bool | loadValueFromXml (const ossimRefPtr< ossimXmlDocument >, const ossimString &xpath, ossimString &target) const |
ossimString | getDesshl () const |
ossim_uint32 | getDesshlAsUint32 () const |
ossimString | getDescrc () const |
ossimString | getDesshft () const |
ossimString | getDesshdt () const |
ossimString | getDesshrp () const |
ossimString | getDesshsi () const |
ossimString | getDesshsv () const |
ossimString | getDesshsd () const |
ossimString | getDesshtn () const |
![]() | |
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 | 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 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 | |
char | m_desshl [DESSHL_SIZE+1] |
char | m_descrc [DESCRC_SIZE+1] |
char | m_desshft [DESSHFT_SIZE+1] |
char | m_desshdt [DESSHDT_SIZE+1] |
char | m_desshrp [DESSHRP_SIZE+1] |
char | m_desshsi [DESSHSI_SIZE+1] |
char | m_desshsv [DESSHSV_SIZE+1] |
char | m_desshsd [DESSHSD_SIZE+1] |
char | m_desshtn [DESSHTN_SIZE+1] |
char | m_desshlpg [DESSHLPG_SIZE+1] |
char | m_desshlpt [DESSHLPT_SIZE+1] |
char | m_desshli [DESSHLI_SIZE+1] |
char | m_desshlin [DESSHLIN_SIZE+1] |
char | m_desshabs [DESSHABS_SIZE+1] |
ossimString | m_xmlString |
ossimRefPtr< ossimXmlDocument > | m_xmlDocument |
![]() | |
std::string | m_desName |
ossim_uint32 | m_desLength |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 5 of file ossimNitfXmlDataContentDes.h.
anonymous enum |
Enumerator | |
---|---|
DESSHL_SIZE | |
DESCRC_SIZE | |
DESSHFT_SIZE | |
DESSHDT_SIZE | |
DESSHRP_SIZE | |
DESSHSI_SIZE | |
DESSHSV_SIZE | |
DESSHSD_SIZE | |
DESSHTN_SIZE | |
DESSHLPG_SIZE | |
DESSHLPT_SIZE | |
DESSHLI_SIZE | |
DESSHLIN_SIZE | |
DESSHABS_SIZE |
Definition at line 8 of file ossimNitfXmlDataContentDes.h.
ossimNitfXmlDataContentDes::ossimNitfXmlDataContentDes | ( | ) |
Definition at line 9 of file ossimNitfXmlDataContentDes.cpp.
References clearFields().
|
virtual |
Definition at line 94 of file ossimNitfXmlDataContentDes.cpp.
References DESCRC_SIZE, DESSHABS_SIZE, DESSHDT_SIZE, DESSHFT_SIZE, DESSHLI_SIZE, DESSHLIN_SIZE, DESSHLPG_SIZE, DESSHLPT_SIZE, DESSHRP_SIZE, DESSHSD_SIZE, DESSHSI_SIZE, DESSHSV_SIZE, DESSHTN_SIZE, m_descrc, m_desshabs, m_desshdt, m_desshft, m_desshli, m_desshlin, m_desshlpg, m_desshlpt, m_desshrp, m_desshsd, m_desshsi, m_desshsv, and m_desshtn.
Referenced by ossimNitfXmlDataContentDes(), and parseStream().
ossimString ossimNitfXmlDataContentDes::getDescrc | ( | ) | const |
Definition at line 178 of file ossimNitfXmlDataContentDes.cpp.
References m_descrc.
ossimString ossimNitfXmlDataContentDes::getDesshdt | ( | ) | const |
Definition at line 188 of file ossimNitfXmlDataContentDes.cpp.
References m_desshdt.
ossimString ossimNitfXmlDataContentDes::getDesshft | ( | ) | const |
Definition at line 183 of file ossimNitfXmlDataContentDes.cpp.
References m_desshft.
ossimString ossimNitfXmlDataContentDes::getDesshl | ( | ) | const |
ossim_uint32 ossimNitfXmlDataContentDes::getDesshlAsUint32 | ( | ) | const |
ossimString ossimNitfXmlDataContentDes::getDesshrp | ( | ) | const |
Definition at line 193 of file ossimNitfXmlDataContentDes.cpp.
References m_desshrp.
ossimString ossimNitfXmlDataContentDes::getDesshsd | ( | ) | const |
Definition at line 208 of file ossimNitfXmlDataContentDes.cpp.
References m_desshsd.
ossimString ossimNitfXmlDataContentDes::getDesshsi | ( | ) | const |
Definition at line 198 of file ossimNitfXmlDataContentDes.cpp.
References m_desshsi.
ossimString ossimNitfXmlDataContentDes::getDesshsv | ( | ) | const |
Definition at line 203 of file ossimNitfXmlDataContentDes.cpp.
References m_desshsv.
ossimString ossimNitfXmlDataContentDes::getDesshtn | ( | ) | const |
Definition at line 213 of file ossimNitfXmlDataContentDes.cpp.
References m_desshtn.
|
virtual |
Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.
Reimplemented from ossimObject.
Definition at line 124 of file ossimNitfXmlDataContentDes.cpp.
References ossimKeywordlist::find(), m_descrc, m_desshdt, m_desshft, m_desshrp, m_desshsd, m_desshsi, m_desshsv, and m_desshtn.
bool ossimNitfXmlDataContentDes::loadValueFromXml | ( | const ossimRefPtr< ossimXmlDocument > | xml, |
const ossimString & | xpath, | ||
ossimString & | target | ||
) | const |
Definition at line 163 of file ossimNitfXmlDataContentDes.cpp.
References ossimXmlDocument::findNodes(), and ossimErrorStatusInterface::getErrorStatus().
|
virtual |
This will allow the user defined data to parse the stream.
Implements ossimNitfRegisteredDes.
Definition at line 16 of file ossimNitfXmlDataContentDes.cpp.
References clearFields(), DESCRC_SIZE, DESSHABS_SIZE, DESSHDT_SIZE, DESSHFT_SIZE, DESSHLI_SIZE, DESSHLIN_SIZE, DESSHLPG_SIZE, DESSHLPT_SIZE, DESSHRP_SIZE, DESSHSD_SIZE, DESSHSI_SIZE, DESSHSV_SIZE, DESSHTN_SIZE, ossimNitfRegisteredDes::getSizeInBytes(), m_descrc, m_desshabs, m_desshdt, m_desshft, m_desshli, m_desshlin, m_desshlpg, m_desshlpt, m_desshrp, m_desshsd, m_desshsi, m_desshsv, m_desshtn, m_xmlDocument, m_xmlString, ossimXmlDocument::read(), and ossimString::string().
|
virtual |
Pure virtual print method that outputs a key/value type format adding prefix to keys.
Reimplemented from ossimNitfRegisteredDes.
Definition at line 67 of file ossimNitfXmlDataContentDes.cpp.
References ossimNitfRegisteredDes::getDesName(), ossimPreferences::instance(), m_descrc, m_desshabs, m_desshdt, m_desshft, m_desshli, m_desshlpg, m_desshlpt, m_desshrp, m_desshsd, m_desshsi, m_desshsv, m_desshtn, m_xmlString, ossimString::substitute(), and ossimString::toBool().
|
virtual |
Implements ossimNitfRegisteredDes.
Definition at line 49 of file ossimNitfXmlDataContentDes.cpp.
References DESCRC_SIZE, DESSHABS_SIZE, DESSHDT_SIZE, DESSHFT_SIZE, DESSHL_SIZE, DESSHLI_SIZE, DESSHLIN_SIZE, DESSHLPG_SIZE, DESSHLPT_SIZE, DESSHRP_SIZE, DESSHSD_SIZE, DESSHSI_SIZE, DESSHSV_SIZE, DESSHTN_SIZE, m_descrc, m_desshabs, m_desshdt, m_desshft, m_desshl, m_desshli, m_desshlin, m_desshlpg, m_desshlpt, m_desshrp, m_desshsd, m_desshsi, m_desshsv, and m_desshtn.
|
protected |
Definition at line 58 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDescrc(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 70 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 60 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshdt(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 59 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshft(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 57 of file ossimNitfXmlDataContentDes.h.
Referenced by writeStream().
|
protected |
Definition at line 68 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 69 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), parseStream(), and writeStream().
|
protected |
Definition at line 66 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 67 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 61 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshrp(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 64 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshsd(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 62 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshsi(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 63 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshsv(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 65 of file ossimNitfXmlDataContentDes.h.
Referenced by clearFields(), getDesshtn(), loadState(), parseStream(), print(), and writeStream().
|
protected |
Definition at line 73 of file ossimNitfXmlDataContentDes.h.
Referenced by parseStream().
|
protected |
Definition at line 72 of file ossimNitfXmlDataContentDes.h.
Referenced by parseStream(), and print().