OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Types | Public Member Functions | Protected Attributes | List of all members
ossimNitfSensraTag Class Reference

#include <ossimNitfSensraTag.h>

Inheritance diagram for ossimNitfSensraTag:
ossimNitfRegisteredTag ossimObject ossimPropertyInterface ossimReferenced

Public Types

enum  {
  REF_ROW_SIZE = 8, REF_COL_SIZE = 8, SENSOR_MODEL_SIZE = 6, SENSOR_MOUNT_SIZE = 3,
  SENSOR_LOC_SIZE = 21, SENSOR_ALT_SRC_SIZE = 1, SENSOR_ALT_SIZE = 6, SENSOR_ALT_UNIT_SIZE = 1,
  SENSOR_AGL_SIZE = 5, SENSOR_PITCH_SIZE = 7, SENSOR_ROLL_SIZE = 8, SENSOR_YAW_SIZE = 8,
  PLATFORM_PITCH_SIZE = 7, PLATFORM_ROLL_SIZE = 8, PLATFORM_HDG_SIZE = 5, GROUND_SPD_SRC_SIZE = 1,
  GROUND_SPEED_SIZE = 6, GROUND_SPD_UNIT_SIZE = 1, GROUND_TRACK_SIZE = 5, VERTICAL_VEL_SIZE = 5,
  VERT_VEL_UNIT_SIZE = 1, SWATH_FRAMES_SIZE = 4, N_SWATHS_SIZE = 4, SPOT_NUM_SIZE = 3
}
 

Public Member Functions

 ossimNitfSensraTag ()
 
virtual ~ossimNitfSensraTag ()
 
virtual void parseStream (std::istream &in)
 
virtual void writeStream (std::ostream &out)
 
virtual void clearFields ()
 
virtual std::ostream & print (std::ostream &out, const std::string &prefix) const
 Print method that outputs a key/value type format adding prefix to keys. More...
 
void setRefRow (ossimString refRow)
 
ossimString getRefRow () const
 
void setRefCol (ossimString refCol)
 
ossimString getRefCol () const
 
void setSensorModel (ossimString sensorModel)
 
ossimString getSensorModel () const
 
void setSensorMount (ossimString sensorMount)
 
ossimString getSensorMount () const
 
void setSensorLoc (ossimString sensorLoc)
 
ossimString getSensorLoc () const
 
void setSensorAltSrc (ossimString sensorAltSrc)
 
ossimString getSensorAltSrc () const
 
void setSensorAlt (ossimString sensorAlt)
 
ossimString getSensorAlt () const
 
void setSensorAltUnit (ossimString sensorAltUnit)
 
ossimString getSensorAltUnit () const
 
void setSensorAgl (ossimString sensorAgl)
 
ossimString getSensorAgl () const
 
void setSensorPitch (ossimString sensorPitch)
 
ossimString getSensorPitch () const
 
void setSensorRoll (ossimString sensorRoll)
 
ossimString getSensorRoll () const
 
void setSensorYaw (ossimString sensorYaw)
 
ossimString getSensorYaw () const
 
void setPlatformPitch (ossimString platformPitch)
 
ossimString getPlatformPitch () const
 
void setPlatformRoll (ossimString platformRoll)
 
ossimString getPlatformRoll () const
 
void setPlatformHdg (ossimString platformHdg)
 
ossimString getPlatformHdg () const
 
void setGroundSpdSrc (ossimString groundSpdSrc)
 
ossimString getGroundSpdSrc () const
 
void setGroundSpeed (ossimString groundSpeed)
 
ossimString getGroundSpeed () const
 
void setGroundSpdUnit (ossimString groundSpdUnit)
 
ossimString getGroundSpdUnit () const
 
void setGroundTrack (ossimString groundTrack)
 
ossimString getGroundTrack () const
 
void setVerticalVel (ossimString verticalVel)
 
ossimString getVerticalVel () const
 
void setVertVelUnit (ossimString vertVelUnit)
 
ossimString getVertVelUnit () const
 
void setSwathFrames (ossimString swathFrames)
 
ossimString getSwathFrames () const
 
void setNSwaths (ossimString nSwaths)
 
ossimString getNSwaths () const
 
void setSpotNum (ossimString spotNum)
 
ossimString getSpotNum () const
 
- 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 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< ossimPropertygetProperty (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 ossimObjectdup () 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 &)
 
