65 theUserDefinedSubheaderFields(0),
124 std::streamoff dataBegin = in.tellg();
125 std::streamoff dataEnd = dataBegin +
static_cast<std::streamoff
>(dataLength);
128 while (in.good() && (in.tellg() < dataEnd) )
141 in.read(reinterpret_cast<char*>(&
theData.front()),
theData.size());
185 for (std::vector<ossimNitfTagInformation>::iterator iter =
theTagList.begin();
188 iter->writeStream(out);
193 out.write(reinterpret_cast<char*>(&
theData.front()),
theData.size());
280 out <<
"theIdentSecurityChunk: " 282 <<
"\ntheOverflowedHeaderType: " 284 <<
"\ntheDataItemOverflowed: " 286 <<
"\ntheLengthOfUserDefinedSubheaderFields: " 308 totalDataLength =
theData.size();
312 for (std::vector<ossimNitfTagInformation>::const_iterator iter =
theTagList.begin();
315 totalDataLength += iter->getTotalTagLength();
319 return totalDataLength;
324 if (property.
get() == NULL)
421 if (pBinaryData != NULL)
429 if (pBinaryData != NULL)
static const ossimString DESCRSN_KW
char theDataExtDeclassExempt[5]
static const ossimString DESDCXM_KW
virtual void valueToString(ossimString &valueResult) const =0
static const ossimString DECLAS_KW
char theOverflowedHeaderType[7]
virtual std::ostream & print(std::ostream &out) const
Generic print method.
std::vector< ossimNitfTagInformation > theTagList
static ossimString upcase(const ossimString &aString)
char theDataExtReleasingInst[21]
virtual void setProperty(ossimRefPtr< ossimProperty > property)
static const ossimString DE_KW
char theDataExtSecurityClassText[44]
char theDataExtDeclassType[3]
char theDataExtClassSystem[3]
static const ossimString DESCAUT_KW
static const ossimString DESREL_KW
char theDataExtSecuritySourceDate[9]
char theDataExtClassAuthType[2]
char theLengthOfUserDefinedSubheaderFields[5]
ossimNitfDataExtensionSegmentV2_1()
const vector< unsigned char > & getBinaryData() const
static const ossimString DESSHL_KW
char theDataExtClassAuthority[41]
virtual void parseStream(std::istream &in, ossim_uint64 dataLength)
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
static const ossimString DESDGDT_KW
static const ossimString DESCLTX_KW
virtual ossim_uint32 getHeaderLength() const
virtual void writeStream(std::ostream &out)
char theDataExtSecurityConNum[16]
static const ossimString DESID_KW
char theDataExtControlAndHand[3]
static const ossimString DESCODE_KW
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
virtual ossim_uint64 getDataLength() const
unsigned long long ossim_uint64
char theDataExtCodewords[12]
unsigned int ossim_uint32
static const ossimString DESCTLH_KW
ossimString trim(const ossimString &valueToTrim=ossimString(" \\)) const
this will strip lead and trailing character passed in.
char theDataItemOverflowed[4]
static const ossimString DESSRDT_KW
static const ossimString DESOFLW_KW
static const ossimString DESDCTP_KW
virtual void setTagList(const std::vector< ossimNitfTagInformation > &tagList)
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
virtual ~ossimNitfDataExtensionSegmentV2_1()
static const ossimString DESVER_KW
std::ostream & operator<<(std::ostream &out, const ossimNitfDataExtIdentSecurityChunkV2_1 &data)
static const ossimString DESCTLN_KW
char theUniqueDataExtTypeId[26]
char theVersionDataFieldDef[3]
ossimNitfDataExtIdentSecurityChunkV2_1 theIdentSecurityChunk
std::vector< unsigned char > theUserDefinedSubheaderFields
char theDataExtDeclassDate[9]
void seekg64(off_type off, ios_base::seekdir way)
std::basic_istream< char > istream
Base class for char input streams.
long toLong() const
toLong's deprecated, please use the toInts...
static const ossimString DESITEM_KW
static const ossimString DESSHF_KW
static const ossimString DESDATA_KW
virtual void setSecurityMarkings(const ossimNitfFileHeaderV2_1 &fileHeader)
static const ossimString DESDG_KW
char theDataExtClassReason[2]
static void setField(void *fieldDestination, const ossimString &src, std::streamsize width, std::ios_base::fmtflags ioflags=std::ios::left, char fill=' ')
Sets a field with a given string, width, and IOS flags.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
char theDataExtSecurityDowngradeDate[9]
char theDataExtSecurityDowngrade[2]
#define RTTI_DEF1(cls, name, b1)
char theDataExtSecurityClass[2]
static const ossimString DESCLSY_KW
static const ossimString DESDCDT_KW
std::basic_ostream< char > ostream
Base class for char output streams.
std::vector< unsigned char > theData
static const ossimString DESCATP_KW