OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfDesInformation.h>
Public Types | |
enum | { DE_SIZE = 2, DESID_SIZE = 25, DESVER_SIZE = 2, DECLAS_SIZE = 1, DESCLSY_SIZE = 2, DESCODE_SIZE = 11, DESCTLH_SIZE = 2, DESREL_SIZE = 20, DESDCTP_SIZE = 2, DESDCDT_SIZE = 8, DESDCXM_SIZE = 4, DESDG_SIZE = 1, DESDGDT_SIZE = 8, DESCLTX_SIZE = 43, DESCATP_SIZE = 1, DESCAUT_SIZE = 40, DESCRSN_SIZE = 1, DESSRDT_SIZE = 8, DESCTLN_SIZE = 15, DESOFLW_SIZE = 6, DESITEM_SIZE = 3, DESSHL_SIZE = 4 } |
Public Member Functions | |
ossimNitfDesInformation (ossimRefPtr< ossimNitfRegisteredDes > desData=0) | |
virtual | ~ossimNitfDesInformation () |
virtual void | parseStream (std::istream &in, ossim_uint64 dataLength=0) |
virtual void | writeStream (std::ostream &out) |
void | setDesName (const ossimString &desName) |
void | setDesLength (ossim_uint32 desLength) |
ossim_uint32 | getTotalDesLength () const |
Length of the 5 byte des length the 6 byte des name and the data length. More... | |
ossim_uint32 | getDesLength () const |
Should return the value of theDesLength which is the length of the data in bytes. More... | |
ossim_uint64 | getDesOffset () const |
ossim_uint64 | getDesDataOffset () const |
ossimString | getDesId () const |
virtual std::ostream & | print (std::ostream &out, const std::string &prefix) const |
void | clearFields () |
ossimRefPtr< ossimNitfRegisteredDes > | getDesData () |
const ossimRefPtr< ossimNitfRegisteredDes > | getDesData () const |
void | setDesData (ossimRefPtr< ossimNitfRegisteredDes > desData) |
bool | operator< (const ossimNitfDesInformation &rhs) 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 |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 20 of file ossimNitfDesInformation.h.
anonymous enum |
Definition at line 24 of file ossimNitfDesInformation.h.
ossimNitfDesInformation::ossimNitfDesInformation | ( | ossimRefPtr< ossimNitfRegisteredDes > | desData = 0 | ) |
Definition at line 20 of file ossimNitfDesInformation.cpp.
References clearFields(), and setDesData().
|
virtual |
Definition at line 26 of file ossimNitfDesInformation.cpp.
void ossimNitfDesInformation::clearFields | ( | ) |
Definition at line 218 of file ossimNitfDesInformation.cpp.
References DE_SIZE, DECLAS_SIZE, DESCATP_SIZE, DESCAUT_SIZE, DESCLSY_SIZE, DESCLTX_SIZE, DESCODE_SIZE, DESCRSN_SIZE, DESCTLH_SIZE, DESCTLN_SIZE, DESDCDT_SIZE, DESDCTP_SIZE, DESDCXM_SIZE, DESDG_SIZE, DESDGDT_SIZE, DESID_SIZE, DESITEM_SIZE, DESOFLW_SIZE, DESREL_SIZE, DESSHL_SIZE, DESSRDT_SIZE, DESVER_SIZE, m_de, m_declas, m_descatp, m_descaut, m_desclsy, m_descltx, m_descode, m_descrsn, m_desctlh, m_desctln, m_desDataOffset, m_desdcdt, m_desdctp, m_desdcxm, m_desdg, m_desdgdt, m_desid, m_desitem, m_desOffset, m_desoflw, m_desrel, m_desshl, m_dessrdt, and m_desver.
Referenced by ossimNitfDesInformation(), and parseStream().
ossimRefPtr< ossimNitfRegisteredDes > ossimNitfDesInformation::getDesData | ( | ) |
Definition at line 301 of file ossimNitfDesInformation.cpp.
References m_desData.
Referenced by print().
const ossimRefPtr< ossimNitfRegisteredDes > ossimNitfDesInformation::getDesData | ( | ) | const |
Definition at line 306 of file ossimNitfDesInformation.cpp.
References m_desData.
ossim_uint64 ossimNitfDesInformation::getDesDataOffset | ( | ) | const |
Definition at line 161 of file ossimNitfDesInformation.cpp.
References m_desDataOffset.
ossimString ossimNitfDesInformation::getDesId | ( | ) | const |
Definition at line 166 of file ossimNitfDesInformation.cpp.
References m_desid, and ossimString::trim().
Referenced by parseStream(), print(), and writeStream().
ossim_uint32 ossimNitfDesInformation::getDesLength | ( | ) | const |
Should return the value of theDesLength which is the length of the data in bytes.
Definition at line 151 of file ossimNitfDesInformation.cpp.
References m_desLength, and ossimString::toUInt32().
Referenced by getTotalDesLength(), and parseStream().
ossim_uint64 ossimNitfDesInformation::getDesOffset | ( | ) | const |
Definition at line 156 of file ossimNitfDesInformation.cpp.
References m_desOffset.
ossim_uint32 ossimNitfDesInformation::getTotalDesLength | ( | ) | const |
Length of the 5 byte des length the 6 byte des name and the data length.
So we have Data length + 11 bytes.
Definition at line 146 of file ossimNitfDesInformation.cpp.
References getDesLength().
Referenced by operator<().
|
inline |
Definition at line 82 of file ossimNitfDesInformation.h.
References getTotalDesLength().
|
virtual |
Definition at line 30 of file ossimNitfDesInformation.cpp.
References clearFields(), ossimNitfDesFactoryRegistry::create(), DE_SIZE, DECLAS_SIZE, DESCATP_SIZE, DESCAUT_SIZE, DESCLSY_SIZE, DESCLTX_SIZE, DESCODE_SIZE, DESCRSN_SIZE, DESCTLH_SIZE, DESCTLN_SIZE, DESDCDT_SIZE, DESDCTP_SIZE, DESDCXM_SIZE, DESDG_SIZE, DESDGDT_SIZE, DESID_SIZE, DESITEM_SIZE, DESOFLW_SIZE, DESREL_SIZE, DESSHL_SIZE, DESSRDT_SIZE, DESVER_SIZE, getDesId(), getDesLength(), ossimNitfRegisteredDes::getDesLength(), ossimNitfRegisteredDes::getDesName(), ossimNitfDesFactoryRegistry::instance(), m_de, m_declas, m_descatp, m_descaut, m_desclsy, m_descltx, m_descode, m_descrsn, m_desctlh, m_desctln, m_desData, m_desDataOffset, m_desdcdt, m_desdctp, m_desdcxm, m_desdg, m_desdgdt, m_desid, m_desitem, m_desOffset, m_desoflw, m_desrel, m_desshl, m_dessrdt, m_desver, ossimNotify(), ossimNotifyLevel_WARN, ossimNitfRegisteredDes::parseStream(), ossimNitfRegisteredDes::setDesLength(), and ossimRefPtr< T >::valid().
Referenced by ossimNitfFileHeaderV2_1::readDes().
|
virtual |
Definition at line 171 of file ossimNitfDesInformation.cpp.
References getDesData(), getDesId(), ossimPreferences::instance(), m_de, m_declas, m_descatp, m_descaut, m_desclsy, m_descltx, m_descode, m_descrsn, m_desctlh, m_desctln, m_desdcdt, m_desdctp, m_desdcxm, m_desdg, m_desdgdt, m_desid, m_desitem, m_desoflw, m_desrel, m_desshl, m_dessrdt, m_desver, ossimNitfRegisteredDes::print(), ossimString::toBool(), and ossimRefPtr< T >::valid().
void ossimNitfDesInformation::setDesData | ( | ossimRefPtr< ossimNitfRegisteredDes > | desData | ) |
Definition at line 311 of file ossimNitfDesInformation.cpp.
References m_desData.
Referenced by ossimNitfDesInformation().
void ossimNitfDesInformation::setDesLength | ( | ossim_uint32 | desLength | ) |
Definition at line 281 of file ossimNitfDesInformation.cpp.
void ossimNitfDesInformation::setDesName | ( | const ossimString & | desName | ) |
Definition at line 269 of file ossimNitfDesInformation.cpp.
References DESID_SIZE, and m_desid.
|
virtual |
Definition at line 105 of file ossimNitfDesInformation.cpp.
References DE_SIZE, DECLAS_SIZE, DESCATP_SIZE, DESCAUT_SIZE, DESCLSY_SIZE, DESCLTX_SIZE, DESCODE_SIZE, DESCRSN_SIZE, DESCTLH_SIZE, DESCTLN_SIZE, DESDCDT_SIZE, DESDCTP_SIZE, DESDCXM_SIZE, DESDG_SIZE, DESDGDT_SIZE, DESID_SIZE, DESITEM_SIZE, DESOFLW_SIZE, DESREL_SIZE, DESSHL_SIZE, DESSRDT_SIZE, DESVER_SIZE, getDesId(), m_de, m_declas, m_descatp, m_descaut, m_desclsy, m_descltx, m_descode, m_descrsn, m_desctlh, m_desctln, m_desdcdt, m_desdctp, m_desdcxm, m_desdg, m_desdgdt, m_desid, m_desitem, m_desOffset, m_desoflw, m_desrel, m_desshl, m_dessrdt, and m_desver.
|
private |
Definition at line 89 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 92 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 103 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 104 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 93 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 102 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 94 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 105 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 95 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 107 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Used to hold the des data.
Definition at line 131 of file ossimNitfDesInformation.h.
Referenced by getDesData(), parseStream(), and setDesData().
|
private |
This will hold the start to the data.
This is just the position in the file just past the des length field. This is just a work variable
Definition at line 125 of file ossimNitfDesInformation.h.
Referenced by clearFields(), getDesDataOffset(), and parseStream().
|
private |
Definition at line 126 of file ossimNitfDesInformation.h.
|
private |
Definition at line 98 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 97 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 99 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 100 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 101 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 90 of file ossimNitfDesInformation.h.
Referenced by clearFields(), getDesId(), parseStream(), print(), setDesName(), and writeStream().
|
private |
Definition at line 109 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 117 of file ossimNitfDesInformation.h.
Referenced by getDesLength().
|
private |
This will hold the offset to the start of the above information This is just a work variable.
Definition at line 116 of file ossimNitfDesInformation.h.
Referenced by clearFields(), getDesOffset(), parseStream(), and writeStream().
|
private |
Definition at line 108 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 96 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 110 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 106 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Definition at line 91 of file ossimNitfDesInformation.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().