ossimReferencedoperator= (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 theRefRow [REF_ROW_SIZE+1]
 FIELD: REFROW. More...
 
char theRefCol [REF_COL_SIZE+1]
 FIELD: REFCOL. More...
 
char theSensorModel [SENSOR_MODEL_SIZE+1]
 FIELD: SENSORMODEL. More...
 
char theSensorMount [SENSOR_MOUNT_SIZE+1]
 FIELD: SENSORMOUNT. More...
 
char theSensorLoc [SENSOR_LOC_SIZE+1]
 FIELD: SENSORLOC. More...
 
char theSensorAltSrc [SENSOR_ALT_SRC_SIZE+1]
 FIELD: SENSORALTSRC. More...
 
char theSensorAlt [SENSOR_ALT_SIZE+1]
 FIELD: SENSORALT. More...
 
char theSensorAltUnit [SENSOR_ALT_UNIT_SIZE+1]
 FIELD: SENSORALTUNIT. More...
 
char theSensorAgl [SENSOR_AGL_SIZE+1]
 FIELD: SENSORAGL. More...
 
char theSensorPitch [SENSOR_PITCH_SIZE+1]
 FIELD: SENSORPITCH. More...
 
char theSensorRoll [SENSOR_ROLL_SIZE+1]
 FIELD: SENSORROLL. More...
 
char theSensorYaw [SENSOR_YAW_SIZE+1]
 FIELD: SENSORYAW. More...
 
char thePlatformPitch [PLATFORM_PITCH_SIZE+1]
 FIELD: PLATFORMPITCH. More...
 
char thePlatformRoll [PLATFORM_ROLL_SIZE+1]
 FIELD: PLATFORMROLL. More...
 
char thePlatformHdg [PLATFORM_HDG_SIZE+1]
 FIELD: PLATFORMHDG. More...
 
char theGroundSpdSrc [GROUND_SPD_SRC_SIZE+1]
 FIELD: GROUNDSPDSRC. More...
 
char theGroundSpeed [GROUND_SPEED_SIZE+1]
 FIELD: GROUNDSPEED. More...
 
char theGroundSpdUnit [GROUND_SPD_UNIT_SIZE+1]
 FIELD: GROUNDSPDUNIT. More...
 
char theGroundTrack [GROUND_TRACK_SIZE+1]
 FIELD: GROUNDTRACK. More...
 
char theVerticalVel [VERTICAL_VEL_SIZE+1]
 FIELD: VERTICALVEL. More...
 
char theVertVelUnit [VERT_VEL_UNIT_SIZE+1]
 FIELD: VERTVELUNIT. More...
 
char theSwathFrames [SWATH_FRAMES_SIZE+1]
 FIELD: SWATHFRAMES. More...
 
char theNSwaths [N_SWATHS_SIZE+1]
 FIELD: NSWATHS. More...
 
char theSpotNum [SPOT_NUM_SIZE+1]
 FIELD: SPOTNUM. 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 ()
 

Detailed Description

Definition at line 17 of file ossimNitfSensraTag.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
REF_ROW_SIZE 
REF_COL_SIZE 
SENSOR_MODEL_SIZE 
SENSOR_MOUNT_SIZE 
SENSOR_LOC_SIZE 
SENSOR_ALT_SRC_SIZE 
SENSOR_ALT_SIZE 
SENSOR_ALT_UNIT_SIZE 
SENSOR_AGL_SIZE 
SENSOR_PITCH_SIZE 
SENSOR_ROLL_SIZE 
SENSOR_YAW_SIZE 
PLATFORM_PITCH_SIZE 
PLATFORM_ROLL_SIZE 
PLATFORM_HDG_SIZE 
GROUND_SPD_SRC_SIZE 
GROUND_SPEED_SIZE 
GROUND_SPD_UNIT_SIZE 
GROUND_TRACK_SIZE 
VERTICAL_VEL_SIZE 
VERT_VEL_UNIT_SIZE 
SWATH_FRAMES_SIZE 
N_SWATHS_SIZE 
SPOT_NUM_SIZE 

Definition at line 21 of file ossimNitfSensraTag.h.

22  {
23  REF_ROW_SIZE = 8,
24  REF_COL_SIZE = 8,
27  SENSOR_LOC_SIZE = 21,
29  SENSOR_ALT_SIZE = 6,
31  SENSOR_AGL_SIZE = 5,
33  SENSOR_ROLL_SIZE = 8,
34  SENSOR_YAW_SIZE = 8,
45  N_SWATHS_SIZE = 4,
46  SPOT_NUM_SIZE = 3
47  // -----
48  // 132
49  };

Constructor & Destructor Documentation

◆ ossimNitfSensraTag()

ossimNitfSensraTag::ossimNitfSensraTag ( )

Definition at line 21 of file ossimNitfSensraTag.cpp.

References clearFields().

22  : ossimNitfRegisteredTag(std::string("SENSRA"), 132)
23 {
24  clearFields();
25 }
ossimNitfRegisteredTag()
default constructor
virtual void clearFields()

◆ ~ossimNitfSensraTag()

ossimNitfSensraTag::~ossimNitfSensraTag ( )
virtual

Definition at line 27 of file ossimNitfSensraTag.cpp.

28 {
29 }

Member Function Documentation

◆ clearFields()

void ossimNitfSensraTag::clearFields ( )
virtual

Definition at line 89 of file ossimNitfSensraTag.cpp.

References GROUND_SPD_SRC_SIZE, GROUND_SPD_UNIT_SIZE, GROUND_SPEED_SIZE, GROUND_TRACK_SIZE, N_SWATHS_SIZE, PLATFORM_HDG_SIZE, PLATFORM_PITCH_SIZE, PLATFORM_ROLL_SIZE, REF_COL_SIZE, REF_ROW_SIZE, SENSOR_AGL_SIZE, SENSOR_ALT_SIZE, SENSOR_ALT_SRC_SIZE, SENSOR_ALT_UNIT_SIZE, SENSOR_LOC_SIZE, SENSOR_MODEL_SIZE, SENSOR_MOUNT_SIZE, SENSOR_PITCH_SIZE, SENSOR_ROLL_SIZE, SENSOR_YAW_SIZE, SPOT_NUM_SIZE, SWATH_FRAMES_SIZE, theGroundSpdSrc, theGroundSpdUnit, theGroundSpeed, theGroundTrack, theNSwaths, thePlatformHdg, thePlatformPitch, thePlatformRoll, theRefCol, theRefRow, theSensorAgl, theSensorAlt, theSensorAltSrc, theSensorAltUnit, theSensorLoc, theSensorModel, theSensorMount, theSensorPitch, theSensorRoll, theSensorYaw, theSpotNum, theSwathFrames, theVerticalVel, theVertVelUnit, VERT_VEL_UNIT_SIZE, and VERTICAL_VEL_SIZE.

Referenced by ossimNitfSensraTag(), and parseStream().

90 {
91  memset(theRefRow, ' ', REF_ROW_SIZE);
92  memset(theRefCol, ' ', REF_COL_SIZE);
93  memset(theSensorModel, ' ', SENSOR_MODEL_SIZE);
94  memset(theSensorMount, ' ', SENSOR_MOUNT_SIZE);
95  memset(theSensorLoc, ' ', SENSOR_LOC_SIZE);
97  memset(theSensorAlt, ' ', SENSOR_ALT_SIZE);
99  memset(theSensorAgl, ' ', SENSOR_AGL_SIZE);
100  memset(theSensorPitch, ' ', SENSOR_PITCH_SIZE);
101  memset(theSensorRoll, ' ', SENSOR_ROLL_SIZE);
102  memset(theSensorYaw, ' ', SENSOR_YAW_SIZE);
104  memset(thePlatformRoll, ' ', PLATFORM_ROLL_SIZE);
105  memset(thePlatformHdg, ' ', PLATFORM_HDG_SIZE);
106  memset(theGroundSpdSrc, ' ', GROUND_SPD_SRC_SIZE);
107  memset(theGroundSpeed, ' ', GROUND_SPEED_SIZE);
109  memset(theGroundTrack, ' ', GROUND_TRACK_SIZE);
110  memset(theVerticalVel, ' ', VERTICAL_VEL_SIZE);
111  memset(theVertVelUnit, ' ', VERT_VEL_UNIT_SIZE);
112  memset(theSwathFrames, ' ', SWATH_FRAMES_SIZE);
113  memset(theNSwaths, ' ', N_SWATHS_SIZE);
114  memset(theSpotNum, ' ', SPOT_NUM_SIZE);
115 
116  theRefRow[REF_ROW_SIZE] = '\0';
117  theRefCol[REF_COL_SIZE] = '\0';
138  theNSwaths[N_SWATHS_SIZE] = '\0';
139  theSpotNum[SPOT_NUM_SIZE] = '\0';
140 }
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.

◆ getGroundSpdSrc()

ossimString ossimNitfSensraTag::getGroundSpdSrc ( ) const

Definition at line 346 of file ossimNitfSensraTag.cpp.

References theGroundSpdSrc.

347 {
348  return theGroundSpdSrc;
349 }
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.

◆ getGroundSpdUnit()

ossimString ossimNitfSensraTag::getGroundSpdUnit ( ) const

Definition at line 368 of file ossimNitfSensraTag.cpp.

References theGroundSpdUnit.

369 {
370  return theGroundSpdUnit;
371 }
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.

◆ getGroundSpeed()

ossimString ossimNitfSensraTag::getGroundSpeed ( ) const

Definition at line 357 of file ossimNitfSensraTag.cpp.

References theGroundSpeed.

358 {
359  return theGroundSpeed;
360 }
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.

◆ getGroundTrack()

ossimString ossimNitfSensraTag::getGroundTrack ( ) const

Definition at line 379 of file ossimNitfSensraTag.cpp.

References theGroundTrack.

380 {
381  return theGroundTrack;
382 }
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.

◆ getNSwaths()

ossimString ossimNitfSensraTag::getNSwaths ( ) const

Definition at line 423 of file ossimNitfSensraTag.cpp.

References theNSwaths.

424 {
425  return theNSwaths;
426 }
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.

◆ getPlatformHdg()

ossimString ossimNitfSensraTag::getPlatformHdg ( ) const

Definition at line 335 of file ossimNitfSensraTag.cpp.

References thePlatformHdg.

336 {
337  return thePlatformHdg;
338 }
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.

◆ getPlatformPitch()

ossimString ossimNitfSensraTag::getPlatformPitch ( ) const

Definition at line 313 of file ossimNitfSensraTag.cpp.

References thePlatformPitch.

314 {
315  return thePlatformPitch;
316 }
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.

◆ getPlatformRoll()

ossimString ossimNitfSensraTag::getPlatformRoll ( ) const

Definition at line 324 of file ossimNitfSensraTag.cpp.

References thePlatformRoll.

325 {
326  return thePlatformRoll;
327 }
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.

◆ getRefCol()

ossimString ossimNitfSensraTag::getRefCol ( ) const

Definition at line 192 of file ossimNitfSensraTag.cpp.

References theRefCol.

193 {
194  return theRefCol;
195 }
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.

◆ getRefRow()

ossimString ossimNitfSensraTag::getRefRow ( ) const

Definition at line 181 of file ossimNitfSensraTag.cpp.

References theRefRow.

182 {
183  return theRefRow;
184 }
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.

◆ getSensorAgl()

ossimString ossimNitfSensraTag::getSensorAgl ( ) const

Definition at line 269 of file ossimNitfSensraTag.cpp.

References theSensorAgl.

270 {
271  return theSensorAgl;
272 }
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.

◆ getSensorAlt()

ossimString ossimNitfSensraTag::getSensorAlt ( ) const

Definition at line 247 of file ossimNitfSensraTag.cpp.

References theSensorAlt.

248 {
249  return theSensorAlt;
250 }
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.

◆ getSensorAltSrc()

ossimString ossimNitfSensraTag::getSensorAltSrc ( ) const

Definition at line 236 of file ossimNitfSensraTag.cpp.

References theSensorAltSrc.

237 {
238  return theSensorAltSrc;
239 }
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.

◆ getSensorAltUnit()

ossimString ossimNitfSensraTag::getSensorAltUnit ( ) const

Definition at line 258 of file ossimNitfSensraTag.cpp.

References theSensorAltUnit.

259 {
260  return theSensorAltUnit;
261 }
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.

◆ getSensorLoc()

ossimString ossimNitfSensraTag::getSensorLoc ( ) const

Definition at line 225 of file ossimNitfSensraTag.cpp.

References theSensorLoc.

226 {
227  return theSensorLoc;
228 }
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.

◆ getSensorModel()

ossimString ossimNitfSensraTag::getSensorModel ( ) const

Definition at line 203 of file ossimNitfSensraTag.cpp.

References theSensorModel.

204 {
205  return theSensorModel;
206 }
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.

◆ getSensorMount()

ossimString ossimNitfSensraTag::getSensorMount ( ) const

Definition at line 214 of file ossimNitfSensraTag.cpp.

References theSensorMount.

215 {
216  return theSensorMount;
217 }
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.

◆ getSensorPitch()

ossimString ossimNitfSensraTag::getSensorPitch ( ) const

Definition at line 280 of file ossimNitfSensraTag.cpp.

References theSensorPitch.

281 {
282  return theSensorPitch;
283 }
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.

◆ getSensorRoll()

ossimString ossimNitfSensraTag::getSensorRoll ( ) const

Definition at line 291 of file ossimNitfSensraTag.cpp.

References theSensorRoll.

292 {
293  return theSensorRoll;
294 }
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.

◆ getSensorYaw()

ossimString ossimNitfSensraTag::getSensorYaw ( ) const

Definition at line 302 of file ossimNitfSensraTag.cpp.

References theSensorYaw.

303 {
304  return theSensorYaw;
305 }
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.

◆ getSpotNum()

ossimString ossimNitfSensraTag::getSpotNum ( ) const

Definition at line 434 of file ossimNitfSensraTag.cpp.

References theSpotNum.

435 {
436  return theSpotNum;
437 }
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.

◆ getSwathFrames()

ossimString ossimNitfSensraTag::getSwathFrames ( ) const

Definition at line 412 of file ossimNitfSensraTag.cpp.

References theSwathFrames.

413 {
414  return theSwathFrames;
415 }
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.

◆ getVerticalVel()

ossimString ossimNitfSensraTag::getVerticalVel ( ) const

Definition at line 390 of file ossimNitfSensraTag.cpp.

References theVerticalVel.

391 {
392  return theVerticalVel;
393 }
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.

◆ getVertVelUnit()

ossimString ossimNitfSensraTag::getVertVelUnit ( ) const

Definition at line 401 of file ossimNitfSensraTag.cpp.

References theVertVelUnit.

402 {
403  return theVertVelUnit;
404 }
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.

◆ parseStream()

void ossimNitfSensraTag::parseStream ( std::istream &  in)
virtual

Definition at line 31 of file ossimNitfSensraTag.cpp.

References clearFields(), GROUND_SPD_SRC_SIZE, GROUND_SPD_UNIT_SIZE, GROUND_SPEED_SIZE, GROUND_TRACK_SIZE, N_SWATHS_SIZE, PLATFORM_HDG_SIZE, PLATFORM_PITCH_SIZE, PLATFORM_ROLL_SIZE, REF_COL_SIZE, REF_ROW_SIZE, SENSOR_AGL_SIZE, SENSOR_ALT_SIZE, SENSOR_ALT_SRC_SIZE, SENSOR_ALT_UNIT_SIZE, SENSOR_LOC_SIZE, SENSOR_MODEL_SIZE, SENSOR_MOUNT_SIZE, SENSOR_PITCH_SIZE, SENSOR_ROLL_SIZE, SENSOR_YAW_SIZE, SPOT_NUM_SIZE, SWATH_FRAMES_SIZE, theGroundSpdSrc, theGroundSpdUnit, theGroundSpeed, theGroundTrack, theNSwaths, thePlatformHdg, thePlatformPitch, thePlatformRoll, theRefCol, theRefRow, theSensorAgl, theSensorAlt, theSensorAltSrc, theSensorAltUnit, theSensorLoc, theSensorModel, theSensorMount, theSensorPitch, theSensorRoll, theSensorYaw, theSpotNum, theSwathFrames, theVerticalVel, theVertVelUnit, VERT_VEL_UNIT_SIZE, and VERTICAL_VEL_SIZE.

32 {
33  clearFields();
34 
35  in.read(theRefRow, REF_ROW_SIZE);
36  in.read(theRefCol, REF_COL_SIZE);
39  in.read(theSensorLoc, SENSOR_LOC_SIZE);
41  in.read(theSensorAlt, SENSOR_ALT_SIZE);
43  in.read(theSensorAgl, SENSOR_AGL_SIZE);
46  in.read(theSensorYaw, SENSOR_YAW_SIZE);
57  in.read(theNSwaths, N_SWATHS_SIZE);
58  in.read(theSpotNum, SPOT_NUM_SIZE);
59 }
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
virtual void clearFields()
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.

◆ print()

std::ostream & ossimNitfSensraTag::print ( std::ostream &  out,
const std::string &  prefix 
) const
virtual

Print method that outputs a key/value type format adding prefix to keys.

Parameters
outStream to output to.
prefixPrefix added to key like "image0.";

Reimplemented from ossimNitfRegisteredTag.

Definition at line 142 of file ossimNitfSensraTag.cpp.

References ossimNitfRegisteredTag::getTagLength(), ossimNitfRegisteredTag::getTagName(), theGroundSpdSrc, theGroundSpdUnit, theGroundSpeed, theGroundTrack, theNSwaths, thePlatformHdg, thePlatformPitch, thePlatformRoll, theRefCol, theRefRow, theSensorAgl, theSensorAlt, theSensorAltSrc, theSensorAltUnit, theSensorLoc, theSensorModel, theSensorMount, theSensorPitch, theSensorRoll, theSensorYaw, theSpotNum, theSwathFrames, theVerticalVel, and theVertVelUnit.

144 {
145  std::string pfx = prefix;
146  pfx += getTagName();
147  pfx += ".";
148 
149  out << std::setiosflags(std::ios::left)
150  << pfx << std::setw(24) << "CETAG:"
151  << getTagName() << "\n"
152  << pfx << std::setw(24) << "CEL:" << getTagLength() << "\n"
153  << pfx << std::setw(24) << "REFROW:" << theRefRow << "\n"
154  << pfx << std::setw(24) << "REFCOL:" << theRefCol << "\n"
155  << pfx << std::setw(24) << "SENSORMODEL:" << theSensorModel<< "\n"
156  << pfx << std::setw(24) << "SENSORMOUNT:" << theSensorMount << "\n"
157  << pfx << std::setw(24) << "SENSORLOC:" << theSensorLoc << "\n"
158  << pfx << std::setw(24) << "SENSORALTSRC:" << theSensorAltSrc<< "\n"
159  << pfx << std::setw(24) << "SENSORALT:" << theSensorAlt << "\n"
160  << pfx << std::setw(24) << "SENSORALTUNIT:" << theSensorAltUnit << "\n"
161  << pfx << std::setw(24) << "SENSORAGL:" << theSensorAgl << "\n"
162  << pfx << std::setw(24) << "SENSORPITCH:" << theSensorPitch << "\n"
163  << pfx << std::setw(24) << "SENSORROLL:" << theSensorRoll<< "\n"
164  << pfx << std::setw(24) << "SENSORYAW:" << theSensorYaw << "\n"
165  << pfx << std::setw(24) << "PLATFORMPITCH:" << thePlatformPitch << "\n"
166  << pfx << std::setw(24) << "PLATFORMROLL:" << thePlatformRoll << "\n"
167  << pfx << std::setw(24) << "PLATFORMHDG:" << thePlatformHdg << "\n"
168  << pfx << std::setw(24) << "GROUNDSPDSRC:" << theGroundSpdSrc << "\n"
169  << pfx << std::setw(24) << "GROUNDSPEED:" << theGroundSpeed << "\n"
170  << pfx << std::setw(24) << "GROUNDSPDUNIT:" << theGroundSpdUnit << "\n"
171  << pfx << std::setw(24) << "GROUNDTRACK:" << theGroundTrack << "\n"
172  << pfx << std::setw(24) << "VERTICALVEL:" << theVerticalVel<< "\n"
173  << pfx << std::setw(24) << "VERTVELUNIT:" << theVertVelUnit << "\n"
174  << pfx << std::setw(24) << "SWATHFRAMES:" << theSwathFrames<< "\n"
175  << pfx << std::setw(24) << "NSWATHS:" << theNSwaths << "\n"
176  << pfx << std::setw(24) << "SPOTNUM:" << theSpotNum << "\n";
177 
178  return out;
179 }
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.

◆ setGroundSpdSrc()

void ossimNitfSensraTag::setGroundSpdSrc ( ossimString  groundSpdSrc)

Definition at line 351 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), GROUND_SPD_SRC_SIZE, ossimString::length(), min, and theGroundSpdSrc.

