LizardTech::Nitf::ImageSegmentMetadata Class Reference
container for Image Segment metadata
More...
#include <ImageSegmentMetadata.h>
List of all members.
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
LizardTech::Nitf::ImageSegmentMetadata::ImageSegmentMetadata |
( |
|
) |
|
LizardTech::Nitf::ImageSegmentMetadata::~ImageSegmentMetadata |
( |
|
) |
|
Member Function Documentation
const char* LizardTech::Nitf::ImageSegmentMetadata::getICOM |
( |
int |
index |
) |
const |
This function gets an ICOM field.
- Parameters:
-
| index | the index of the ICOM field to access |
- Returns:
- the ICOM data string
const char* LizardTech::Nitf::ImageSegmentMetadata::getIDATIM |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageSegmentMetadata::getIID1 |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageSegmentMetadata::getIID2 |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageSegmentMetadata::getISORCE |
( |
|
) |
const |
int LizardTech::Nitf::ImageSegmentMetadata::getNICOM |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageSegmentMetadata::getTGTID |
( |
|
) |
const |
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setICOM |
( |
int |
index, |
|
|
const char * |
data | |
|
) |
| | |
This function sets an ICOM field.
- Parameters:
-
| index | the number of ICOM feild to record |
| data | the data contents of the COM field |
- Returns:
- success or failure status code
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setIDATIM |
( |
const char * |
|
) |
|
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setIID1 |
( |
const char * |
|
) |
|
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setIID2 |
( |
const char * |
|
) |
|
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setISORCE |
( |
const char * |
|
) |
|
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setNICOM |
( |
int |
count |
) |
|
This function sets the number of ICOM fields.
- Parameters:
-
| count | the number of ICOM fields to add |
- Returns:
- success or failure status code
LT_STATUS LizardTech::Nitf::ImageSegmentMetadata::setTGTID |
( |
const char * |
|
) |
|
The documentation for this class was generated from the following file: