#include <FileHeader.h>
Public Member Functions | |
FileHeader (NITFReaderManager &, LTIOStreamInf &, lt_int64 fileSize) | |
~FileHeader () | |
LT_STATUS | initialize () |
initializer | |
Version | getVersion () const |
returns the version of the file | |
LT_STATUS | createSegments (ImageSegment **&imageSegments, lt_uint32 &numImageSegments, GraphicSegment **&graphicSegments, lt_uint32 &numGraphicSegments, LabelSegment **&labelSegments, lt_uint32 &numLabelSegments, TextSegment **&textSegments, lt_uint32 &numTextSegments, DataSegment **&dataSegments, lt_uint32 &numDataSegments, ReservedSegment **&resSegments, lt_uint32 &numResSegments) |
LT_STATUS | addMetadataLocal (LTIMetadataDatabase &db) const |
const lt_uint8 * | getFBKGC () const |
returns the background pixel for the overall file | |
const FileMetadata * | getFileMetadata () const |
returns the object holding the file metadata |
Definition at line 41 of file FileHeader.h.
Nitf::FileHeader::FileHeader | ( | NITFReaderManager & | , | |
LTIOStreamInf & | , | |||
lt_int64 | fileSize | |||
) |
Nitf::FileHeader::~FileHeader | ( | ) |
LT_STATUS Nitf::FileHeader::initialize | ( | ) | [virtual] |
This function must be called immediately after the constructor.
Reimplemented from Nitf::Segment.
Version Nitf::FileHeader::getVersion | ( | ) | const |
This function returns the version NITF specifcation the file conforms to.
LT_STATUS Nitf::FileHeader::createSegments | ( | ImageSegment **& | imageSegments, | |
lt_uint32 & | numImageSegments, | |||
GraphicSegment **& | graphicSegments, | |||
lt_uint32 & | numGraphicSegments, | |||
LabelSegment **& | labelSegments, | |||
lt_uint32 & | numLabelSegments, | |||
TextSegment **& | textSegments, | |||
lt_uint32 & | numTextSegments, | |||
DataSegment **& | dataSegments, | |||
lt_uint32 & | numDataSegments, | |||
ReservedSegment **& | resSegments, | |||
lt_uint32 & | numResSegments | |||
) |
LT_STATUS Nitf::FileHeader::addMetadataLocal | ( | LTIMetadataDatabase & | db | ) | const [virtual] |
Implements Nitf::Segment.
const lt_uint8* Nitf::FileHeader::getFBKGC | ( | ) | const |
This function returns the background pixel, as stored in the the FBKGC field. It consists of three values (R, G, B) with a range of 0 to 255.
const FileMetadata* Nitf::FileHeader::getFileMetadata | ( | ) | const |
This function returns an object holding the basic file metadata.
LizardTech |