76 const bool overflow = (desTag ==
"REGISTERED EXTENSIONS" ||
77 desTag ==
"CONTROLLED EXTENSIONS");
79 if (overflow&&in.good())
98 istream::pos_type dataBegin = in.tellg();
99 istream::pos_type endData = dataBegin +
static_cast<istream::pos_type
>(dataLength);
100 while (in.good()&&(in.tellg() < endData))
106 if(!in.good()) in.clear();
110 in.read(reinterpret_cast<char*>(&
theData.front()),
theData.size());
156 out <<
"theIdentSecurityChunk: " 158 <<
"\ntheOverflowedHeaderType: " 160 <<
"\ntheDataItemOverflowed: " 162 <<
"\ntheLengthOfUserDefinedSubheaderFields: " ossimNitfDataExtIdentSecurityChunkV2_0 theIdentSecurityChunk
static const ossimString DECLAS_KW
std::vector< ossimNitfTagInformation > theTagList
std::ostream & operator<<(std::ostream &out, const ossimNitfDataExtIdentSecurityChunkV2_0 &data)
static ossimString upcase(const ossimString &aString)
std::vector< unsigned char > theData
char theDataExtControlAndHand[41]
virtual void parseStream(std::istream &in, ossim_uint64 dataLength)
void getPropertyNames(std::vector< ossimString > &propertyNames) const
static const ossimString DE_KW
char theOverflowedHeaderType[7]
static const ossimString DESCAUT_KW
static const ossimString DESREL_KW
ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ~ossimNitfDataExtensionSegmentV2_0()
char theDataExtDowngradingEvent[41]
static const ossimString DESSHL_KW
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
char theDataExtClassAuthority[21]
static const ossimString DESDEVT_KW
ossimNitfDataExtensionSegmentV2_0()
char theDataExtReleasingInst[41]
static const ossimString DESDWNG_KW
static const ossimString DESCODE_KW
unsigned long long ossim_uint64
static const ossimString DESCTLH_KW
ossimString trim(const ossimString &valueToTrim=ossimString(" \\)) const
this will strip lead and trailing character passed in.
std::vector< unsigned char > theUserDefinedSubheaderFields
static const ossimString DESOFLW_KW
char theDataExtCodewords[41]
static const ossimString DESVER_KW
static const ossimString DESCTLN_KW
char theDataExtSecurityClass[2]
char theLengthOfUserDefinedSubheaderFields[5]
std::basic_istream< char > istream
Base class for char input streams.
long toLong() const
toLong's deprecated, please use the toInts...
virtual std::ostream & print(std::ostream &out) const
Generic print method.
static const ossimString DESITEM_KW
static const ossimString DESSHF_KW
static const ossimString DESDATA_KW
static const ossimString DESTAG_KW
char theDataItemOverflowed[4]
char theVersionDataFieldDef[3]
#define RTTI_DEF1(cls, name, b1)
char theDataExtSecurityDowngrade[7]
std::basic_ostream< char > ostream
Base class for char output streams.
char theUniqueDataExtTypeId[26]
char theDataExtSecurityConNum[21]