|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfAcftbTag.h>
Public Types | |
| enum | { CEL_SIZE = 207, AC_MSN_ID_SIZE = 20, AC_TAIL_NO_SIZE = 10, AC_TO_SIZE = 12, SENSOR_ID_TYPE_SIZE = 4, SENSOR_ID_SIZE = 6, SCENE_SOURCE_SIZE = 1, SCNUM_SIZE = 6, PDATE_SIZE = 8, IMHOSTNO_SIZE = 6, IMREQID_SIZE = 5, MPLAN_SIZE = 3, ENTLOC_SIZE = 25, LOC_ACCY_SIZE = 6, ENTELV_SIZE = 6, ELV_UNIT_SIZE = 1, EXITLOC_SIZE = 25, EXITELV_SIZE = 6, TMAP_SIZE = 7, ROW_SPACING_SIZE = 7, ROW_SPACING_UNITS_SIZE = 1, COL_SPACING_SIZE = 7, COL_SPACING_UINTS_SIZE = 1, FOCAL_LENGTH_SIZE = 6, SENSERIAL_SIZE = 6, ABSWVER_SIZE = 7, CAL_DATE_SIZE = 8, PATCH_TOT_SIZE = 4, MTI_TOT_SIZE = 3 } |
Public Member Functions | |
| ossimNitfAcftbTag () | |
| default constructor More... | |
| virtual | ~ossimNitfAcftbTag () |
| destructor More... | |
| virtual void | parseStream (ossim::istream &in) |
| Method to parse data from stream. More... | |
| virtual void | writeStream (ossim::ostream &out) |
| Method to write data to stream. More... | |
| virtual void | clearFields () |
| Method to clear all fields including null terminating. More... | |
| ossimString | getFocalLength () const |
| ossimString | getColumnSpacing () const |
| ossimString | getColumnSpacingUnits () const |
| ossimString | getRowSpacing () const |
| ossimString | getRowSpacingUnits () const |
| 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... | |
Public Member Functions inherited from ossimNitfRegisteredTag | |
| 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 | 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 |
Public Member Functions inherited from ossimObject | |
| 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) |
Public Member Functions inherited from ossimReferenced | |
| 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 |
Public Member Functions inherited from ossimPropertyInterface | |
| 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 | theAcMsnId [AC_MSN_ID_SIZE+1] |
| Type R = Required Type <R> = BCS spaces allowed for entire field. More... | |
| char | theAcTailNo [AC_TAIL_NO_SIZE+1] |
| FIELD: AC_TAIL_NO. More... | |
| char | theAcTo [AC_TO_SIZE+1] |
| FIELD: AC_TO. More... | |
| char | theSensorIdType [SENSOR_ID_TYPE_SIZE+1] |
| FIELD: SENSOR_ID_TYPE. More... | |
| char | theSensorId [SENSOR_ID_SIZE+1] |
| FIELD: SENSOR_ID. More... | |
| char | theSceneSource [SCENE_SOURCE_SIZE+1] |
| FIELD: SCENE_SOURCE. More... | |
| char | theScNum [SCNUM_SIZE+1] |
| FIELD: SCNUM. More... | |
| char | thePDate [PDATE_SIZE+1] |
| FIELD: PDATE. More... | |
| char | theImHostNo [IMHOSTNO_SIZE+1] |
| FIELD: IMHOSTNO. More... | |
| char | theImReqID [IMREQID_SIZE+1] |
| FIELD: IMREQID. More... | |
| char | theMPlan [MPLAN_SIZE+1] |
| FIELD: MPLAN. More... | |
| char | theEntLoc [ENTLOC_SIZE+1] |
| FIELD: ENTLOC. More... | |
| char | theLocAccy [LOC_ACCY_SIZE+1] |
| FIELD: LOC_ACCY. More... | |
| char | theEntelv [ENTELV_SIZE+1] |
| FIELD: ENTELV. More... | |
| char | theElvUnit [ELV_UNIT_SIZE+1] |
| FIELD: ELV_UNIT. More... | |
| char | theExitLoc [EXITLOC_SIZE+1] |
| FIELD: EXITLOC. More... | |
| char | theExitElev [EXITELV_SIZE+1] |
| FIELD: EXITELV. More... | |
| char | theTMap [TMAP_SIZE+1] |
| FIELD: TMAP. More... | |
| char | theRowSpacing [ROW_SPACING_SIZE+1] |
| FIELD: ROW_SPACING. More... | |
| char | theRowSpacingUnits [ROW_SPACING_UNITS_SIZE+1] |
| FIELD: ROW_SPACING_UNITS. More... | |
| char | theColSpacing [COL_SPACING_SIZE+1] |
| FIELD: COL_SPACING. More... | |
| char | theColSpacingUnits [COL_SPACING_UINTS_SIZE+1] |
| FIELD: COL_SPACING_UINTS. More... | |
| char | theFocalLength [FOCAL_LENGTH_SIZE+1] |
| FIELD: FOCAL_LENGTH. More... | |
| char | theSenserial [SENSERIAL_SIZE+1] |
| FIELD: SENSERIAL. More... | |
| char | theAbSwVer [ABSWVER_SIZE+1] |
| FIELD: ABSWVER. More... | |
| char | theCalDate [CAL_DATE_SIZE+1] |
| FIELD: CAL_DATE. More... | |
| char | thePatchTot [PATCH_TOT_SIZE+1] |
| FIELD: PATCH_TOT. More... | |
| char | theMtiTot [MTI_TOT_SIZE+1] |
| FIELD: MTI_TOT. More... | |
Protected Attributes inherited from ossimNitfRegisteredTag | |
| std::string | m_tagName |
| ossim_uint32 | m_tagLength |
Additional Inherited Members | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 22 of file ossimNitfAcftbTag.h.
| anonymous enum |
Definition at line 26 of file ossimNitfAcftbTag.h.
| ossimNitfAcftbTag::ossimNitfAcftbTag | ( | ) |
default constructor
Definition at line 27 of file ossimNitfAcftbTag.cpp.
References clearFields().
|
virtual |
|
virtual |
Method to clear all fields including null terminating.
Definition at line 103 of file ossimNitfAcftbTag.cpp.
References ABSWVER_SIZE, AC_MSN_ID_SIZE, AC_TAIL_NO_SIZE, AC_TO_SIZE, CAL_DATE_SIZE, COL_SPACING_SIZE, COL_SPACING_UINTS_SIZE, ELV_UNIT_SIZE, ENTELV_SIZE, ENTLOC_SIZE, EXITELV_SIZE, EXITLOC_SIZE, FOCAL_LENGTH_SIZE, IMHOSTNO_SIZE, IMREQID_SIZE, LOC_ACCY_SIZE, MPLAN_SIZE, MTI_TOT_SIZE, PATCH_TOT_SIZE, PDATE_SIZE, ROW_SPACING_SIZE, ROW_SPACING_UNITS_SIZE, SCENE_SOURCE_SIZE, SCNUM_SIZE, SENSERIAL_SIZE, SENSOR_ID_SIZE, SENSOR_ID_TYPE_SIZE, theAbSwVer, theAcMsnId, theAcTailNo, theAcTo, theCalDate, theColSpacing, theColSpacingUnits, theElvUnit, theEntelv, theEntLoc, theExitElev, theExitLoc, theFocalLength, theImHostNo, theImReqID, theLocAccy, theMPlan, theMtiTot, thePatchTot, thePDate, theRowSpacing, theRowSpacingUnits, theSceneSource, theScNum, theSenserial, theSensorId, theSensorIdType, theTMap, and TMAP_SIZE.
Referenced by ossimNitfAcftbTag(), and parseStream().
| ossimString ossimNitfAcftbTag::getColumnSpacing | ( | ) | const |
Definition at line 174 of file ossimNitfAcftbTag.cpp.
References theColSpacing.
| ossimString ossimNitfAcftbTag::getColumnSpacingUnits | ( | ) | const |
Definition at line 179 of file ossimNitfAcftbTag.cpp.
References theColSpacingUnits.
| ossimString ossimNitfAcftbTag::getFocalLength | ( | ) | const |
Definition at line 169 of file ossimNitfAcftbTag.cpp.
References theFocalLength.
| ossimString ossimNitfAcftbTag::getRowSpacing | ( | ) | const |
Definition at line 184 of file ossimNitfAcftbTag.cpp.
References theRowSpacing.
| ossimString ossimNitfAcftbTag::getRowSpacingUnits | ( | ) | const |
Definition at line 189 of file ossimNitfAcftbTag.cpp.
References theRowSpacingUnits.
|
virtual |
Method to parse data from stream.
Implements ossimNitfRegisteredTag.
Definition at line 37 of file ossimNitfAcftbTag.cpp.
References ABSWVER_SIZE, AC_MSN_ID_SIZE, AC_TAIL_NO_SIZE, AC_TO_SIZE, CAL_DATE_SIZE, clearFields(), COL_SPACING_SIZE, COL_SPACING_UINTS_SIZE, ELV_UNIT_SIZE, ENTELV_SIZE, ENTLOC_SIZE, EXITELV_SIZE, EXITLOC_SIZE, FOCAL_LENGTH_SIZE, IMHOSTNO_SIZE, IMREQID_SIZE, LOC_ACCY_SIZE, MPLAN_SIZE, MTI_TOT_SIZE, PATCH_TOT_SIZE, PDATE_SIZE, ROW_SPACING_SIZE, ROW_SPACING_UNITS_SIZE, SCENE_SOURCE_SIZE, SCNUM_SIZE, SENSERIAL_SIZE, SENSOR_ID_SIZE, SENSOR_ID_TYPE_SIZE, theAbSwVer, theAcMsnId, theAcTailNo, theAcTo, theCalDate, theColSpacing, theColSpacingUnits, theElvUnit, theEntelv, theEntLoc, theExitElev, theExitLoc, theFocalLength, theImHostNo, theImReqID, theLocAccy, theMPlan, theMtiTot, thePatchTot, thePDate, theRowSpacing, theRowSpacingUnits, theSceneSource, theScNum, theSenserial, theSensorId, theSensorIdType, theTMap, and TMAP_SIZE.
|
virtual |
Print method that outputs a key/value type format adding prefix to keys.
| out | Stream to output to. |
| prefix | Prefix added to key like "image0."; |
Reimplemented from ossimNitfRegisteredTag.
Definition at line 195 of file ossimNitfAcftbTag.cpp.
References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theAbSwVer, theAcMsnId, theAcTailNo, theAcTo, theCalDate, theColSpacing, theColSpacingUnits, theElvUnit, theEntelv, theEntLoc, theExitElev, theExitLoc, theFocalLength, theImHostNo, theImReqID, theLocAccy, theMPlan, theMtiTot, thePatchTot, thePDate, theRowSpacing, theRowSpacingUnits, theSceneSource, theScNum, theSenserial, theSensorId, theSensorIdType, and theTMap.
|
virtual |
Method to write data to stream.
Implements ossimNitfRegisteredTag.
Definition at line 71 of file ossimNitfAcftbTag.cpp.
References ABSWVER_SIZE, AC_MSN_ID_SIZE, AC_TAIL_NO_SIZE, AC_TO_SIZE, CAL_DATE_SIZE, COL_SPACING_SIZE, COL_SPACING_UINTS_SIZE, ELV_UNIT_SIZE, ENTELV_SIZE, ENTLOC_SIZE, EXITELV_SIZE, EXITLOC_SIZE, FOCAL_LENGTH_SIZE, IMHOSTNO_SIZE, IMREQID_SIZE, LOC_ACCY_SIZE, MPLAN_SIZE, MTI_TOT_SIZE, PATCH_TOT_SIZE, PDATE_SIZE, ROW_SPACING_SIZE, ROW_SPACING_UNITS_SIZE, SCENE_SOURCE_SIZE, SCNUM_SIZE, SENSERIAL_SIZE, SENSOR_ID_SIZE, SENSOR_ID_TYPE_SIZE, theAbSwVer, theAcMsnId, theAcTailNo, theAcTo, theCalDate, theColSpacing, theColSpacingUnits, theElvUnit, theEntelv, theEntLoc, theExitElev, theExitLoc, theFocalLength, theImHostNo, theImReqID, theLocAccy, theMPlan, theMtiTot, thePatchTot, thePDate, theRowSpacing, theRowSpacingUnits, theSceneSource, theScNum, theSenserial, theSensorId, theSensorIdType, theTMap, and TMAP_SIZE.
|
protected |
FIELD: ABSWVER.
TYPE: <R>
7byte field
Airborne Software Version
Definition at line 365 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
Type R = Required Type <R> = BCS spaces allowed for entire field.
FIELD: AC_MSN_ID
TYPE: R
20 byte field
Aircraft Mission Identification
Definition at line 101 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: AC_TAIL_NO.
TYPE: <R>
10 byte field
Aircraft Tail Number
Definition at line 112 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: AC_TO.
TYPE: <R>
12 byte field
Aircraft Take-off, CCYYMMDDhhmm
Definition at line 123 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: CAL_DATE.
TYPE: <R>
8 byte field
Calibration Date, CCYYMMDD
Definition at line 376 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: COL_SPACING.
TYPE: R
7 byte field
Column Spacing
Definition at line 321 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), getColumnSpacing(), parseStream(), print(), and writeStream().
|
protected |
FIELD: COL_SPACING_UINTS.
TYPE: R
1 byte field
Unit of Column Spacing
Definition at line 332 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), getColumnSpacingUnits(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ELV_UNIT.
TYPE: <R>
1 byte field
Unit of Elevation, f or m
Definition at line 255 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ENTELV.
TYPE: <R>
6 byte field
Entry Elevation, feet or meters, -01000 to +30000
Definition at line 244 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ENTLOC.
TYPE: <R>
25 byte field
Entry Location
Definition at line 222 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: EXITELV.
TYPE: <R>
6 byte field
Exit Elevation
Definition at line 277 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: EXITLOC.
TYPE: <R>
25 byte field
Exit Location
Definition at line 266 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: FOCAL_LENGTH.
TYPE: R
6 byte field
Sensor Focal Length, cm, 000.01 to 899.99, 999.99
Definition at line 343 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), getFocalLength(), parseStream(), print(), and writeStream().
|
protected |
FIELD: IMHOSTNO.
TYPE: R
6 byte field
Immediate Scene Host
Definition at line 189 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: IMREQID.
TYPE: R
5 byte field
Immediate Scene Request ID, 00000, 00001 to 99999
Definition at line 200 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: LOC_ACCY.
TYPE: R
6 byte field
Location Accuracy, feet, 000.01 to 999.99, 000000, 000.00
Definition at line 233 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MPLAN.
TYPE: R
3 byte field
Mission Plan Mode, 001 to 999
Definition at line 211 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: MTI_TOT.
TYPE: R
3 byte field
MTI Total, SAR: 000 to 999, EO-IR: 000
Definition at line 398 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PATCH_TOT.
TYPE: R
4 byte field
Patch Total
Definition at line 387 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: PDATE.
TYPE: R
8 byte field
Processing Date, CCYYMMDD
Definition at line 178 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ROW_SPACING.
TYPE: R
7 byte field
Row Spacing, feet, meters, rads.
Definition at line 299 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), getRowSpacing(), parseStream(), print(), and writeStream().
|
protected |
FIELD: ROW_SPACING_UNITS.
TYPE: R
1 byte field
Unit of Row Spacing, f, m, r or u
Definition at line 310 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), getRowSpacingUnits(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SCENE_SOURCE.
TYPE: <R>
1 byte field
Scene Source, 0 to 9
Definition at line 156 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SCNUM.
TYPE: R
6 byte field
Scene Number, 000000 to 999999
Definition at line 167 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SENSERIAL.
TYPE: <R>
6 byte field
Sensor vendor's serial number, 000001 to 999999
Definition at line 354 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SENSOR_ID.
TYPE: R
6 byte field
Sensor ID
Definition at line 145 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: SENSOR_ID_TYPE.
TYPE: R
4 byte field
Sensor ID Type
Definition at line 134 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
protected |
FIELD: TMAP.
TYPE: <R>
7 byte field
True Map Angle, degrees, 000.000 to 180.000
Definition at line 288 of file ossimNitfAcftbTag.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
1.8.14