352 {
353  memset(theGroundSpdSrc, ' ', GROUND_SPD_SRC_SIZE);
354  memcpy(theGroundSpdSrc, groundSpdSrc.c_str(), std::min((size_t)GROUND_SPD_SRC_SIZE, groundSpdSrc.length()));
355 }
std::string::size_type length() const
Definition: ossimString.h:408
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setGroundSpdUnit()

void ossimNitfSensraTag::setGroundSpdUnit ( ossimString  groundSpdUnit)

Definition at line 373 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), GROUND_SPD_UNIT_SIZE, ossimString::length(), min, and theGroundSpdUnit.

374 {
376  memcpy(theGroundSpdUnit, groundSpdUnit.c_str(), std::min((size_t)GROUND_SPD_UNIT_SIZE, groundSpdUnit.length()));
377 }
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setGroundSpeed()

void ossimNitfSensraTag::setGroundSpeed ( ossimString  groundSpeed)

Definition at line 362 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), GROUND_SPEED_SIZE, ossimString::length(), min, and theGroundSpeed.

363 {
364  memset(theGroundSpeed, ' ', GROUND_SPEED_SIZE);
365  memcpy(theGroundSpeed, groundSpeed.c_str(), std::min((size_t)GROUND_SPEED_SIZE, groundSpeed.length()));
366 }
std::string::size_type length() const
Definition: ossimString.h:408
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setGroundTrack()

