25 class NITFReaderManager;
32 class SecurityMetadata;
47 lt_int64 headerOffset, lt_int64 headerLength,
48 lt_int64 dataOffset, lt_int64 dataLength,
49 const char* code,
int segmentNumber,
50 bool doUserSubheader,
bool doExtendedSubheader);
133 void addTREChunk(
const lt_uint8* bytes,
int length);
134 void addTRE(
const char* tag,
const lt_uint8* bytes,
int length);
143 const bool m_doUserSubheader;
144 const bool m_doExtendedSubheader;
lt_int64 getDataOffset() const
const lt_int64 m_headerOffset
virtual LT_STATUS readHeader()=0
This file contains a number of enums, typedefs, etc, that are used within the NITF support classes...
unsigned char lt_uint8
unsigned 8-bit integer
SecurityBlock * m_securityBlock
base class for segment data in an NITF file
representation of a single TRE in a NITF file
lt_int64 getHeaderOffset() const
virtual LT_STATUS readData()=0
const char * getSegmentID()
virtual LT_STATUS addMetadata(LTIMetadataDatabase &) const
#define LT_BEGIN_LIZARDTECH_NAMESPACE
compiler does not support namespaces
lt_int64 getDataLength() const
const lt_int64 m_dataOffset
lt_uint32 LT_STATUS
An integral status code.
NITFReaderManager & m_manager
container for Security metadata
const TREData * getTRE(int index) const
TRE accessor.
lt_int64 getHeaderLength() const
int getNumTREs() const
returns the number of TREs in this segment
#define LT_END_LIZARDTECH_NAMESPACE
compiler does not support namespaces
Include file for all LizardTech sources.
const SecurityMetadata * getSecurityMetadata() const
returns the security information about the segment
Segment(NITFReaderManager &, LTIOStreamInf &, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength, const char *code, int segmentNumber, bool doUserSubheader, bool doExtendedSubheader)
virtual LT_STATUS addMetadataLocal(LTIMetadataDatabase &) const =0
MetadataHelper * m_mdHelper
int getSegmentNumber() const
container for security-related metadata
const int m_segmentNumber
Abstract definition of a stream.
virtual LT_STATUS initialize()
initializer
class for storing metadata associated with an image
const SecurityBlock * getSecurityBlock() const
const lt_int64 m_dataLength
const char * getMetadataTagPrefix() const