represents a text segment in an NITF file More...
#include <TextSegment.h>
Public Member Functions | |
TextSegment (NITFReaderManager &, LTIOStreamInf &, int segmentNumber, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength) | |
~TextSegment () | |
LT_STATUS | initialize () |
initializer | |
lt_uint8 * | getTextData () const |
get the text data | |
lt_uint32 | getTextDataLength () const |
get the text data length | |
LT_STATUS | addMetadataLocal (LTIMetadataDatabase &db) const |
This class represents a text segment in an existing NITF file. To access the text segment of a file, retrieve the TextSegment from the NITFReaderManager class.
Definition at line 36 of file TextSegment.h.
LizardTech::Nitf::TextSegment::TextSegment | ( | NITFReaderManager & | , | |
LTIOStreamInf & | , | |||
int | segmentNumber, | |||
lt_int64 | headerOffset, | |||
lt_int64 | headerLength, | |||
lt_int64 | dataOffset, | |||
lt_int64 | dataLength | |||
) |
LizardTech::Nitf::TextSegment::~TextSegment | ( | ) |
LT_STATUS LizardTech::Nitf::TextSegment::addMetadataLocal | ( | LTIMetadataDatabase & | db | ) | const [virtual] |
Implements LizardTech::Nitf::Segment.
lt_uint8* LizardTech::Nitf::TextSegment::getTextData | ( | ) | const |
This function returns the textual data stored in the text segment.
lt_uint32 LizardTech::Nitf::TextSegment::getTextDataLength | ( | ) | const |
This function returns the length (in bytes) of the textual data stored in the text segment.
LT_STATUS LizardTech::Nitf::TextSegment::initialize | ( | ) | [virtual] |
This function must be called immediately after the constructor.
Reimplemented from LizardTech::Nitf::Segment.
LizardTech |