LizardTech::Nitf::LabelSegment Class Reference

represents a label segment in an existing NITF file More...

#include <LabelSegment.h>

Inheritance diagram for LizardTech::Nitf::LabelSegment:
LizardTech::Nitf::Segment

List of all members.

Public Member Functions

 LabelSegment (NITFReaderManager &, LTIOStreamInf &, int segmentNumber, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength)
 ~LabelSegment ()
LT_STATUS initialize ()
 initializer
lt_uint32 getLabelDataLength () const
 returns the length (in bytes) of the label data
lt_uint8getLabelData () const
 returns the label data as raw bytes
LT_STATUS addMetadataLocal (LTIMetadataDatabase &db) const

Detailed Description

This class represents a label segment in an NITF file. To access the label segment of a file, retrieve the LabelSegment from the NITFReaderManager class.

Definition at line 34 of file LabelSegment.h.


Constructor & Destructor Documentation

LizardTech::Nitf::LabelSegment::LabelSegment ( NITFReaderManager ,
LTIOStreamInf ,
int  segmentNumber,
lt_int64  headerOffset,
lt_int64  headerLength,
lt_int64  dataOffset,
lt_int64  dataLength 
)
LizardTech::Nitf::LabelSegment::~LabelSegment (  ) 

Member Function Documentation

LT_STATUS LizardTech::Nitf::LabelSegment::addMetadataLocal ( LTIMetadataDatabase db  )  const [virtual]
lt_uint8* LizardTech::Nitf::LabelSegment::getLabelData (  )  const
lt_uint32 LizardTech::Nitf::LabelSegment::getLabelDataLength (  )  const
LT_STATUS LizardTech::Nitf::LabelSegment::initialize (  )  [virtual]

This function must be called immediately after the constructor.

Returns:
success or failure

Reimplemented from LizardTech::Nitf::Segment.


The documentation for this class was generated from the following file:

LizardTech