23 static const ossimString ANGLETONORTH_KW =
"ANGLETONORTH";
25 static const ossimString DYNAMICRANGE_KW =
"DYNAMICRANGE";
439 const std::string& prefix)
const 441 std::string pfx = prefix;
445 out << setiosflags(std::ios::left)
446 << pfx << std::setw(24) <<
"CETAG:" <<
getTagName() <<
"\n" 447 << pfx << std::setw(24) <<
"CEL:" <<
getTagLength() <<
"\n" 449 << pfx << std::setw(24) <<
"MEANGSD:" <<
theMeanGsd <<
"\n" 451 << pfx << std::setw(24) <<
"OBLANG:" <<
theOblAng <<
"\n" 452 << pfx << std::setw(24) <<
"ROLLANG:" <<
theRollAng <<
"\n" 453 << pfx << std::setw(24) <<
"NREF:" <<
theNRef <<
"\n" 454 << pfx << std::setw(24) <<
"REVNUM:" <<
theRevNum <<
"\n" 455 << pfx << std::setw(24) <<
"NSEG:" <<
theNSeg <<
"\n" 456 << pfx << std::setw(24) <<
"MAXLPSEG:" <<
theMaxLpSeg <<
"\n" 457 << pfx << std::setw(24) <<
"SUNEL:" <<
theSunEl <<
"\n" 458 << pfx << std::setw(24) <<
"SUNAZ:" <<
theSunAz <<
"\n";
472 if(name == ANGLETONORTH_KW)
476 else if(name == MEANGSD_KW)
480 else if(name == DYNAMICRANGE_KW)
484 else if(name == OBLANG_KW)
488 else if(name == ROLLANG_KW)
492 else if(name == NREF_KW)
496 else if(name == REVNUM_KW)
500 else if(name == NSEG_KW)
504 else if(name == MAXLPSEG_KW)
508 else if(name == SUNEL_KW)
512 else if(name == SUNAZ_KW)
528 propertyNames.push_back(ANGLETONORTH_KW);
529 propertyNames.push_back(MEANGSD_KW);
530 propertyNames.push_back(DYNAMICRANGE_KW);
531 propertyNames.push_back(OBLANG_KW);
532 propertyNames.push_back(ROLLANG_KW);
533 propertyNames.push_back(NREF_KW);
534 propertyNames.push_back(REVNUM_KW);
535 propertyNames.push_back(NSEG_KW);
536 propertyNames.push_back(MAXLPSEG_KW);
537 propertyNames.push_back(SUNEL_KW);
538 propertyNames.push_back(SUNAZ_KW);
char theNSeg[N_SEG_SIZE+1]
FIELD: NSEG.
ossimString getField6() const
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
void setField11(const ossimString &field11)
void setField16(const ossimString &field16)
ossimString getSunEl() const
ossimString getField12() const
char theMaxLpSeg[MAX_LP_SEG_SIZE+1]
FIELD: MAXLPSEG.
void setField6(const ossimString &field6)
void setAngleToNorth(const ossimString &angleToNorth)
void setNSeg(const ossimString &nSeg)
RTTI_DEF1(ossimNitfUse00aTag, "ossimNitfUse00aTag", ossimNitfRegisteredTag)
ossimString getField16() const
char theField15[FIELD15_SIZE+1]
FIELD: FIELD15.
ossimString getField13() const
char theRevNum[REV_NUM_SIZE+1]
FIELD: REVNUM.
void setField15(const ossimString &field15)
char theField14[FIELD14_SIZE+1]
FIELD: FIELD14.
ossimString getRollAng() const
char theField3[FIELD3_SIZE+1]
FIELD: FIELD3.
char theNRef[N_REF_SIZE+1]
FIELD: NREF.
char theField12[FIELD12_SIZE+1]
FIELD: FIELD12.
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.
char theField11[FIELD11_SIZE+1]
FIELD: FIELD11.
ossimString getField11() const
void setSunAz(const ossimString &sunAz)
char theMeanGsd[MEAN_GSD_SIZE+1]
FIELD: MEANGSD.
ossimString getMaxLpSeg() const
ossimString getSunAz() const
char theField6[FIELD6_SIZE+1]
FIELD: FIELD6.
char theField13[FIELD13_SIZE+1]
FIELD: FIELD13.
virtual void writeStream(std::ostream &out)
ossimString getField10() const
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
char theField5[FIELD5_SIZE+1]
FIELD: FIELD5.
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
char theField7[FIELD7_SIZE+1]
FIELD: FIELD7.
ossimString getDynamicRange() const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
void setNRef(const ossimString &nRef)
void setDynamicRange(const ossimString &dynamicRange)
std::string::size_type length() const
char theField21[FIELD21_SIZE+1]
FIELD: FIELD21.
std::string::size_type size() const
void setField12(const ossimString &field12)
ossim_float64 toFloat64() const
void setRevNum(const ossimString &revNum)
void setField20(const ossimString &field20)
void setField10(const ossimString &field10)
virtual void parseStream(std::istream &in)
ossimString getMeanGsd() const
virtual ~ossimNitfUse00aTag()
ossimString getField5() const
virtual void clearFields()
char theRollAng[ROLL_ANG_SIZE+1]
FIELD: ROLLANG.
char theField10[FIELD10_SIZE+1]
FIELD: FIELD10.
void setField21(const ossimString &field21)
std::basic_istream< char > istream
Base class for char input streams.
char theAngleToNorth[ANGLE_TO_NORTH_SIZE+1]
FIELD: ANGLETONORTH.
ossimString getField20() const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
void setRollAng(const ossimString &rollAng)
char theSunEl[SUN_EL_SIZE+1]
FIELD: SUNEL.
ossimString getNSeg() const
ossimString getOblAng() const
void setMaxLpSeg(const ossimString &maxLpSeg)
ossimString getField7() const
char theOblAng[OBL_ANG_SIZE+1]
FIELD: OBLANG.
void setSunEl(const ossimString &sunEl)
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...
void setField13(const ossimString &field13)
ossimString getField15() const
char theDynamicRange[DYNAMIC_RANGE_SIZE+1]
FIELD: DYNAMICRANGE.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
void setField5(const ossimString &field5)
ossimString getField3() const
char theField20[FIELD20_SIZE+1]
FIELD: FIELD20.
void setField7(const ossimString &field7)
void setMeanGsd(const ossimString &meanGsd)
ossimString getRevNum() const
ossimString getNRef() const
ossim_float64 getMeanGsdInMeters() const
ossimString getField14() const
ossimString getField21() const
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
char theSunAz[SUN_AZ_SIZE+1]
FIELD: SUNAZ.
void setField3(const ossimString &field3)
void setField14(const ossimString &field14)
ossimString getAngleToNorth() const
bool isnan(const float &v)
isnan Test for floating point Not A Number (NAN) value.
void setOblAng(const ossimString &oblAng)
char theField16[FIELD16_SIZE+1]
FIELD: FIELD16.