void ossimNitfSensraTag::setGroundTrack ( ossimString  groundTrack)

Definition at line 384 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), GROUND_TRACK_SIZE, ossimString::length(), min, and theGroundTrack.

385 {
386  memset(theGroundTrack, ' ', GROUND_TRACK_SIZE);
387  memcpy(theGroundTrack, groundTrack.c_str(), std::min((size_t)GROUND_TRACK_SIZE, groundTrack.length()));
388 }
std::string::size_type length() const
Definition: ossimString.h:408
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setNSwaths()

void ossimNitfSensraTag::setNSwaths ( ossimString  nSwaths)

Definition at line 428 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, N_SWATHS_SIZE, and theNSwaths.

429 {
430  memset(theNSwaths, ' ', N_SWATHS_SIZE);
431  memcpy(theNSwaths, nSwaths.c_str(), std::min((size_t)N_SWATHS_SIZE, nSwaths.length()));
432 }
std::string::size_type length() const
Definition: ossimString.h:408
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setPlatformHdg()

void ossimNitfSensraTag::setPlatformHdg ( ossimString  platformHdg)

Definition at line 340 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, PLATFORM_HDG_SIZE, and thePlatformHdg.

341 {
342  memset(thePlatformHdg, ' ', PLATFORM_HDG_SIZE);
343  memcpy(thePlatformHdg, platformHdg.c_str(), std::min((size_t)PLATFORM_HDG_SIZE, platformHdg.length()));
344 }
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
#define min(a, b)
Definition: auxiliary.h:75

