26 static const ossimString STARTSEGMENT_KW =
"STARTSEGMENT";
28 static const ossimString REPLAYREGEN_KW =
"REPLAYREGEN";
29 static const ossimString BLANKFILL_KW =
"BLANKFILL";
30 static const ossimString STARTCOLUMN_KW =
"STARTCOLUMN";
32 static const ossimString ENDSEGMENT_KW =
"ENDSEGMENT";
33 static const ossimString ENDCOLUMN_KW =
"ENDCOLUMN";
336 const std::string& prefix)
const 338 std::string pfx = prefix;
342 out << setiosflags(std::ios::left)
343 << pfx << std::setw(24) <<
"CETAG:" 345 << pfx << std::setw(24) <<
"CEL:" <<
getTagLength() <<
"\n" 346 << pfx << std::setw(24) <<
"ACQDATE:" <<
theAcqDate <<
"\n" 347 << pfx << std::setw(24) <<
"MISSION:" <<
theMission <<
"\n" 348 << pfx << std::setw(24) <<
"PASS:" <<
thePass <<
"\n" 349 << pfx << std::setw(24) <<
"OPNUM:" <<
theOpNum <<
"\n" 351 << pfx << std::setw(24) <<
"REPRONUM:" <<
theReproNum <<
"\n" 352 << pfx << std::setw(24) <<
"REPLAYREGEN:" <<
theReplayRegen <<
"\n" 353 << pfx << std::setw(24) <<
"STARTCOLUMN:" <<
theStartColumn <<
"\n" 354 << pfx << std::setw(24) <<
"STARTROW:" <<
theStartRow <<
"\n" 355 << pfx << std::setw(24) <<
"ENDSEGMENT:" <<
theEndSegment <<
"\n" 356 << pfx << std::setw(24) <<
"ENDCOLUMN:" <<
theEndColumn <<
"\n" 357 << pfx << std::setw(24) <<
"ENDROW:" <<
theEndRow <<
"\n" 358 << pfx << std::setw(24) <<
"COUNTRY:" <<
theCountry <<
"\n" 359 << pfx << std::setw(24) <<
"WAC:" <<
theWac <<
"\n" 360 << pfx << std::setw(24) <<
"LOCATION:" <<
theLocation <<
"\n";
374 if(name == ACQDATE_KW)
378 else if(name == MISSION_KW)
382 else if(name == PASS_KW)
386 else if(name == OPNUM_KW)
390 else if(name == STARTSEGMENT_KW)
394 else if(name == REPRONUM_KW)
398 else if(name == REPLAYREGEN_KW)
402 else if(name == BLANKFILL_KW)
406 else if(name == STARTCOLUMN_KW)
410 else if(name == STARTROW_KW)
414 else if(name == ENDSEGMENT_KW)
418 else if(name == ENDCOLUMN_KW)
422 else if(name == ENDROW_KW)
426 else if(name == COUNTRY_KW)
430 else if(name == WAC_KW)
434 else if(name == LOCATION_KW)
450 propertyNames.push_back(ACQDATE_KW);
451 propertyNames.push_back(MISSION_KW);
452 propertyNames.push_back(PASS_KW);
453 propertyNames.push_back(OPNUM_KW);
454 propertyNames.push_back(STARTSEGMENT_KW);
455 propertyNames.push_back(REPRONUM_KW);
456 propertyNames.push_back(REPLAYREGEN_KW);
457 propertyNames.push_back(BLANKFILL_KW);
458 propertyNames.push_back(STARTCOLUMN_KW);
459 propertyNames.push_back(STARTROW_KW);
460 propertyNames.push_back(ENDSEGMENT_KW);
461 propertyNames.push_back(ENDCOLUMN_KW);
462 propertyNames.push_back(ENDROW_KW);
463 propertyNames.push_back(COUNTRY_KW);
464 propertyNames.push_back(WAC_KW);
465 propertyNames.push_back(LOCATION_KW);
ossimString getAcqDate() const
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
virtual void clearFields()
ossimString getStartRow() const
ossimString getMission() const
ossimString getWac() const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
char theAcqDate[ACQ_DATE_SIZE+1]
FIELD: ACQDATE.
ossimString getField17() const
ossimString getStartSegment() const
char theMission[MISSION_SIZE+1]
FIELD: MISSION.
virtual void parseStream(std::istream &in)
char theBlankFill[BLANK_FILL_SIZE+1]
FIELD: BLANKFILL.
char theReplayRegen[REPLAY_REGEN_SIZE+1]
FIELD: REPLAYREGEN.
void setStartColumn(ossimString startColumn)
void setAcqDate(ossimString acqDate)
char theReproNum[REPRO_NUM_SIZE+1]
FIELD: REPRONUM.
RTTI_DEF1(ossimNitfStdidcTag, "ossimNitfStdidcTag", ossimNitfRegisteredTag)
void setField17(ossimString field17)
char theStartColumn[START_COLUMN_SIZE+1]
FIELD: STARTCOLUMN.
char theLocation[LOCATION_SIZE+1]
FIELD: LOCATION.
char theField17[FIELD17_SIZE+1]
FIELD: FIELD17.
void setOpNum(ossimString opNum)
ossimString getField18() const
void setPass(ossimString pass)
char thePass[PASS_SIZE+1]
FIELD: PASS.
char theCountry[COUNTRY_SIZE+1]
FIELD: COUNTRY.
char theOpNum[OP_NUM_SIZE+1]
FIELD: OPNUM.
void setField18(ossimString field18)
ossimString getCountry() const
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
void setEndRow(ossimString endRow)
void setWac(ossimString wac)
virtual void setProperty(ossimRefPtr< ossimProperty > property)
void setCountry(ossimString country)
std::string::size_type length() const
virtual ~ossimNitfStdidcTag()
void setBlankFill(ossimString blankFill)
ossimString getEndRow() const
ossimString getEndColumn() const
ossimString getReplayRegen() const
ossimString getOpNum() const
void setStartSegment(ossimString startSegment)
char theStartRow[START_ROW_SIZE+1]
FIELD: STARTROW.
virtual void writeStream(std::ostream &out)
void setStartRow(ossimString startRow)
void setMission(ossimString mission)
std::basic_istream< char > istream
Base class for char input streams.
char theEndRow[END_ROW_SIZE+1]
FIELD: ENDROW.
void setEndSegment(ossimString endSegment)
void setReproNum(ossimString reproNum)
char theWac[WAC_SIZE+1]
FIELD: WAC.
char theEndColumn[END_COLUMN_SIZE+1]
FIELD: ENDCOLUMN.
char theField18[FIELD18_SIZE+1]
FIELD: FIELD18.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
ossimString getEndSegment() const
ossimString getPass() const
void setEndColumn(ossimString endColumn)
ossimString getStartColumn() const
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
void setLocation(ossimString location)
char theStartSegment[START_SEGMENT_SIZE+1]
FIELD: STARTSEGMENT.
ossimString getReproNum() const
void setReplayRegen(ossimString replayRegen)
ossimString getLocation() 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.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
ossimString getBlankFill() const
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
char theEndSegment[END_SEGMENT_SIZE+1]
FIELD: ENDSEGMENT.