MrSID Decode SDK for Raster Reference Manual
9.5.1.4427
|
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.
Nitf::TextSegment::TextSegment | ( | NITFReaderManager & | , |
LTIOStreamInf & | , | ||
int | segmentNumber, | ||
lt_int64 | headerOffset, | ||
lt_int64 | headerLength, | ||
lt_int64 | dataOffset, | ||
lt_int64 | dataLength | ||
) |
LT_STATUS Nitf::TextSegment::addMetadataLocal | ( | LTIMetadataDatabase & | db | ) | const [virtual] |
Implements Nitf::Segment.
lt_uint8* Nitf::TextSegment::getTextData | ( | ) | const |
This function returns the textual data stored in the text segment.
This function returns the length (in bytes) of the textual data stored in the text segment.
LT_STATUS Nitf::TextSegment::initialize | ( | ) | [virtual] |
This function must be called immediately after the constructor.
Reimplemented from Nitf::Segment.