145 std::string pfx = prefix;
149 out << std::setiosflags(std::ios::left)
150 << pfx << std::setw(24) <<
"CETAG:" 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" 159 << pfx << std::setw(24) <<
"SENSORALT:" <<
theSensorAlt <<
"\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" 167 << pfx << std::setw(24) <<
"PLATFORMHDG:" <<
thePlatformHdg <<
"\n" 169 << pfx << std::setw(24) <<
"GROUNDSPEED:" <<
theGroundSpeed <<
"\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";
ossimString getSensorAltUnit() const
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
void setGroundSpdUnit(ossimString groundSpdUnit)
ossimString getRefRow() const
ossimString getSpotNum() const
ossimString getSwathFrames() const
ossimString getSensorLoc() const
void setVerticalVel(ossimString verticalVel)
char theGroundSpdUnit[GROUND_SPD_UNIT_SIZE+1]
FIELD: GROUNDSPDUNIT.
char theSensorPitch[SENSOR_PITCH_SIZE+1]
FIELD: SENSORPITCH.
void setGroundSpeed(ossimString groundSpeed)
virtual void writeStream(std::ostream &out)
char theSwathFrames[SWATH_FRAMES_SIZE+1]
FIELD: SWATHFRAMES.
char thePlatformPitch[PLATFORM_PITCH_SIZE+1]
FIELD: PLATFORMPITCH.
void setGroundTrack(ossimString groundTrack)
ossimString getGroundSpdSrc() const
void setSensorLoc(ossimString sensorLoc)
ossimString getSensorPitch() const
void setNSwaths(ossimString nSwaths)
ossimString getNSwaths() const
ossimString getGroundSpdUnit() const
ossimString getSensorRoll() const
void setSensorAlt(ossimString sensorAlt)
char theSensorAgl[SENSOR_AGL_SIZE+1]
FIELD: SENSORAGL.
void setSwathFrames(ossimString swathFrames)
void setSensorPitch(ossimString sensorPitch)
ossimString getGroundSpeed() const
char theSensorAlt[SENSOR_ALT_SIZE+1]
FIELD: SENSORALT.
RTTI_DEF1(ossimNitfSensraTag, "ossimNitfSensraTag", ossimNitfRegisteredTag)
void setSensorAltUnit(ossimString sensorAltUnit)
void setGroundSpdSrc(ossimString groundSpdSrc)
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.
void setSensorAltSrc(ossimString sensorAltSrc)
ossimString getPlatformPitch() const
ossimString getVertVelUnit() const
std::string::size_type length() const
virtual void parseStream(std::istream &in)
void setRefRow(ossimString refRow)
void setSpotNum(ossimString spotNum)
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.
void setVertVelUnit(ossimString vertVelUnit)
void setRefCol(ossimString refCol)
ossimString getSensorAlt() const
ossimString getSensorYaw() const
ossimString getPlatformRoll() const
char theVertVelUnit[VERT_VEL_UNIT_SIZE+1]
FIELD: VERTVELUNIT.
void setSensorYaw(ossimString sensorYaw)
void setSensorRoll(ossimString sensorRoll)
ossimString getPlatformHdg() const
virtual void clearFields()
ossimString getSensorModel() const
char theSensorModel[SENSOR_MODEL_SIZE+1]
FIELD: SENSORMODEL.
ossimString getSensorMount() const
void setPlatformPitch(ossimString platformPitch)
char theSensorAltSrc[SENSOR_ALT_SRC_SIZE+1]
FIELD: SENSORALTSRC.
std::basic_istream< char > istream
Base class for char input streams.
char theGroundSpeed[GROUND_SPEED_SIZE+1]
FIELD: GROUNDSPEED.
char theSensorLoc[SENSOR_LOC_SIZE+1]
FIELD: SENSORLOC.
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.
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.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
void setPlatformRoll(ossimString platformRoll)
ossimString getRefCol() const
ossimString getSensorAgl() const
char theSpotNum[SPOT_NUM_SIZE+1]
FIELD: SPOTNUM.
void setSensorMount(ossimString sensorMount)
void setSensorAgl(ossimString sensorAgl)
char theSensorYaw[SENSOR_YAW_SIZE+1]
FIELD: SENSORYAW.
char thePlatformHdg[PLATFORM_HDG_SIZE+1]
FIELD: PLATFORMHDG.
void setPlatformHdg(ossimString platformHdg)
char theVerticalVel[VERTICAL_VEL_SIZE+1]
FIELD: VERTICALVEL.
ossimString getVerticalVel() const
char thePlatformRoll[PLATFORM_ROLL_SIZE+1]
FIELD: PLATFORMROLL.
std::basic_ostream< char > ostream
Base class for char output streams.
void setSensorModel(ossimString sensorModel)
ossimString getSensorAltSrc() const
ossimString getGroundTrack() const
virtual ~ossimNitfSensraTag()