OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfFileHeaderV2_1.h>
Public Member Functions | |
ossimNitfFileHeaderV2_1 () | |
virtual | ~ossimNitfFileHeaderV2_1 () |
virtual void | parseStream (ossim::istream &in) |
virtual void | writeStream (ossim::ostream &out) |
virtual bool | isEncrypted () const |
virtual ossim_int32 | getNumberOfImages () const |
virtual ossim_int32 | getNumberOfLabels () const |
virtual ossim_int32 | getNumberOfSymbols () const |
virtual ossim_int32 | getNumberOfGraphics () const |
virtual ossim_int32 | getNumberOfTextSegments () const |
virtual ossim_int32 | getNumberOfDataExtSegments () const |
virtual ossim_int32 | getNumberOfReservedExtSegments () const |
virtual ossim_int32 | getHeaderSize () const |
virtual ossim_int64 | getFileSize () const |
virtual const char * | getVersion () const |
virtual const char * | getDateTime () const |
virtual ossimDrect | getImageRect () const |
virtual void | addImageInfoRecord (const ossimNitfImageInfoRecordV2_1 &recordInfo) |
virtual void | deleteLastImageInfoRecord () |
virtual void | deleteLastDataExtSegInfoRecord () |
virtual void | addTextInfoRecord (const ossimNitfTextFileInfoRecordV2_1 &recordInfo) |
virtual void | addDataExtSegInfoRecord (const ossimNitfDataExtSegInfoRecordV2_1 &recordInfo) |
virtual void | replaceImageInfoRecord (int i, const ossimNitfImageInfoRecordV2_1 &recordInfo) |
virtual ossimNitfImageHeader * | getNewImageHeader (ossim_uint32 imageNumber, ossim::istream &in) const |
virtual ossimNitfSymbolHeader * | getNewSymbolHeader (ossim_uint32 symbolNumber, ossim::istream &in) const |
virtual ossimNitfLabelHeader * | getNewLabelHeader (ossim_uint32 labelNumber, ossim::istream &in) const |
virtual ossimNitfTextHeader * | getNewTextHeader (ossim_uint32 textNumber, ossim::istream &in) const |
virtual ossimNitfDataExtensionSegment * | getNewDataExtensionSegment (ossim_int32 dataExtNumber, ossim::istream &in) const |
virtual ossimNitfImageHeader * | allocateImageHeader () const |
virtual ossimNitfSymbolHeader * | allocateSymbolHeader () const |
virtual ossimNitfLabelHeader * | allocateLabelHeader () const |
virtual ossimNitfTextHeader * | allocateTextHeader () const |
virtual ossimNitfDataExtensionSegment * | allocateDataExtSegment () const |
virtual ossimString | getSecurityClassificationSys () const |
virtual ossimString | getCodeWords () const |
virtual ossimString | getControlAndHandling () const |
virtual ossimString | getReleasingInstructions () const |
virtual ossimString | getDeclassificationType () const |
virtual ossimString | getDeclassificationDate () const |
virtual ossimString | getDeclassificationExemption () const |
virtual ossimString | getDowngrade () const |
virtual ossimString | getDowngradingDate () const |
virtual ossimString | getClassificationText () const |
virtual ossimString | getClassificationAuthorityType () const |
virtual ossimString | getClassificationAuthority () const |
virtual ossimString | getClassificationReason () const |
virtual ossimString | getSecuritySourceDate () const |
virtual ossimString | getSecurityControlNumber () const |
virtual void | getBackgroundColor (ossim_uint8 &r, ossim_uint8 &g, ossim_uint8 &b) const |
virtual ossimString | getOriginatorsName () const |
virtual ossimString | getOriginatorsPhone () const |
virtual void | setFileLength (ossim_uint64 fileLength) |
Sets file length (FL) field. More... | |
virtual void | setHeaderLength (ossim_uint64 headerLength) |
Sets header length (HL) field. More... | |
virtual void | setSecurityClassificationSys (const ossimString &value) |
virtual void | setCodeWords (const ossimString &codeWords) |
virtual void | setControlAndHandling (const ossimString &controlAndHandling) |
virtual void | setReleasingInstructions (const ossimString &releasingInstructions) |
virtual void | setDeclassificationType (const ossimString &declassType) |
virtual void | setDeclassificationDate (const ossimLocalTm &declassDate) |
virtual void | setDeclassificationDate (const ossimString &declassDate) |
virtual void | setDeclassificationExemption (const ossimString &exemption) |
virtual void | setDowngrade (const ossimString &downgrade) |
virtual void | setDowngradingDate (const ossimLocalTm &date) |
virtual void | setDowngradingDate (const ossimString &date) |
virtual void | setClassificationText (const ossimString &classificationText) |
virtual void | setClassificationAuthorityType (const ossimString &authorityType) |
virtual void | setClassificationAuthority (const ossimString &authorityType) |
virtual void | setClassificationReason (const ossimString &reason) |
virtual void | setSecuritySourceDate (const ossimLocalTm &date) |
virtual void | setSecuritySourceDate (const ossimString &date) |
virtual void | setSecurityControlNumber (const ossimString &number) |
virtual void | setFileBackgroundColor (ossim_uint8 r, ossim_uint8 g, ossim_uint8 b) |
virtual void | setOriginatorsName (const ossimString &name) |
virtual void | setOriginatorsPhone (const ossimString &phone) |
virtual void | setProperty (ossimRefPtr< ossimProperty > property) |
virtual ossimRefPtr< ossimProperty > | getProperty (const ossimString &name) const |
virtual void | getPropertyNames (std::vector< ossimString > &propertyNames) const |
virtual bool | isValid () const |
isValid will test if the fields are valid and will return true or false. More... | |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
Method to set fields from a keyword list. More... | |
virtual bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix="") const |
void | clearFields () |
void | addTag (ossimNitfTagInformation tag, bool unique=true) |
void | removeTag (const ossimString &tagName) |
bool | takeOverflowTags (std::vector< ossimNitfTagInformation > &overflowTags, ossim_uint32 potentialDesIndex, bool userDefinedTags=false) |
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. More... | |
![]() | |
ossimNitfFileHeaderV2_X () | |
virtual ossimString | getSecurityClassification () const |
void | setComplexityLevel (const ossimString &level) |
void | setSystemType (const ossimString &systemType) |
void | setOriginatingStationId (const ossimString &originationId) |
void | setDate (const ossimLocalTm &d) |
Sets field FDT. More... | |
void | setDate (const ossimString &d) |
Sets field FDT. More... | |
virtual void | setDate () |
Sets field FDT to current time converted to GMT(ZULU). More... | |
void | setTitle (const ossimString &title) |
void | setFileSecurityClassification (const ossimString &securityClassification) |
void | setCopyNumber (const ossimString ©Number) |
void | setNumberOfCopies (const ossimString &numberOfCopies) |
void | setEncryption (const ossimString &encryption) |
ossimString | getComplexityLevel () const |
ossimString | getSystemType () const |
ossimString | getOriginatingStationId () const |
ossimString | getDate () const |
ossimString | getTitle () const |
ossimString | getCopyNumber () const |
ossimString | getNumberOfCopies () const |
ossimString | getEncryption () const |
bool | saveState (ossimKeywordlist &kwl, const ossimString &prefix="") const |
![]() | |
ossimNitfFileHeader () | |
virtual | ~ossimNitfFileHeader () |
void | addTag (const ossimNitfTagInformation &tag, bool unique=true) |
virtual bool | getTagInformation (ossimNitfTagInformation &tag, int idx) const |
virtual std::vector< ossimNitfTagInformation > | getAllTags () |
virtual void | setAllTags (std::vector< ossimNitfTagInformation > tagList) |
virtual int | getNumberOfTags () const |
virtual bool | getTag (ossimNitfTagInformation &tagInfo, const ossimString &tagName) const |
bool | hasImages () const |
bool | hasSymbols () const |
bool | hasGraphics () const |
bool | hasText () const |
bool | hasLabels () const |
bool | hasDataExtSegments () const |
virtual ossim_uint32 | getTotalTagLength () const |
virtual std::ostream & | printTags (std::ostream &out, const std::string &prefix=std::string()) const |
print tags method that outputs a key/value type format adding prefix to keys. More... | |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () 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 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) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (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 |
![]() | |
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) |
Static Public Attributes | |
static const ossimString | FSCLSY_KW |
Properties of a NITF 2.1 Header file. More... | |
static const ossimString | FSDCTP_KW |
static const ossimString | FSDCDT_KW = "FSDCDT" |
static const ossimString | FSDCXM_KW = "FSDCXM" |
static const ossimString | FSDG_KW = "FSDG" |
static const ossimString | FSDGDT_KW = "FSDGDT" |
static const ossimString | FSCLTX_KW = "FSCLTX" |
static const ossimString | FSCATP_KW = "FSCATP" |
static const ossimString | FSCRSN_KW = "FSCRSN" |
static const ossimString | FSSRDT_KW = "FSSRDT" |
static const ossimString | FBKGC_KW = "FBKGC" |
![]() | |
static const ossimString | FILE_TYPE_KW = "FILE_TYPE" |
Properties of a NITF 2.x Header file. More... | |
static const ossimString | FHDR_KW = "FHDR" |
static const ossimString | VERSION_KW = "VERSION" |
static const ossimString | CLEVEL_KW = "CLEVEL" |
static const ossimString | STYPE_KW = "STYPE" |
static const ossimString | OSTAID_KW = "OSTAID" |
static const ossimString | FDT_KW = "FDT" |
static const ossimString | FTITLE_KW = "FTITLE" |
static const ossimString | FSCLAS_KW = "FSCLAS" |
static const ossimString | FSCODE_KW = "FSCODE" |
static const ossimString | FSCTLH_KW = "FSCTLH" |
static const ossimString | FSREL_KW = "FSREL" |
static const ossimString | FSCAUT_KW = "FSCAUT" |
static const ossimString | FSCTLN_KW = "FSCTLN" |
static const ossimString | FSCOP_KW = "FSCOP" |
static const ossimString | FSCPYS_KW = "FSCPYS" |
static const ossimString | ENCRYP_KW = "ENCRYP" |
static const ossimString | ONAME_KW = "ONAME" |
static const ossimString | OPHONE_KW = "OPHONE" |
Private Member Functions | |
void | setNumberOfImageInfoRecords (ossim_uint64 num) |
Sets the number of image records in the NITF 2.1 File Header. More... | |
void | setNumberOfTextInfoRecords (ossim_uint64 num) |
void | setNumberOfGraphicInfoRecords (ossim_uint64 num) |
void | setNumberOfDataExtSegInfoRecords (ossim_uint64 num) |
void | readImageInfoRecords (ossim::istream &in) |
void | readGraphicInfoRecords (ossim::istream &in) |
void | readTextFileInfoRecords (ossim::istream &in) |
void | readDataExtSegInfoRecords (ossim::istream &in) |
void | readResExtSegInfoRecords (ossim::istream &in) |
void | initializeAllOffsets () |
If the header was parsed this method will initialize the offsets to whare all data resides within the file. More... | |
void | readOverflowTags (ossim::istream &in) |
If the header was parsed and the offsets have been initialized, this method will parse all overflow tags and put them into theTagList. More... | |
void | readDes (std::istream &in) |
Additional Inherited Members | |
![]() | |
static ossimString | formatDate (const ossimString &version, const ossimLocalTm &d) |
![]() | |
virtual | ~ossimReferenced () |
![]() | |
char | theFileTypeVersion [10] |
Field: FHDR Required field for NITF and is a 9 byte value. More... | |
char | theComplexityLevel [3] |
Field: CLEVEL. More... | |
char | theSystemType [5] |
Field: STYPE. More... | |
char | theOriginatingStationId [11] |
Field: OSTAID. More... | |
char | theDateTime [15] |
Field: FDT. More... | |
char | theFileTitle [81] |
Field: FTITLE. More... | |
char | theSecurityClassification [2] |
Field: FSCLAS. More... | |
char | theCopyNumber [6] |
Field: FSCOP. More... | |
char | theNumberOfCopies [6] |
Field: FSCOPYS. More... | |
char | theEncryption [2] |
Field: ENCRYP. More... | |
![]() | |
std::vector< ossimNitfTagInformation > | theTagList |
std::vector< ossimNitfDesInformation > | theDesList |
Definition at line 133 of file ossimNitfFileHeaderV2_1.h.
ossimNitfFileHeaderV2_1::ossimNitfFileHeaderV2_1 | ( | ) |
Definition at line 235 of file ossimNitfFileHeaderV2_1.cpp.
References clearFields().
|
virtual |
Definition at line 241 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Definition at line 1235 of file ossimNitfFileHeaderV2_1.cpp.
References setNumberOfDataExtSegInfoRecords(), and theNitfDataExtSegInfoRecords.
Referenced by ossimNitfWriter::writeBlockBandSeparate().
|
virtual |
Definition at line 1189 of file ossimNitfFileHeaderV2_1.cpp.
References setNumberOfImageInfoRecords(), and theNitfImageInfoRecords.
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
void ossimNitfFileHeaderV2_1::addTag | ( | ossimNitfTagInformation | tag, |
bool | unique = true |
||
) |
Definition at line 2103 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfTagInformation::getTagName(), removeTag(), and ossimNitfFileHeader::theTagList.
Referenced by ossimNitfWriter::addRegisteredTag().
|
virtual |
Definition at line 1196 of file ossimNitfFileHeaderV2_1.cpp.
References setNumberOfTextInfoRecords(), and theNitfTextFileInfoRecords.
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 902 of file ossimNitfFileHeaderV2_1.cpp.
Referenced by getNewDataExtensionSegment().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 892 of file ossimNitfFileHeaderV2_1.cpp.
Referenced by getNewImageHeader().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1256 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1251 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
void ossimNitfFileHeaderV2_1::clearFields | ( | ) |
Definition at line 947 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationAuthority, theClassificationAuthorityType, theClassificationReason, theClassificationText, theCodewords, ossimNitfFileHeaderV2_X::theComplexityLevel, theControlAndHandling, ossimNitfFileHeaderV2_X::theCopyNumber, ossimNitfFileHeaderV2_X::theDateTime, theDeclassificationDate, theDeclassificationExemption, theDeclassificationType, theDowngrade, theDowngradingDate, ossimNitfFileHeaderV2_X::theEncryption, theExtendedHeaderDataLength, theExtendedHeaderDataOverflow, theFileBackgroundColor, theFileLength, ossimNitfFileHeaderV2_X::theFileTitle, ossimNitfFileHeaderV2_X::theFileTypeVersion, theHeaderLength, theHeaderSize, ossimNitfFileHeaderV2_X::theNumberOfCopies, theNumberOfDataExtSegInfoRecords, theNumberOfGraphicInfoRecords, theNumberOfImageInfoRecords, theNumberOfResExtSegInfoRecords, theNumberOfTextFileInfoRecords, ossimNitfFileHeaderV2_X::theOriginatingStationId, theOriginatorsName, theOriginatorsPhone, theReleasingInstructions, theReservedForFutureUse1, ossimNitfFileHeaderV2_X::theSecurityClassification, theSecurityClassificationSys, theSecurityControlNumber, theSecuritySourceDate, ossimNitfFileHeaderV2_X::theSystemType, theUserDefinedHeaderDataLength, and theUserDefinedHeaderOverflow.
Referenced by ossimNitfFileHeaderV2_1(), and parseStream().
|
virtual |
Definition at line 1119 of file ossimNitfFileHeaderV2_1.cpp.
References setNumberOfDataExtSegInfoRecords(), and theNitfDataExtSegInfoRecords.
|
virtual |
Definition at line 1147 of file ossimNitfFileHeaderV2_1.cpp.
References setNumberOfImageInfoRecords(), and theNitfImageInfoRecords.
|
virtual |
Definition at line 1452 of file ossimNitfFileHeaderV2_1.cpp.
References theFileBackgroundColor.
Referenced by getProperty().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1432 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationAuthority.
Referenced by ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1427 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationAuthorityType.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1437 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationReason.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1422 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationText.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1382 of file ossimNitfFileHeaderV2_1.cpp.
References theCodewords.
Referenced by ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1387 of file ossimNitfFileHeaderV2_1.cpp.
References theControlAndHandling.
Referenced by ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1179 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::theDateTime.
|
virtual |
Definition at line 1402 of file ossimNitfFileHeaderV2_1.cpp.
References theDeclassificationDate.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1407 of file ossimNitfFileHeaderV2_1.cpp.
References theDeclassificationExemption.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1397 of file ossimNitfFileHeaderV2_1.cpp.
References theDeclassificationType.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1412 of file ossimNitfFileHeaderV2_1.cpp.
References theDowngrade.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1417 of file ossimNitfFileHeaderV2_1.cpp.
References theDowngradingDate.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 927 of file ossimNitfFileHeaderV2_1.cpp.
References theFileLength, and ossimString::toInt64().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 922 of file ossimNitfFileHeaderV2_1.cpp.
References theHeaderSize.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1184 of file ossimNitfFileHeaderV2_1.cpp.
References theImageRect.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1359 of file ossimNitfFileHeaderV2_1.cpp.
References allocateDataExtSegment(), getNumberOfDataExtSegments(), ossimNitfDataExtensionSegment::parseStream(), theDataExtSegOffsetList, and theNitfDataExtSegInfoRecords.
Referenced by readOverflowTags().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1302 of file ossimNitfFileHeaderV2_1.cpp.
References allocateImageHeader(), getNumberOfImages(), ossimNotify(), ossimNotifyLevel_FATAL, and theImageOffsetList.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1339 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1326 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1349 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1169 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfDataExtSegInfoRecords.
Referenced by getNewDataExtensionSegment(), and readDes().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1164 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfGraphicInfoRecords.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 912 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfImageInfoRecords.
Referenced by getNewImageHeader().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1154 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1174 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfResExtSegInfoRecords.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 1159 of file ossimNitfFileHeaderV2_1.cpp.
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 917 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfTextFileInfoRecords.
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1461 of file ossimNitfFileHeaderV2_1.cpp.
References theOriginatorsName.
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1466 of file ossimNitfFileHeaderV2_1.cpp.
References theOriginatorsPhone.
|
virtual |
Reimplemented from ossimNitfFileHeaderV2_X.
Definition at line 1972 of file ossimNitfFileHeaderV2_1.cpp.
References ossimStringProperty::addConstraint(), ossimNitfFileHeaderV2_X::CLEVEL_KW, FBKGC_KW, FSCATP_KW, FSCLSY_KW, FSCLTX_KW, FSCRSN_KW, FSDCDT_KW, FSDCTP_KW, FSDCXM_KW, FSDG_KW, FSDGDT_KW, FSSRDT_KW, getBackgroundColor(), getClassificationAuthorityType(), getClassificationReason(), getClassificationText(), ossimNitfFileHeaderV2_X::getComplexityLevel(), getDeclassificationDate(), getDeclassificationExemption(), getDeclassificationType(), getDowngrade(), getDowngradingDate(), ossimNitfFileHeaderV2_X::getProperty(), getSecurityClassificationSys(), getSecuritySourceDate(), ossimNitfFileHeaderV2_X::ONAME_KW, ossimNitfFileHeaderV2_X::OPHONE_KW, theOriginatorsName, and theOriginatorsPhone.
|
virtual |
Reimplemented from ossimNitfFileHeaderV2_X.
Definition at line 2086 of file ossimNitfFileHeaderV2_1.cpp.
References FBKGC_KW, FSCATP_KW, FSCLSY_KW, FSCLTX_KW, FSCRSN_KW, FSDCDT_KW, FSDCTP_KW, FSDCXM_KW, FSDG_KW, FSDGDT_KW, FSSRDT_KW, and ossimNitfFileHeaderV2_X::getPropertyNames().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1392 of file ossimNitfFileHeaderV2_1.cpp.
References theReleasingInstructions.
Referenced by ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1377 of file ossimNitfFileHeaderV2_1.cpp.
References theSecurityClassificationSys.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1447 of file ossimNitfFileHeaderV2_1.cpp.
References theSecurityControlNumber.
Referenced by ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Definition at line 1442 of file ossimNitfFileHeaderV2_1.cpp.
References theSecuritySourceDate.
Referenced by getProperty(), and ossimNitfDataExtensionSegmentV2_1::setSecurityMarkings().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 941 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::theFileTypeVersion.
Referenced by setDeclassificationDate(), setDowngradingDate(), and setSecuritySourceDate().
|
private |
If the header was parsed this method will initialize the offsets to whare all data resides within the file.
Example: NITF files have several sections (Image, Symbol, Labels, Text and Extended data) and each of these sections have subsections. The offsets stored are just offsets from the start of the file to each major section and eqach subsection.
Definition at line 1261 of file ossimNitfFileHeaderV2_1.cpp.
References theDataExtSegOffsetList, theGraphicOffsetList, theHeaderSize, theImageOffsetList, theNitfDataExtSegInfoRecords, theNitfGraphicInfoRecords, theNitfImageInfoRecords, theNitfTextFileInfoRecords, and theTextFileOffsetList.
Referenced by parseStream().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 907 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::theEncryption.
|
virtual |
isValid will test if the fields are valid and will return true or false.
Reimplemented from ossimNitfFileHeaderV2_X.
Definition at line 401 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::isValid().
|
virtual |
Method to set fields from a keyword list.
This is not a true loadState as it does not lookup/initialize all class members. This was added to allow defaults, e.g OSTAID, to be set via a site configuration file. Code does not return false if a field(key) is not found..
Reimplemented from ossimNitfFileHeaderV2_X.
Definition at line 1816 of file ossimNitfFileHeaderV2_1.cpp.
References FBKGC_KW, ossimKeywordlist::find(), FSCATP_KW, FSCLSY_KW, FSCLTX_KW, FSCRSN_KW, FSDCDT_KW, FSDCTP_KW, FSDCXM_KW, FSDG_KW, FSDGDT_KW, FSSRDT_KW, ossimNitfFileHeaderV2_X::loadState(), setClassificationAuthorityType(), setClassificationReason(), setClassificationText(), setDeclassificationDate(), setDeclassificationExemption(), setDeclassificationType(), setDowngrade(), setDowngradingDate(), setFileBackgroundColor(), setSecurityClassificationSys(), setSecuritySourceDate(), ossimString::split(), and ossimString::trim().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 245 of file ossimNitfFileHeaderV2_1.cpp.
References clearFields(), initializeAllOffsets(), ossimPreferences::instance(), ossimNitfTagInformation::parseStream(), readDataExtSegInfoRecords(), readDes(), readGraphicInfoRecords(), readImageInfoRecords(), readOverflowTags(), readResExtSegInfoRecords(), readTextFileInfoRecords(), ossimNitfTagInformation::setTagType(), theClassificationAuthority, theClassificationAuthorityType, theClassificationReason, theClassificationText, theCodewords, ossimNitfFileHeaderV2_X::theComplexityLevel, theControlAndHandling, ossimNitfFileHeaderV2_X::theCopyNumber, ossimNitfFileHeaderV2_X::theDateTime, theDeclassificationDate, theDeclassificationExemption, theDeclassificationType, theDowngrade, theDowngradingDate, ossimNitfFileHeaderV2_X::theEncryption, theExtendedHeaderDataLength, theExtendedHeaderDataOverflow, theFileBackgroundColor, theFileLength, ossimNitfFileHeaderV2_X::theFileTitle, ossimNitfFileHeaderV2_X::theFileTypeVersion, theHeaderLength, theHeaderSize, ossimNitfFileHeaderV2_X::theNumberOfCopies, theNumberOfDataExtSegInfoRecords, theNumberOfGraphicInfoRecords, theNumberOfImageInfoRecords, theNumberOfResExtSegInfoRecords, theNumberOfTextFileInfoRecords, ossimNitfFileHeaderV2_X::theOriginatingStationId, theOriginatorsName, theOriginatorsPhone, theReleasingInstructions, theReservedForFutureUse1, ossimNitfFileHeaderV2_X::theSecurityClassification, theSecurityClassificationSys, theSecurityControlNumber, theSecuritySourceDate, ossimNitfFileHeaderV2_X::theSystemType, ossimNitfFileHeader::theTagList, theUserDefinedHeaderDataLength, theUserDefinedHeaderOverflow, ossimString::toBool(), and ossimString::toInt32().
|
virtual |
print method that outputs a key/value type format adding prefix to keys.
Reimplemented from ossimNitfFileHeader.
Definition at line 688 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeader::print(), theClassificationAuthority, theClassificationAuthorityType, theClassificationReason, theClassificationText, theCodewords, ossimNitfFileHeaderV2_X::theComplexityLevel, theControlAndHandling, ossimNitfFileHeaderV2_X::theCopyNumber, ossimNitfFileHeaderV2_X::theDateTime, theDeclassificationDate, theDeclassificationExemption, theDeclassificationType, ossimNitfFileHeader::theDesList, theDowngrade, theDowngradingDate, ossimNitfFileHeaderV2_X::theEncryption, theExtendedHeaderDataLength, theExtendedHeaderDataOverflow, theFileBackgroundColor, theFileLength, ossimNitfFileHeaderV2_X::theFileTitle, ossimNitfFileHeaderV2_X::theFileTypeVersion, theHeaderLength, theNitfDataExtSegInfoRecords, theNitfGraphicInfoRecords, theNitfImageInfoRecords, theNitfResExtSegInfoRecords, theNitfTextFileInfoRecords, ossimNitfFileHeaderV2_X::theNumberOfCopies, theNumberOfDataExtSegInfoRecords, theNumberOfGraphicInfoRecords, theNumberOfImageInfoRecords, theNumberOfResExtSegInfoRecords, theNumberOfTextFileInfoRecords, ossimNitfFileHeaderV2_X::theOriginatingStationId, theOriginatorsName, theOriginatorsPhone, theReleasingInstructions, theReservedForFutureUse1, ossimNitfFileHeaderV2_X::theSecurityClassification, theSecurityClassificationSys, theSecurityControlNumber, theSecuritySourceDate, ossimNitfFileHeaderV2_X::theSystemType, theUserDefinedHeaderDataLength, and theUserDefinedHeaderOverflow.
|
private |
Definition at line 1098 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfDataExtSegInfoRecordV2_1::theDataExtSegLength, ossimNitfDataExtSegInfoRecordV2_1::theDataExtSegSubheaderLength, theHeaderSize, theNitfDataExtSegInfoRecords, theNumberOfDataExtSegInfoRecords, and ossimString::toInt32().
Referenced by parseStream().
|
private |
Definition at line 448 of file ossimNitfFileHeaderV2_1.cpp.
References getNumberOfDataExtSegments(), ossimNitfDesInformation::parseStream(), ossimIFStream64::seekg64(), theDataExtSegOffsetList, ossimNitfFileHeader::theDesList, and theNitfDataExtSegInfoRecords.
Referenced by parseStream().
|
private |
Definition at line 1054 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfGraphicInfoRecordV2_1::theGraphicLength, ossimNitfGraphicInfoRecordV2_1::theGraphicSubheaderLength, theHeaderSize, theNitfGraphicInfoRecords, theNumberOfGraphicInfoRecords, and ossimString::toInt32().
Referenced by parseStream().
|
private |
Definition at line 1032 of file ossimNitfFileHeaderV2_1.cpp.
References theHeaderSize, ossimNitfImageInfoRecordV2_1::theImageLength, ossimNitfImageInfoRecordV2_1::theImageSubheaderLength, theNitfImageInfoRecords, theNumberOfImageInfoRecords, and ossimString::toInt32().
Referenced by parseStream().
|
private |
If the header was parsed and the offsets have been initialized, this method will parse all overflow tags and put them into theTagList.
Definition at line 413 of file ossimNitfFileHeaderV2_1.cpp.
References getNewDataExtensionSegment(), ossimNitfDataExtensionSegment::getTagList(), theExtendedHeaderDataOverflow, ossimNitfFileHeader::theTagList, theUserDefinedHeaderOverflow, and ossimString::toInt32().
Referenced by parseStream().
|
private |
Definition at line 1126 of file ossimNitfFileHeaderV2_1.cpp.
References theHeaderSize, theNitfResExtSegInfoRecords, theNumberOfResExtSegInfoRecords, ossimNitfResExtSegInfoRecordV2_1::theResExtSegLength, ossimNitfResExtSegInfoRecordV2_1::theResExtSegSubheaderLength, and ossimString::toInt32().
Referenced by parseStream().
|
private |
Definition at line 1077 of file ossimNitfFileHeaderV2_1.cpp.
References theHeaderSize, theNitfTextFileInfoRecords, theNumberOfTextFileInfoRecords, ossimNitfTextFileInfoRecordV2_1::theTextFileLength, ossimNitfTextFileInfoRecordV2_1::theTextFileSubheaderLength, and ossimString::toInt32().
Referenced by parseStream().
|
virtual |
Reimplemented from ossimNitfFileHeader.
Definition at line 2112 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeader::theTagList.
Referenced by addTag(), and takeOverflowTags().
|
virtual |
Definition at line 1243 of file ossimNitfFileHeaderV2_1.cpp.
References theNitfImageInfoRecords.
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
virtual |
Reimplemented from ossimNitfFileHeader.
Definition at line 1203 of file ossimNitfFileHeaderV2_1.cpp.
References ossimKeywordlist::add(), ossimString::c_str(), FL_KW, FSCATP_KW, ossimNitfFileHeaderV2_X::FSCAUT_KW, FSCLSY_KW, FSCLTX_KW, ossimNitfFileHeaderV2_X::FSCODE_KW, FSCRSN_KW, ossimNitfFileHeaderV2_X::FSCTLH_KW, ossimNitfFileHeaderV2_X::FSCTLN_KW, FSDCDT_KW, FSDCTP_KW, FSDCXM_KW, FSDG_KW, FSDGDT_KW, ossimNitfFileHeaderV2_X::FSREL_KW, FSSRDT_KW, HL_KW, NUMI_KW, ossimNitfFileHeaderV2_X::ONAME_KW, ossimNitfFileHeaderV2_X::OPHONE_KW, ossimNitfFileHeaderV2_X::saveState(), theClassificationAuthorityType, theClassificationReason, theClassificationText, theCodewords, theControlAndHandling, theDeclassificationDate, theDeclassificationExemption, theDeclassificationType, theDowngrade, theDowngradingDate, theFileLength, theHeaderLength, theNumberOfImageInfoRecords, theOriginatorsName, theOriginatorsPhone, theReleasingInstructions, theSecurityClassificationSys, theSecurityControlNumber, and theSecuritySourceDate.
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1734 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationAuthority, and ossimString::trim().
|
virtual |
Definition at line 1722 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationAuthorityType, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1746 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationReason, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1710 of file ossimNitfFileHeaderV2_1.cpp.
References theClassificationText, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1612 of file ossimNitfFileHeaderV2_1.cpp.
References theCodewords, and ossimString::trim().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1624 of file ossimNitfFileHeaderV2_1.cpp.
References theControlAndHandling, and ossimString::trim().
|
virtual |
Definition at line 1660 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::formatDate(), getVersion(), and theDeclassificationDate.
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1665 of file ossimNitfFileHeaderV2_1.cpp.
References ossimString::c_str(), ossimString::size(), and theDeclassificationDate.
|
virtual |
Definition at line 1673 of file ossimNitfFileHeaderV2_1.cpp.
References theDeclassificationExemption, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1648 of file ossimNitfFileHeaderV2_1.cpp.
References theDeclassificationType, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1685 of file ossimNitfFileHeaderV2_1.cpp.
References theDowngrade, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1697 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::formatDate(), getVersion(), and theDowngradingDate.
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1702 of file ossimNitfFileHeaderV2_1.cpp.
References ossimString::c_str(), ossimString::size(), and theDowngradingDate.
|
virtual |
Definition at line 1783 of file ossimNitfFileHeaderV2_1.cpp.
References theFileBackgroundColor.
Referenced by loadState(), and setProperty().
|
virtual |
Sets file length (FL) field.
Implements ossimNitfFileHeader.
Definition at line 1471 of file ossimNitfFileHeaderV2_1.cpp.
References theFileLength.
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
virtual |
Sets header length (HL) field.
Implements ossimNitfFileHeader.
Definition at line 1588 of file ossimNitfFileHeaderV2_1.cpp.
References theHeaderLength.
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
private |
Definition at line 1511 of file ossimNitfFileHeaderV2_1.cpp.
References theNumberOfDataExtSegInfoRecords.
Referenced by addDataExtSegInfoRecord(), and deleteLastDataExtSegInfoRecord().
|
private |
Definition at line 1485 of file ossimNitfFileHeaderV2_1.cpp.
References theNumberOfGraphicInfoRecords.
|
private |
Sets the number of image records in the NITF 2.1 File Header.
num | The number of image records for the entire NITF 2.1 file. |
std::out_of_range |
Definition at line 1563 of file ossimNitfFileHeaderV2_1.cpp.
References theNumberOfImageInfoRecords.
Referenced by addImageInfoRecord(), and deleteLastImageInfoRecord().
|
private |
Definition at line 1537 of file ossimNitfFileHeaderV2_1.cpp.
References theNumberOfTextFileInfoRecords.
Referenced by addTextInfoRecord().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1792 of file ossimNitfFileHeaderV2_1.cpp.
References theOriginatorsName, and ossimString::trim().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1804 of file ossimNitfFileHeaderV2_1.cpp.
References theOriginatorsPhone, and ossimString::trim().
|
virtual |
Reimplemented from ossimNitfFileHeaderV2_X.
Definition at line 1891 of file ossimNitfFileHeaderV2_1.cpp.
References FBKGC_KW, FSCATP_KW, FSCLSY_KW, FSCLTX_KW, FSCRSN_KW, FSDCDT_KW, FSDCTP_KW, FSDCXM_KW, FSDG_KW, FSDGDT_KW, FSSRDT_KW, ossimRefPtr< T >::get(), ossimColorProperty::getBlue(), ossimColorProperty::getGreen(), ossimColorProperty::getRed(), PTR_CAST, setClassificationAuthorityType(), setClassificationReason(), setClassificationText(), setDeclassificationDate(), setDeclassificationExemption(), setDeclassificationType(), setDowngrade(), setDowngradingDate(), setFileBackgroundColor(), ossimNitfFileHeaderV2_X::setProperty(), setSecurityClassificationSys(), setSecuritySourceDate(), ossimString::split(), ossimString::trim(), ossimString::upcase(), ossimRefPtr< T >::valid(), and ossimProperty::valueToString().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1636 of file ossimNitfFileHeaderV2_1.cpp.
References theReleasingInstructions, and ossimString::trim().
|
virtual |
Definition at line 1600 of file ossimNitfFileHeaderV2_1.cpp.
References theSecurityClassificationSys, and ossimString::trim().
Referenced by loadState(), and setProperty().
|
virtual |
Implements ossimNitfFileHeaderV2_X.
Definition at line 1771 of file ossimNitfFileHeaderV2_1.cpp.
References theSecurityControlNumber, and ossimString::trim().
|
virtual |
Definition at line 1758 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNitfFileHeaderV2_X::formatDate(), getVersion(), and theSecuritySourceDate.
Referenced by loadState(), and setProperty().
|
virtual |
Definition at line 1763 of file ossimNitfFileHeaderV2_1.cpp.
References ossimString::c_str(), ossimString::size(), and theSecuritySourceDate.
bool ossimNitfFileHeaderV2_1::takeOverflowTags | ( | std::vector< ossimNitfTagInformation > & | overflowTags, |
ossim_uint32 | potentialDesIndex, | ||
bool | userDefinedTags = false |
||
) |
Definition at line 2125 of file ossimNitfFileHeaderV2_1.cpp.
References removeTag(), theExtendedHeaderDataLength, theExtendedHeaderDataOverflow, ossimNitfFileHeader::theTagList, theUserDefinedHeaderDataLength, and theUserDefinedHeaderOverflow.
Referenced by ossimNitfWriter::takeOverflowTags().
|
virtual |
Implements ossimNitfFileHeader.
Definition at line 461 of file ossimNitfFileHeaderV2_1.cpp.
References ossimNotify(), ossimNotifyLevel_WARN, theClassificationAuthority, theClassificationAuthorityType, theClassificationReason, theClassificationText, theCodewords, ossimNitfFileHeaderV2_X::theComplexityLevel, theControlAndHandling, ossimNitfFileHeaderV2_X::theCopyNumber, ossimNitfFileHeaderV2_X::theDateTime, theDeclassificationDate, theDeclassificationExemption, theDeclassificationType, theDowngrade, theDowngradingDate, ossimNitfFileHeaderV2_X::theEncryption, theExtendedHeaderDataLength, theExtendedHeaderDataOverflow, theFileBackgroundColor, theFileLength, ossimNitfFileHeaderV2_X::theFileTitle, ossimNitfFileHeaderV2_X::theFileTypeVersion, theHeaderLength, theNitfDataExtSegInfoRecords, theNitfGraphicInfoRecords, theNitfImageInfoRecords, theNitfResExtSegInfoRecords, theNitfTextFileInfoRecords, ossimNitfFileHeaderV2_X::theNumberOfCopies, ossimNitfFileHeaderV2_X::theOriginatingStationId, theOriginatorsName, theOriginatorsPhone, theReleasingInstructions, theReservedForFutureUse1, ossimNitfFileHeaderV2_X::theSecurityClassification, theSecurityClassificationSys, theSecurityControlNumber, theSecuritySourceDate, ossimNitfFileHeaderV2_X::theSystemType, ossimNitfFileHeader::theTagList, theUserDefinedHeaderDataLength, theUserDefinedHeaderOverflow, and ossimString::toUInt32().
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
static |
Definition at line 267 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), and setProperty().
|
static |
Definition at line 264 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Properties of a NITF 2.1 Header file.
See MIL-STD-2500B for details.
To access these, pass the constant to getProperty().
Definition at line 257 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 263 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 265 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 259 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 258 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 260 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 261 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 262 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
static |
Definition at line 266 of file ossimNitfFileHeaderV2_1.h.
Referenced by getProperty(), getPropertyNames(), loadState(), saveState(), and setProperty().
|
private |
Field: FSCAUT.
Is a 40 byte field and can contain BCS spaces (0x20).
Definition at line 462 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getClassificationAuthority(), parseStream(), print(), setClassificationAuthority(), and writeStream().
|
private |
Field: FSCATP.
Values can be:
O Original classification authority D derivative from a single source M derivative from multiple sources
Is a 1 byte field and can contain BCS spaces (0x20).
Definition at line 455 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getClassificationAuthorityType(), parseStream(), print(), saveState(), setClassificationAuthorityType(), and writeStream().
|
private |
Field: FSCRSN.
Is a 1 byte field and can contain BCS spaces (0x20).
Valid values are A-G
Definition at line 471 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getClassificationReason(), parseStream(), print(), saveState(), setClassificationReason(), and writeStream().
|
private |
Field: FSCLTX.
Is a 43 byte field and can contain BCS spaces (0x20).
Definition at line 442 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getClassificationText(), parseStream(), print(), saveState(), setClassificationText(), and writeStream().
|
private |
Field: FSCODE.
This is a 11 byte Alphanumeric field
Definition at line 361 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getCodeWords(), parseStream(), print(), saveState(), setCodeWords(), and writeStream().
|
private |
Field: FSCTLH.
This is a 2 byte Alphanumeric field.
Definition at line 368 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getControlAndHandling(), parseStream(), print(), saveState(), setControlAndHandling(), and writeStream().
|
private |
Definition at line 345 of file ossimNitfFileHeaderV2_1.h.
Referenced by getNewDataExtensionSegment(), initializeAllOffsets(), and readDes().
|
private |
Field: FSDCDT.
This is a 8 byte field and has the form CCYYMMDD where:
CC is the firs 2 chars of the year 00-99 YY is the second 2 chars of the year 00-99 MM is the month 01-12 DD is the day 01-31
Definition at line 405 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getDeclassificationDate(), parseStream(), print(), saveState(), setDeclassificationDate(), and writeStream().
|
private |
Field: FSDCXM.
Is a 4 byte field
Definition at line 412 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getDeclassificationExemption(), parseStream(), print(), saveState(), setDeclassificationExemption(), and writeStream().
|
private |
Field: FSDCTP.
This is a 2 byte alphanumeric field.
DD declassify on a specific date DE declassify upon occurrence of an event GD downgrade to a specified level on a specific date) GE downgrade to a specified level upon occurrence of an event) O OADR X exempt from automatic declassification
NOTE: If this field is all BCS spaces (0x20), it shall imply that no file security declassification or
Definition at line 392 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getDeclassificationType(), parseStream(), print(), saveState(), setDeclassificationType(), and writeStream().
|
private |
Field: FSDG.
Can be blank. Is a 1 byte field valid values are:
S = secret C = Confidential R = Restricted 0x20 or BCS spaces.
if spaces then security downgrading does not apply.
Definition at line 427 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getDowngrade(), parseStream(), print(), saveState(), setDowngrade(), and writeStream().
|
private |
Field: FSDGDT.
Is an 8 byte field of the form CCYYMMDD.
Definition at line 435 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getDowngradingDate(), parseStream(), print(), saveState(), setDowngradingDate(), and writeStream().
|
private |
Field: XHDL.
This is a required field. It is 5 bytes long and ranges from 0-99999. 0 means there is no data
Definition at line 635 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), takeOverflowTags(), and writeStream().
|
private |
Field: XHDLOFL.
This is conditional on theExtendedHeaderDataLength. If that field is 0 then this does not exist. This is a 3 byte field.
Definition at line 644 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readOverflowTags(), takeOverflowTags(), and writeStream().
|
private |
Field: FBKGC.
Required. Is a 3 byte field and is reuqired. Note: This field is binary and has range
(0x00-0xff, 0x00-0xff, 0x00-0xff)
each byte can range from 0 to 255 binary
Definition at line 498 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getBackgroundColor(), parseStream(), print(), setFileBackgroundColor(), and writeStream().
|
private |
Field: FL.
This is a required field.
Is a 12 byte number of the form 000000000388-999999999998 indicates the file length and a value of 999999999999 indicates that the file length was not available.
Definition at line 525 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getFileSize(), parseStream(), print(), saveState(), setFileLength(), and writeStream().
|
private |
Definition at line 343 of file ossimNitfFileHeaderV2_1.h.
Referenced by initializeAllOffsets().
|
private |
Field: HL.
This is a reqired field.
ranges from 000388-999999.
Definition at line 534 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), saveState(), setHeaderLength(), and writeStream().
|
private |
This is not part of the NITF file header.
This will be computed since somethimes the header size will not be given in the header field. This value will hold a count of all the bytes read for the header portion. This can be used to skip past the header data.
Definition at line 328 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getHeaderSize(), initializeAllOffsets(), parseStream(), readDataExtSegInfoRecords(), readGraphicInfoRecords(), readImageInfoRecords(), readResExtSegInfoRecords(), and readTextFileInfoRecords().
|
private |
This will hold pre-computed offsets to the start of all image headers and start to their data.
Definition at line 341 of file ossimNitfFileHeaderV2_1.h.
Referenced by getNewImageHeader(), and initializeAllOffsets().
|
private |
This will be pre-computed when the header file is opened.
This is computed after we have found the display order. We will use the rectangle of the smallest display number.
Definition at line 335 of file ossimNitfFileHeaderV2_1.h.
Referenced by getImageRect().
|
private |
This information is conditional on the number of info records field.
If the filed is greater than 0 then the record information is read in up t the indicated number
Definition at line 597 of file ossimNitfFileHeaderV2_1.h.
Referenced by addDataExtSegInfoRecord(), deleteLastDataExtSegInfoRecord(), getNewDataExtensionSegment(), getNumberOfDataExtSegments(), initializeAllOffsets(), print(), readDataExtSegInfoRecords(), readDes(), and writeStream().
|
private |
This is an optional field and will depend on theNumberOfGraphicInfoRecords.
If 0 then does not exist.
Definition at line 562 of file ossimNitfFileHeaderV2_1.h.
Referenced by getNumberOfGraphics(), initializeAllOffsets(), print(), readGraphicInfoRecords(), and writeStream().
|
private |
This information is conditional on the number of image info records field.
If the filed is greater than 0 then the record information is read in up t the indicated number
Definition at line 549 of file ossimNitfFileHeaderV2_1.h.
Referenced by addImageInfoRecord(), deleteLastImageInfoRecord(), getNumberOfImages(), initializeAllOffsets(), print(), readImageInfoRecords(), replaceImageInfoRecord(), and writeStream().
|
private |
This information is conditional on the number of Res Ext Seg info records field.
If the filed is greater than 0 then the record information is read in up t the indicated number
Definition at line 611 of file ossimNitfFileHeaderV2_1.h.
Referenced by getNumberOfReservedExtSegments(), print(), readResExtSegInfoRecords(), and writeStream().
|
private |
This information is conditional on the number of text file info records field.
If the filed is greater than 0 then the record information is read in up t the indicated number
Definition at line 583 of file ossimNitfFileHeaderV2_1.h.
Referenced by addTextInfoRecord(), getNumberOfTextSegments(), initializeAllOffsets(), print(), readTextFileInfoRecords(), and writeStream().
|
private |
Field: NUMDES.
This is a 3 byte numeric 0-999.
Definition at line 590 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readDataExtSegInfoRecords(), and setNumberOfDataExtSegInfoRecords().
|
private |
Field: NUMS.
This info is required and ranges from 000-999.
Definition at line 556 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readGraphicInfoRecords(), and setNumberOfGraphicInfoRecords().
|
private |
Field: NUMI.
This is a 3 byte field that specifies the number of images in the file. 0-999
Definition at line 542 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readImageInfoRecords(), saveState(), and setNumberOfImageInfoRecords().
|
private |
Field: NUMRES.
This is a 3 byte numeric 0-999. Reserved Extension Segments
Definition at line 604 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and readResExtSegInfoRecords().
|
private |
Field: NUMT.
This is a 3 byte numeric 0-999.
Definition at line 576 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readTextFileInfoRecords(), and setNumberOfTextInfoRecords().
|
private |
Field: ONAME.
This is a 24 byte Alphanumeric number
Definition at line 505 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getOriginatorsName(), getProperty(), parseStream(), print(), saveState(), setOriginatorsName(), and writeStream().
|
private |
Field: OPHONE.
This is an 18 byte Alphanumeric value.
Definition at line 512 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getOriginatorsPhone(), getProperty(), parseStream(), print(), saveState(), setOriginatorsPhone(), and writeStream().
|
private |
Field: FSREL.
This is a 20 byte Alphanumeric field.
Definition at line 375 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getReleasingInstructions(), parseStream(), print(), saveState(), setReleasingInstructions(), and writeStream().
|
private |
Field: NUMX.
Is a 3 byte field and is reserved for future use.
Definition at line 569 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Field: FSCLSY.
Is a 2 byte field. Required but can be blank:
Definition at line 354 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getSecurityClassificationSys(), parseStream(), print(), saveState(), setSecurityClassificationSys(), and writeStream().
|
private |
Field: FSCTLN.
Is a 15 byte field and can be blank (0x20)
Definition at line 486 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getSecurityControlNumber(), parseStream(), print(), saveState(), setSecurityControlNumber(), and writeStream().
|
private |
Field: FSSRDT.
Is a 8 byte field of the form CCYYMMDD and can be BCS space (0x20).
Definition at line 479 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), getSecuritySourceDate(), parseStream(), print(), saveState(), setSecuritySourceDate(), and writeStream().
|
private |
Definition at line 344 of file ossimNitfFileHeaderV2_1.h.
Referenced by initializeAllOffsets().
|
private |
Field: UDHDL.
This is a required field and is a 5 byte numeric ranging from 0-99999. This is 0 if there is no data. Valid values are 00000 or 00003-99999
Definition at line 620 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), takeOverflowTags(), and writeStream().
|
private |
Field: UDHOFL.
This exists if theUserDefinedHeaderDataLength is not 0.
Definition at line 627 of file ossimNitfFileHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), readOverflowTags(), takeOverflowTags(), and writeStream().