LizardTech::Nitf::TREData Class Reference

representation of a single TRE in a NITF file More...

#include <TREData.h>

List of all members.

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_uint8serialize (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_uint8getData () const
 returns the data payload

Detailed Description

This class is used to represent a single TRE item.

Definition at line 33 of file TREData.h.


Constructor & Destructor Documentation

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

This function creates the TRE object.

Parameters:
tag the 6-byte tag name
dataLength the length of the data field
data the data payload (bytes) of the TRE
LizardTech::Nitf::TREData::~TREData (  ) 

Member Function Documentation

const lt_uint8* LizardTech::Nitf::TREData::getData (  )  const
lt_uint32 LizardTech::Nitf::TREData::getDataLength (  )  const
const char* LizardTech::Nitf::TREData::getTag (  )  const
LT_STATUS LizardTech::Nitf::TREData::serialize ( LTIOStreamInf stream  )  const
lt_uint8* LizardTech::Nitf::TREData::serialize ( lt_uint8 p  )  const

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

LizardTech