◆ setPlatformPitch()

void ossimNitfSensraTag::setPlatformPitch ( ossimString  platformPitch)

Definition at line 318 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, PLATFORM_PITCH_SIZE, and thePlatformPitch.

319 {
321  memcpy(thePlatformPitch, platformPitch.c_str(), std::min((size_t)PLATFORM_PITCH_SIZE, platformPitch.length()));
322 }
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setPlatformRoll()

void ossimNitfSensraTag::setPlatformRoll ( ossimString  platformRoll)

Definition at line 329 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, PLATFORM_ROLL_SIZE, and thePlatformRoll.

330 {
331  memset(thePlatformRoll, ' ', PLATFORM_ROLL_SIZE);
332  memcpy(thePlatformRoll, platformRoll.c_str(), std::min((size_t)PLATFORM_ROLL_SIZE, platformRoll.length()));
333 }
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.
#define min(a, b)
Definition: auxiliary.h:75

◆ setRefCol()

void ossimNitfSensraTag::setRefCol ( ossimString  refCol)

Definition at line 197 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, REF_COL_SIZE, and theRefCol.

198 {
199  memset(theRefCol, ' ', REF_COL_SIZE);
200  memcpy(theRefCol, refCol.c_str(), std::min((size_t)REF_COL_SIZE, refCol.length()));
201 }
std::string::size_type length() const
Definition: ossimString.h:408
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setRefRow()

