MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
Nitf::TREData Class Reference

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 More...
 
 ~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) More...
 
lt_uint32 getDataLength () const
 returns the length in bytes of the data payload More...
 
const lt_uint8 * getData () const
 returns the data payload More...
 

Detailed Description

This class is used to represent a single TRE item.

Definition at line 29 of file TREData.h.

Constructor & Destructor Documentation

◆ TREData() [1/3]

Nitf::TREData::TREData ( )

◆ TREData() [2/3]

Nitf::TREData::TREData ( const TREData *  tre)

◆ TREData() [3/3]

Nitf::TREData::TREData ( const char *  tag,
int  dataLength,
const lt_uint8 *  data 
)

This function creates the TRE object.

Parameters
tagthe 6-byte tag name
dataLengththe length of the data field
datathe data payload (bytes) of the TRE

◆ ~TREData()

Nitf::TREData::~TREData ( )

Member Function Documentation

◆ getData()

const lt_uint8 * Nitf::TREData::getData ( ) const

◆ getDataLength()

lt_uint32 Nitf::TREData::getDataLength ( ) const

◆ getTag()

const char * Nitf::TREData::getTag ( ) const

◆ serialize() [1/2]

lt_uint8 * Nitf::TREData::serialize ( lt_uint8 *  p) const

◆ serialize() [2/2]

LT_STATUS Nitf::TREData::serialize ( LTIOStreamInf &  stream) const

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

Extensis