36 static const ossimString PIAMSNNUM_KW =
"PIAMSNNUM";
39 static const ossimString GENERATION_KW =
"GENERATION";
41 static const ossimString OTHERCOND_KW =
"OTHERCOND";
151 const std::string& prefix)
const 153 std::string pfx = prefix;
157 out << setiosflags(std::ios::left)
158 << pfx << std::setw(24) <<
"CETAG:" <<
getTagName() <<
"\n" 159 << pfx << std::setw(24) <<
"CEL:" <<
getTagLength() <<
"\n" 160 << pfx << std::setw(24) <<
"CLOUDCVR:" <<
theCloudcvr <<
"\n" 161 << pfx << std::setw(24) <<
"SRP:" <<
theSrp <<
"\n" 162 << pfx << std::setw(24) <<
"SENSMODE:" <<
thesSensmode <<
"\n" 163 << pfx << std::setw(24) <<
"SENSNAME:" <<
theSensname <<
"\n" 164 << pfx << std::setw(24) <<
"SOURCE:" <<
theSource <<
"\n" 165 << pfx << std::setw(24) <<
"COMGEN:" <<
theComgen <<
"\n" 166 << pfx << std::setw(24) <<
"SUBQUAL:" <<
theSubqual <<
"\n" 167 << pfx << std::setw(24) <<
"PIAMSNNUM:" <<
thePiamsnnum <<
"\n" 168 << pfx << std::setw(24) <<
"CAMSPECS:" <<
theCamspecs <<
"\n" 169 << pfx << std::setw(24) <<
"PROJID:" <<
theProjid <<
"\n" 170 << pfx << std::setw(24) <<
"GENERATION:" <<
theGeneration <<
"\n" 171 << pfx << std::setw(24) <<
"ESD:" <<
theEsd <<
"\n" 172 << pfx << std::setw(24) <<
"OTHERCOND:" <<
theOthercond <<
"\n" 173 << pfx << std::setw(24) <<
"MEANGSD:" <<
theMeanGsd <<
"\n" 174 << pfx << std::setw(24) <<
"IDATUM:" <<
theIdatum <<
"\n" 175 << pfx << std::setw(24) <<
"IELLIP:" <<
theIellip <<
"\n" 176 << pfx << std::setw(24) <<
"PREPROC:" <<
thePreproc <<
"\n" 177 << pfx << std::setw(24) <<
"IPROJ:" <<
theIproj <<
"\n" 178 << pfx << std::setw(24) <<
"SATTRACK:" <<
theSattrack <<
"\n";
304 if(name == CLOUDCVR_KW)
308 else if(name == SRP_KW)
312 else if(name == SENSMODE_KW)
316 else if(name == SENSNAME_KW)
320 else if(name == SOURCE_KW)
324 else if(name == COMGEN_KW)
328 else if(name == SUBQUAL_KW)
332 else if(name == PIAMSNNUM_KW)
336 else if(name == CAMSPECS_KW)
340 else if(name == PROJID_KW)
344 else if(name == GENERATION_KW)
348 else if(name == ESD_KW)
352 else if(name == OTHERCOND_KW)
356 else if(name == MEANGSD_KW)
360 else if(name == IDATUM_KW)
364 else if(name == IELLIP_KW)
368 else if(name == PREPROC_KW)
372 else if(name == IPROJ_KW)
376 else if(name == SATTRACK_KW)
392 propertyNames.push_back(CLOUDCVR_KW);
393 propertyNames.push_back(SRP_KW);
394 propertyNames.push_back(SENSMODE_KW);
395 propertyNames.push_back(SENSNAME_KW);
396 propertyNames.push_back(SOURCE_KW);
397 propertyNames.push_back(COMGEN_KW);
398 propertyNames.push_back(SUBQUAL_KW);
399 propertyNames.push_back(PIAMSNNUM_KW);
400 propertyNames.push_back(CAMSPECS_KW);
401 propertyNames.push_back(PROJID_KW);
402 propertyNames.push_back(GENERATION_KW);
403 propertyNames.push_back(ESD_KW);
404 propertyNames.push_back(OTHERCOND_KW);
405 propertyNames.push_back(MEANGSD_KW);
406 propertyNames.push_back(IDATUM_KW);
407 propertyNames.push_back(IELLIP_KW);
408 propertyNames.push_back(PREPROC_KW);
409 propertyNames.push_back(IPROJ_KW);
410 propertyNames.push_back(SATTRACK_KW);
char theSensname[SENSNAME_SIZE+1]
FIELD: SENSNAME.
char thePiamsnnum[PIAMSNNUM_SIZE+1]
FIELD: PIAMSNNUM.
virtual const std::string & getTagName() const
This will return the name of the registered tag for this user defined header.
ossimString getSensmodeString() const
char theIellip[IELLIP_SIZE+1]
FIELD: IELLIP.
ossimString getSourceString() const
char theSattrack[SATTRACK_SIZE+1]
FIELD: SATTRACK.
RTTI_DEF1(ossimNitfPiaimcTag, "ossimNitfPiaimcTag", ossimNitfRegisteredTag)
virtual void clearFields()
Clears all string fields within the record to some default nothingness.
ossimString getSensnameString() const
virtual void writeStream(std::ostream &out)
Write method.
ossimNitfPiaimcTag()
default constructor
ossimString getIdatumString() const
char thesSensmode[SENSMODE_SIZE+1]
FIELD: SENSMODE.
ossimString getIprojString() const
char theIproj[IPROJ_SIZE+1]
FIELD: IPROJ.
ossimString getProjidString() const
ossimString getIellipString() const
char theProjid[PROJID_SIZE+1]
FIELD: PROJID.
char theSubqual[SUBQUAL_SIZE+1]
FIELD: SUBQUAL.
char theSrp[SRP_SIZE+1]
FIELD: SRP.
ossimString getSubqualString() const
virtual ossim_uint32 getTagLength() const
Returns the length in bytes of the tag from the CEL or REL field.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
ossimString getSrpString() const
ossimString getPiamsnnumString() const
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
std::string::size_type size() const
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.
ossim_float64 toFloat64() const
char thePreproc[PREPROC_SIZE+1]
FIELD: PREPROC.
ossimString getComgenString() const
ossimString getMeadGsdString() const
ossimString getCamspecsString() const
ossimString getPreprocString() const
ossimString getCloudcvrString() const
virtual void setProperty(ossimRefPtr< ossimProperty > property)
ossimString getOthercondString() const
std::basic_istream< char > istream
Base class for char input streams.
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
char theIdatum[IDATUM_SIZE+1]
FIELD: IDATUM.
virtual void parseStream(std::istream &in)
Parse method.
char theComgen[COMGEN_SIZE+1]
FIELD: COMGEN.
ossim_float64 getMeanGsdInMeters() const
char theCloudcvr[CLOUDCVR_SIZE+1]
FIELD: CLOUDCVR.
char theSource[SOURCE_SIZE+1]
FIELD: SOURCE.
char theMeanGsd[MEANGSD_SIZE+1]
FIELD: MEANGSD.
char theOthercond[OTHERCOND_SIZE+1]
FIELD: OTHERCOND.
char theCamspecs[CAMSPECS_SIZE+1]
FIELD: CAMSPECS.
ossimString getSattrackString() const
ossimString getGenerationString() const
ossimString getEsdString() const
char theGeneration[GENERATION_SIZE+1]
FIELD: GENERATION.
std::basic_ostream< char > ostream
Base class for char output streams.
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
char theEsd[ESD_SIZE+1]
FIELD: ESD.
bool isnan(const float &v)
isnan Test for floating point Not A Number (NAN) value.