void ossimNitfSensraTag::setRefRow ( ossimString  refRow)

Definition at line 186 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, REF_ROW_SIZE, and theRefRow.

187 {
188  memset(theRefRow, ' ', REF_ROW_SIZE);
189  memcpy(theRefRow, refRow.c_str(), std::min((size_t)REF_ROW_SIZE, refRow.length()));
190 }
std::string::size_type length() const
Definition: ossimString.h:408
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorAgl()

void ossimNitfSensraTag::setSensorAgl ( ossimString  sensorAgl)

Definition at line 274 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_AGL_SIZE, and theSensorAgl.

275 {
276  memset(theSensorAgl, ' ', SENSOR_AGL_SIZE);
277  memcpy(theSensorAgl, sensorAgl.c_str(), std::min((size_t)SENSOR_AGL_SIZE, sensorAgl.length()));
278 }
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorAlt()

void ossimNitfSensraTag::setSensorAlt ( ossimString  sensorAlt)

Definition at line 252 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_ALT_SIZE, and theSensorAlt.

253 {
254  memset(theSensorAlt, ' ', SENSOR_ALT_SIZE);
255  memcpy(theSensorAlt, sensorAlt.c_str(), std::min((size_t)SENSOR_ALT_SIZE, sensorAlt.length()));
256 }
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorAltSrc()

void ossimNitfSensraTag::setSensorAltSrc ( ossimString  sensorAltSrc)

Definition at line 241 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_ALT_SRC_SIZE, and theSensorAltSrc.

242 {
243  memset(theSensorAltSrc, ' ', SENSOR_ALT_SRC_SIZE);
244  memcpy(theSensorAltSrc, sensorAltSrc.c_str(), std::min((size_t)SENSOR_ALT_SRC_SIZE, sensorAltSrc.length()));
245 }
std::string::size_type length() const
Definition: ossimString.h:408
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorAltUnit()

void ossimNitfSensraTag::setSensorAltUnit ( ossimString  sensorAltUnit)

Definition at line 263 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_ALT_UNIT_SIZE, and theSensorAltUnit.

264 {
266  memcpy(theSensorAltUnit, sensorAltUnit.c_str(), std::min((size_t)SENSOR_ALT_UNIT_SIZE, sensorAltUnit.length()));
267 }
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorLoc()

void ossimNitfSensraTag::setSensorLoc ( ossimString  sensorLoc)

Definition at line 230 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_LOC_SIZE, and theSensorLoc.

231 {
232  memset(theSensorLoc, ' ', SENSOR_LOC_SIZE);
233  memcpy(theSensorLoc, sensorLoc.c_str(), std::min((size_t)SENSOR_LOC_SIZE, sensorLoc.length()));
234 }
std::string::size_type length() const
Definition: ossimString.h:408
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorModel()

void ossimNitfSensraTag::setSensorModel ( ossimString  sensorModel)

Definition at line 208 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_MODEL_SIZE, and theSensorModel.

209 {
210  memset(theSensorModel, ' ', SENSOR_MODEL_SIZE);
211  memcpy(theSensorModel, sensorModel.c_str(), std::min((size_t)SENSOR_MODEL_SIZE, sensorModel.length()));
212 }
std::string::size_type length() const
Definition: ossimString.h:408
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorMount()

void ossimNitfSensraTag::setSensorMount ( ossimString  sensorMount)

Definition at line 219 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_MOUNT_SIZE, and theSensorMount.

220 {
221  memset(theSensorMount, ' ', SENSOR_MOUNT_SIZE);
222  memcpy(theSensorMount, sensorMount.c_str(), std::min((size_t)SENSOR_MOUNT_SIZE, sensorMount.length()));
223 }
std::string::size_type length() const
Definition: ossimString.h:408
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorPitch()

void ossimNitfSensraTag::setSensorPitch ( ossimString  sensorPitch)

Definition at line 285 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_PITCH_SIZE, and theSensorPitch.

286 {
287  memset(theSensorPitch, ' ', SENSOR_PITCH_SIZE);
288  memcpy(theSensorPitch, sensorPitch.c_str(), std::min((size_t)SENSOR_PITCH_SIZE, sensorPitch.length()));
289 }
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorRoll()

void ossimNitfSensraTag::setSensorRoll ( ossimString  sensorRoll)

Definition at line 296 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_ROLL_SIZE, and theSensorRoll.

297 {
298  memset(theSensorRoll, ' ', SENSOR_ROLL_SIZE);
299  memcpy(theSensorRoll, sensorRoll.c_str(), std::min((size_t)SENSOR_ROLL_SIZE, sensorRoll.length()));
300 }
std::string::size_type length() const
Definition: ossimString.h:408
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setSensorYaw()

void ossimNitfSensraTag::setSensorYaw ( ossimString  sensorYaw)

Definition at line 307 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SENSOR_YAW_SIZE, and theSensorYaw.

308 {
309  memset(theSensorYaw, ' ', SENSOR_YAW_SIZE);
310  memcpy(theSensorYaw, sensorYaw.c_str(), std::min((size_t)SENSOR_YAW_SIZE, sensorYaw.length()));
311 }
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
#define min(a, b)
Definition: auxiliary.h:75

◆ setSpotNum()

void ossimNitfSensraTag::setSpotNum ( ossimString  spotNum)

