MrSID Decode SDK for Raster Reference Manual
9.0.0.3864
|
representation of a single TRE in a NITF file More...
#include <TREData.h>
Public Member Functions | |
TREData () | |
TREData (const TREData *tre) | |
TREData (const char *tag, int dataLength, const lt_uint8 *data) | |
constructor for a TRE object | |
~TREData () | |
lt_uint8 * | serialize (lt_uint8 *p) const |
LT_STATUS | serialize (LTIOStreamInf &stream) const |
const char * | getTag () const |
returns the tag name (a 6-char array) | |
lt_uint32 | getDataLength () const |
returns the length in bytes of the data payload | |
const lt_uint8 * | getData () const |
returns the data payload |
Nitf::TREData::TREData | ( | const TREData * | tre | ) |
Nitf::TREData::TREData | ( | const char * | tag, |
int | dataLength, | ||
const lt_uint8 * | data | ||
) |
This function creates the TRE object.
tag | the 6-byte tag name |
dataLength | the length of the data field |
data | the data payload (bytes) of the TRE |
const lt_uint8* Nitf::TREData::getData | ( | ) | const |
lt_uint32 Nitf::TREData::getDataLength | ( | ) | const |
const char* Nitf::TREData::getTag | ( | ) | const |
lt_uint8* Nitf::TREData::serialize | ( | lt_uint8 * | p | ) | const |
LT_STATUS Nitf::TREData::serialize | ( | LTIOStreamInf & | stream | ) | const |