MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
Nitf::ImageSegmentMetadata Class Reference

container for Image Segment metadata More...

#include <ImageSegmentMetadata.h>

List of all members.

Public Member Functions

 ImageSegmentMetadata ()
 ImageSegmentMetadata (const ImageSegmentMetadata &)
 ~ImageSegmentMetadata ()
ImageSegmentMetadataoperator= (const ImageSegmentMetadata &)
LT_STATUS setIID1 (const char *)
 sets the IID1 field
const char * getIID1 () const
 gets the IID1 field
LT_STATUS setIDATIM (const char *)
 sets the IDATIM field
const char * getIDATIM () const
 gets the IDATIM field
LT_STATUS setTGTID (const char *)
 sets the TGTID field
const char * getTGTID () const
 gets the TGTID field
LT_STATUS setIID2 (const char *)
 sets the IID2 field
const char * getIID2 () const
 gets the IID2 field
LT_STATUS setISORCE (const char *)
 sets the ISORCE field
const char * getISORCE () const
 gets the ISORCE field
LT_STATUS setNICOM (int count)
 sets the number of ICOM fields (NICOM)
LT_STATUS setICOM (int index, const char *data)
 sets an ICOM field
int getNICOM () const
 gets the number of ICOM fields
const char * getICOM (int index) const
 gets an ICOM field

Detailed Description

This class is a container for all the image segment-level metadata for an existing NITF file. It is used with the various NITF image manager, reader, and writer classes.

For details on the length, formatting, etc, of each field, consult the 2500C NITF specification.

Usage Notes:

  • all "set" calls will make local copies of their strings
  • caller is responsible for blank-padding of strings
  • caller is repsonsible for checking proper formatting
  • all strings are initialized to reasonable defaults (usually just blanks)

Definition at line 38 of file ImageSegmentMetadata.h.


Constructor & Destructor Documentation


Member Function Documentation

const char* Nitf::ImageSegmentMetadata::getICOM ( int  index) const

This function gets an ICOM field.

Parameters:
indexthe index of the ICOM field to access
Returns:
the ICOM data string
const char* Nitf::ImageSegmentMetadata::getIID1 ( ) const
const char* Nitf::ImageSegmentMetadata::getIID2 ( ) const
const char* Nitf::ImageSegmentMetadata::getTGTID ( ) const
ImageSegmentMetadata& Nitf::ImageSegmentMetadata::operator= ( const ImageSegmentMetadata )
LT_STATUS Nitf::ImageSegmentMetadata::setICOM ( int  index,
const char *  data 
)

This function sets an ICOM field.

Parameters:
indexthe number of ICOM feild to record
datathe data contents of the COM field
Returns:
success or failure status code

This function sets the number of ICOM fields.

Parameters:
countthe number of ICOM fields to add
Returns:
success or failure status code

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