OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimNitfTextHeaderV2_1.h>
Public Member Functions | |
ossimNitfTextHeaderV2_1 () | |
virtual | ~ossimNitfTextHeaderV2_1 () |
virtual void | parseStream (std::istream &in) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual void | writeStream (std::ostream &out) |
void | setSecurityClassification (const ossimString &value) |
void | setSecurityClassificationSystem (const ossimString &value) |
void | setCodewords (const ossimString &value) |
void | setControlAndHandling (const ossimString &value) |
void | setReleasingInstructions (const ossimString &value) |
void | setDeclassificationType (const ossimString &value) |
![]() | |
ossimNitfTextHeader () | |
virtual | ~ossimNitfTextHeader () |
![]() | |
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 bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
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 |
Static Public Attributes | |
static const ossimString | TE_KW = "te" |
static const ossimString | TEXTID_KW = "textid" |
static const ossimString | TXTALVL_KW = "txtalvl" |
static const ossimString | TXTDT_KW = "txtdt" |
static const ossimString | TXTITL_KW = "txtitl" |
static const ossimString | TSCLAS_KW = "tsclas" |
static const ossimString | TSCLSY_KW = "tsclsy" |
static const ossimString | TSCODE_KW = "tscode" |
static const ossimString | TSCTLH_KW = "tsctlh" |
static const ossimString | TSREL_KW = "tsrel" |
static const ossimString | TSDCTP_KW = "tsdctp" |
static const ossimString | TSDCDT_KW = "tsdcdt" |
static const ossimString | TSDCXM_KW = "tsdcxm" |
static const ossimString | TSDG_KW = "tsdg" |
static const ossimString | TSDGDT_KW = "tsdgdt" |
static const ossimString | TSCLTX_KW = "tscltx" |
static const ossimString | TSCATP_KW = "tscatp" |
static const ossimString | TSCAUT_KW = "tscaut" |
static const ossimString | TSCRSN_KW = "tscrsn" |
static const ossimString | TSSRDT_KW = "tssrdt" |
static const ossimString | TSCTLN_KW = "tsctln" |
static const ossimString | ENCRYP_KW = "encryp" |
static const ossimString | TXTFMT_KW = "txtfmt" |
static const ossimString | TXSHDL_KW = "txshdl" |
static const ossimString | TXSOFL_KW = "txsofl" |
static const ossimString | TXSHD_KW = "txshd" |
Private Member Functions | |
void | clearFields () |
Private Attributes | |
char | theFilePartType [3] |
char | theTextId [8] |
char | theTextAttLevel [4] |
char | theDataAndTime [15] |
char | theTextTitle [81] |
char | theTextSecurityClassification [2] |
char | theTextSecuritySystem [3] |
char | theTextCodewords [12] |
char | theTextControlAndHandling [3] |
char | theTextReleasingInstructions [21] |
char | theTextDeclassificationType [3] |
char | theTextDeclassificationDate [9] |
char | theTextDeclassificationExemption [5] |
char | theTextSecurityDowngrade [2] |
char | theTextSecurityDowngradeDate [9] |
char | theTextClassificationText [44] |
char | theTextClassificationAthorityType [2] |
char | theTextClassificationAthority [41] |
char | theTextClassificationReason [2] |
char | theTextSecuritySourceDate [9] |
char | theTextSecurityControlNumber [16] |
char | theTextEncyption [2] |
char | theTextFormat [4] |
char | theExtSubheaderDataLength [6] |
char | theExtSubheaderOverflow [4] |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 16 of file ossimNitfTextHeaderV2_1.h.
ossimNitfTextHeaderV2_1::ossimNitfTextHeaderV2_1 | ( | ) |
|
virtual |
Definition at line 56 of file ossimNitfTextHeaderV2_1.cpp.
|
private |
Definition at line 134 of file ossimNitfTextHeaderV2_1.cpp.
References theDataAndTime, theExtSubheaderDataLength, theExtSubheaderOverflow, theFilePartType, theTextAttLevel, theTextClassificationAthority, theTextClassificationAthorityType, theTextClassificationReason, theTextClassificationText, theTextCodewords, theTextControlAndHandling, theTextDeclassificationDate, theTextDeclassificationExemption, theTextDeclassificationType, theTextEncyption, theTextFormat, theTextId, theTextReleasingInstructions, theTextSecurityClassification, theTextSecurityControlNumber, theTextSecurityDowngrade, theTextSecurityDowngradeDate, theTextSecuritySourceDate, theTextSecuritySystem, and theTextTitle.
Referenced by ossimNitfTextHeaderV2_1(), and parseStream().
|
virtual |
Implements ossimNitfTextHeader.
Definition at line 60 of file ossimNitfTextHeaderV2_1.cpp.
References clearFields(), theDataAndTime, theExtSubheaderDataLength, theExtSubheaderOverflow, theFilePartType, theTextAttLevel, theTextClassificationAthority, theTextClassificationAthorityType, theTextClassificationReason, theTextClassificationText, theTextCodewords, theTextControlAndHandling, theTextDeclassificationDate, theTextDeclassificationExemption, theTextDeclassificationType, theTextEncyption, theTextFormat, theTextId, theTextReleasingInstructions, theTextSecurityClassification, theTextSecurityControlNumber, theTextSecurityDowngrade, theTextSecurityDowngradeDate, theTextSecuritySourceDate, theTextSecuritySystem, theTextTitle, and ossimString::toLong().
|
virtual |
Generic print method.
Derived classes should re-implement as they see fit.
Reimplemented from ossimObject.
Definition at line 103 of file ossimNitfTextHeaderV2_1.cpp.
References theDataAndTime, theExtSubheaderDataLength, theExtSubheaderOverflow, theFilePartType, theTextAttLevel, theTextClassificationAthority, theTextClassificationAthorityType, theTextClassificationReason, theTextClassificationText, theTextCodewords, theTextControlAndHandling, theTextDeclassificationDate, theTextDeclassificationExemption, theTextDeclassificationType, theTextEncyption, theTextFormat, theTextId, theTextReleasingInstructions, theTextSecurityClassification, theTextSecurityControlNumber, theTextSecurityDowngrade, theTextSecurityDowngradeDate, theTextSecuritySourceDate, theTextSecuritySystem, and theTextTitle.
void ossimNitfTextHeaderV2_1::setCodewords | ( | const ossimString & | value | ) |
Definition at line 259 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextCodewords.
void ossimNitfTextHeaderV2_1::setControlAndHandling | ( | const ossimString & | value | ) |
Definition at line 264 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextControlAndHandling.
void ossimNitfTextHeaderV2_1::setDeclassificationType | ( | const ossimString & | value | ) |
Definition at line 274 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextDeclassificationType.
void ossimNitfTextHeaderV2_1::setReleasingInstructions | ( | const ossimString & | value | ) |
Definition at line 269 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextReleasingInstructions.
void ossimNitfTextHeaderV2_1::setSecurityClassification | ( | const ossimString & | value | ) |
Definition at line 249 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextSecurityClassification.
void ossimNitfTextHeaderV2_1::setSecurityClassificationSystem | ( | const ossimString & | value | ) |
Definition at line 254 of file ossimNitfTextHeaderV2_1.cpp.
References ossimNitfCommon::setField(), and theTextSecuritySystem.
|
virtual |
Definition at line 192 of file ossimNitfTextHeaderV2_1.cpp.
References theDataAndTime, theExtSubheaderDataLength, theExtSubheaderOverflow, theFilePartType, theTextAttLevel, theTextClassificationAthority, theTextClassificationAthorityType, theTextClassificationReason, theTextClassificationText, theTextCodewords, theTextControlAndHandling, theTextDeclassificationDate, theTextDeclassificationExemption, theTextDeclassificationType, theTextEncyption, theTextFormat, theTextId, theTextReleasingInstructions, theTextSecurityClassification, theTextSecurityControlNumber, theTextSecurityDowngrade, theTextSecurityDowngradeDate, theTextSecuritySourceDate, theTextSecuritySystem, theTextTitle, and ossimString::toLong().
Referenced by ossimNitfWriter::writeBlockBandSeparate(), and ossimNitfWriter::writeBlockBandSequential().
|
static |
Definition at line 55 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 34 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 35 of file ossimNitfTextHeaderV2_1.h.
|
private |
This is a required 14 byte field. It has the format of:
DDHHMMSSZMONYY
DD 2 character day HH 2 characters for the Hour MM 2 characters for the minute SS 2 characters for the seconds Z required MON 3 characters of the month YY 2 characters for the year
Definition at line 94 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
is a required 5 byute field.
Definition at line 211 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
is a conditional 3 byte field. It exists if theExtSubheaderDataLength is not 0
Definition at line 217 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
This is a required 2 byte fields and has a value of TE.
Definition at line 68 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
This is a required 3 byte field.
Definition at line 79 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Optional 40 byte flag for classification athority
Definition at line 171 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Optional 1 byte flag for type of classification athority
Definition at line 166 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Optional 1 byte flag for classification athority
Definition at line 176 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
43 byte field providing additional information on text classification
Definition at line 161 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
11 byte field Text Codewords
Definition at line 121 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setCodewords(), and writeStream().
|
private |
2 byte field Text Control and Handling
Definition at line 126 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setControlAndHandling(), and writeStream().
|
private |
optional 8 byte field Text Declassification Date
Definition at line 141 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
optional 4 byte field Text Declassification Exemption
Definition at line 146 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
optional 2 byte field Text Declassification Type
Definition at line 136 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setDeclassificationType(), and writeStream().
|
private |
This is the encription type and is a required 1 byte field. It can have values
0 Not encrypted 1 Encrypted
Definition at line 195 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
This is a required 3 byte field and will hold either:
MTF indicates USMTF ( refer to JCS PUB 6-04 for examples STA indicates NITF ASCII OTH indicates other or user defined
Definition at line 206 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
This is a required 7 byte field. Text Identifier
Definition at line 73 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
This is an optional 20 byte field.
Definition at line 131 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setReleasingInstructions(), and writeStream().
|
private |
This is a required 1 byte field. Can have of either:
T Top secret S Secret C Confidential R Restricted U Unclassified
Definition at line 111 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setSecurityClassification(), and writeStream().
|
private |
Optional 15 byte entry for security control number
Definition at line 186 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
optional 1 byte field Text Declassification Exemption
Definition at line 151 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
optional 8 byte field
Definition at line 156 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
Optional 8 byte entry
Definition at line 181 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
private |
2 byte field Security Classification System
Definition at line 116 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), setSecurityClassificationSystem(), and writeStream().
|
private |
is an optional 80 byte field
Definition at line 99 of file ossimNitfTextHeaderV2_1.h.
Referenced by clearFields(), parseStream(), print(), and writeStream().
|
static |
Definition at line 50 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 51 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 39 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 40 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 49 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 41 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 52 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 42 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 54 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 45 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 44 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 46 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 47 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 48 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 43 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 53 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 59 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 57 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 58 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 36 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 37 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 56 of file ossimNitfTextHeaderV2_1.h.
|
static |
Definition at line 38 of file ossimNitfTextHeaderV2_1.h.