Definition at line 439 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SPOT_NUM_SIZE, and theSpotNum.

440 {
441  memset(theSpotNum, ' ', SPOT_NUM_SIZE);
442  memcpy(theSpotNum, spotNum.c_str(), std::min((size_t)SPOT_NUM_SIZE, spotNum.length()));
443 }
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
#define min(a, b)
Definition: auxiliary.h:75

◆ setSwathFrames()

void ossimNitfSensraTag::setSwathFrames ( ossimString  swathFrames)

Definition at line 417 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, SWATH_FRAMES_SIZE, and theSwathFrames.

418 {
419  memset(theSwathFrames, ' ', SWATH_FRAMES_SIZE);
420  memcpy(theSwathFrames, swathFrames.c_str(), std::min((size_t)SWATH_FRAMES_SIZE, swathFrames.length()));
421 }
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ setVerticalVel()

void ossimNitfSensraTag::setVerticalVel ( ossimString  verticalVel)

Definition at line 395 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, theVerticalVel, and VERTICAL_VEL_SIZE.

396 {
397  memset(theVerticalVel, ' ', VERTICAL_VEL_SIZE);
398  memcpy(theVerticalVel, verticalVel.c_str(), std::min((size_t)VERTICAL_VEL_SIZE, verticalVel.length()));
399 }
std::string::size_type length() const
Definition: ossimString.h:408
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
#define min(a, b)
Definition: auxiliary.h:75

◆ setVertVelUnit()

void ossimNitfSensraTag::setVertVelUnit ( ossimString  vertVelUnit)

Definition at line 406 of file ossimNitfSensraTag.cpp.

References ossimString::c_str(), ossimString::length(), min, theVertVelUnit, and VERT_VEL_UNIT_SIZE.

407 {
408  memset(theVertVelUnit, ' ', VERT_VEL_UNIT_SIZE);
409  memcpy(theVertVelUnit, vertVelUnit.c_str(), std::min((size_t)VERT_VEL_UNIT_SIZE, vertVelUnit.length()));
410 }
std::string::size_type length() const
Definition: ossimString.h:408
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string&#39;s contents...
Definition: ossimString.h:396
#define min(a, b)
Definition: auxiliary.h:75

◆ writeStream()

void ossimNitfSensraTag::writeStream ( std::ostream &  out)
virtual

Definition at line 61 of file ossimNitfSensraTag.cpp.

References GROUND_SPD_SRC_SIZE, GROUND_SPD_UNIT_SIZE, GROUND_SPEED_SIZE, GROUND_TRACK_SIZE, N_SWATHS_SIZE, PLATFORM_HDG_SIZE, PLATFORM_PITCH_SIZE, PLATFORM_ROLL_SIZE, REF_COL_SIZE, REF_ROW_SIZE, SENSOR_AGL_SIZE, SENSOR_ALT_SIZE, SENSOR_ALT_SRC_SIZE, SENSOR_ALT_UNIT_SIZE, SENSOR_LOC_SIZE, SENSOR_MODEL_SIZE, SENSOR_MOUNT_SIZE, SENSOR_PITCH_SIZE, SENSOR_ROLL_SIZE, SENSOR_YAW_SIZE, SPOT_NUM_SIZE, SWATH_FRAMES_SIZE, theGroundSpdSrc, theGroundSpdUnit, theGroundSpeed, theGroundTrack, theNSwaths, thePlatformHdg, thePlatformPitch, thePlatformRoll, theRefCol, theRefRow, theSensorAgl, theSensorAlt, theSensorAltSrc, theSensorAltUnit, theSensorLoc, theSensorModel, theSensorMount, theSensorPitch, theSensorRoll, theSensorYaw, theSpotNum, theSwathFrames, theVerticalVel, theVertVelUnit, VERT_VEL_UNIT_SIZE, and VERTICAL_VEL_SIZE.

62 {
63  out.write(theRefRow, REF_ROW_SIZE);
64  out.write(theRefCol, REF_COL_SIZE);
67  out.write(theSensorLoc, SENSOR_LOC_SIZE);
69  out.write(theSensorAlt, SENSOR_ALT_SIZE);
71  out.write(theSensorAgl, SENSOR_AGL_SIZE);
73  out.write(theSensorRoll, SENSOR_ROLL_SIZE);
74  out.write(theSensorYaw, SENSOR_YAW_SIZE);
85  out.write(theNSwaths, N_SWATHS_SIZE);
86  out.write(theSpotNum, SPOT_NUM_SIZE);
87 }
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
char theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
FIELD: SENSORALTUNIT.
char theSensorRoll[SENSOR_ROLL_SIZE+1]
FIELD: SENSORROLL.
char theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
FIELD: GROUNDSPDSRC.
char theGroundTrack[GROUND_TRACK_SIZE+1]
FIELD: GROUNDTRACK.
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
char theSensorMount[SENSOR_MOUNT_SIZE+1]
FIELD: SENSORMOUNT.
char theNSwaths[N_SWATHS_SIZE+1]
FIELD: NSWATHS.
char theRefCol[REF_COL_SIZE+1]
FIELD: REFCOL.
char theRefRow[REF_ROW_SIZE+1]
FIELD: REFROW.
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.

Member Data Documentation

◆ theGroundSpdSrc

char ossimNitfSensraTag::theGroundSpdSrc[GROUND_SPD_SRC_SIZE+1]
protected

FIELD: GROUNDSPDSRC.

Definition at line 215 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getGroundSpdSrc(), parseStream(), print(), setGroundSpdSrc(), and writeStream().

◆ theGroundSpdUnit

char ossimNitfSensraTag::theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
protected

FIELD: GROUNDSPDUNIT.

Definition at line 227 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getGroundSpdUnit(), parseStream(), print(), setGroundSpdUnit(), and writeStream().

◆ theGroundSpeed

char ossimNitfSensraTag::theGroundSpeed[GROUND_SPEED_SIZE+1]
protected

FIELD: GROUNDSPEED.

Definition at line 221 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getGroundSpeed(), parseStream(), print(), setGroundSpeed(), and writeStream().

◆ theGroundTrack

char ossimNitfSensraTag::theGroundTrack[GROUND_TRACK_SIZE+1]
protected

FIELD: GROUNDTRACK.

Definition at line 233 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getGroundTrack(), parseStream(), print(), setGroundTrack(), and writeStream().

◆ theNSwaths

char ossimNitfSensraTag::theNSwaths[N_SWATHS_SIZE+1]
protected

FIELD: NSWATHS.

Definition at line 257 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getNSwaths(), parseStream(), print(), setNSwaths(), and writeStream().

◆ thePlatformHdg

char ossimNitfSensraTag::thePlatformHdg[PLATFORM_HDG_SIZE+1]
protected

FIELD: PLATFORMHDG.

Definition at line 209 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getPlatformHdg(), parseStream(), print(), setPlatformHdg(), and writeStream().

◆ thePlatformPitch

char ossimNitfSensraTag::thePlatformPitch[PLATFORM_PITCH_SIZE+1]
protected

FIELD: PLATFORMPITCH.

Definition at line 197 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getPlatformPitch(), parseStream(), print(), setPlatformPitch(), and writeStream().

◆ thePlatformRoll

char ossimNitfSensraTag::thePlatformRoll[PLATFORM_ROLL_SIZE+1]
protected

FIELD: PLATFORMROLL.

Definition at line 203 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getPlatformRoll(), parseStream(), print(), setPlatformRoll(), and writeStream().

◆ theRefCol

char ossimNitfSensraTag::theRefCol[REF_COL_SIZE+1]
protected

FIELD: REFCOL.

Definition at line 131 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getRefCol(), parseStream(), print(), setRefCol(), and writeStream().

◆ theRefRow

char ossimNitfSensraTag::theRefRow[REF_ROW_SIZE+1]
protected

FIELD: REFROW.

Definition at line 125 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getRefRow(), parseStream(), print(), setRefRow(), and writeStream().

◆ theSensorAgl

char ossimNitfSensraTag::theSensorAgl[SENSOR_AGL_SIZE+1]
protected

FIELD: SENSORAGL.

Definition at line 173 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorAgl(), parseStream(), print(), setSensorAgl(), and writeStream().

◆ theSensorAlt

char ossimNitfSensraTag::theSensorAlt[SENSOR_ALT_SIZE+1]
protected

FIELD: SENSORALT.

Definition at line 161 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorAlt(), parseStream(), print(), setSensorAlt(), and writeStream().

◆ theSensorAltSrc

char ossimNitfSensraTag::theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
protected

FIELD: SENSORALTSRC.

Definition at line 155 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorAltSrc(), parseStream(), print(), setSensorAltSrc(), and writeStream().

◆ theSensorAltUnit

char ossimNitfSensraTag::theSensorAltUnit[SENSOR_ALT_UNIT_SIZE+1]
protected

FIELD: SENSORALTUNIT.

Definition at line 167 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorAltUnit(), parseStream(), print(), setSensorAltUnit(), and writeStream().

◆ theSensorLoc

char ossimNitfSensraTag::theSensorLoc[SENSOR_LOC_SIZE+1]
protected

FIELD: SENSORLOC.

Definition at line 149 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorLoc(), parseStream(), print(), setSensorLoc(), and writeStream().

◆ theSensorModel

char ossimNitfSensraTag::theSensorModel[SENSOR_MODEL_SIZE+1]
protected

FIELD: SENSORMODEL.

Definition at line 137 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorModel(), parseStream(), print(), setSensorModel(), and writeStream().

◆ theSensorMount

char ossimNitfSensraTag::theSensorMount[SENSOR_MOUNT_SIZE+1]
protected

FIELD: SENSORMOUNT.

Definition at line 143 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorMount(), parseStream(), print(), setSensorMount(), and writeStream().

◆ theSensorPitch

char ossimNitfSensraTag::theSensorPitch[SENSOR_PITCH_SIZE+1]
protected

FIELD: SENSORPITCH.

Definition at line 179 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorPitch(), parseStream(), print(), setSensorPitch(), and writeStream().

◆ theSensorRoll

char ossimNitfSensraTag::theSensorRoll[SENSOR_ROLL_SIZE+1]
protected

FIELD: SENSORROLL.

Definition at line 185 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorRoll(), parseStream(), print(), setSensorRoll(), and writeStream().

◆ theSensorYaw

char ossimNitfSensraTag::theSensorYaw[SENSOR_YAW_SIZE+1]
protected

FIELD: SENSORYAW.

Definition at line 191 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSensorYaw(), parseStream(), print(), setSensorYaw(), and writeStream().

◆ theSpotNum

char ossimNitfSensraTag::theSpotNum[SPOT_NUM_SIZE+1]
protected

FIELD: SPOTNUM.

Definition at line 263 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSpotNum(), parseStream(), print(), setSpotNum(), and writeStream().

◆ theSwathFrames

char ossimNitfSensraTag::theSwathFrames[SWATH_FRAMES_SIZE+1]
protected

FIELD: SWATHFRAMES.

Definition at line 251 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getSwathFrames(), parseStream(), print(), setSwathFrames(), and writeStream().

◆ theVerticalVel

char ossimNitfSensraTag::theVerticalVel[VERTICAL_VEL_SIZE+1]
protected

FIELD: VERTICALVEL.

Definition at line 239 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getVerticalVel(), parseStream(), print(), setVerticalVel(), and writeStream().

◆ theVertVelUnit

char ossimNitfSensraTag::theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
protected

FIELD: VERTVELUNIT.

Definition at line 245 of file ossimNitfSensraTag.h.

Referenced by clearFields(), getVertVelUnit(), parseStream(), print(), setVertVelUnit(), and writeStream().


The documentation for this class was generated from the following files: