#include <NitfImageSubheader.h>

Public Member Functions | |
| ImageSubheader (const std::string &fileVersion) | |
| bool | importMetadata (const ossimPropertyInterface *pHeader, RasterDataDescriptor *pDescriptor) |
| std::string | getMetadataPath () const |
| FactoryResource< DynamicObject > | createDefaultsDynamicObject (const RasterDataDescriptor *pDescriptor) |
Static Protected Member Functions | |
| static bool | importBandInformation (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | importGeoInformation_2_0 (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | importGeoInformation (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | exportGeoInformation (const RasterDataDescriptor *pDescriptor, const DataVariant &prop, ossimContainerProperty *pProperties, const std::string &appName, const std::string &ossimName) |
| static bool | importIDATIM_2_0 (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | importIDATIM (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | exportIDATIM (const RasterDataDescriptor *pDescriptor, const DataVariant &prop, ossimContainerProperty *pProperties, const std::string &appName, const std::string &ossimName) |
| static bool | importILOC (const ossimPropertyInterface *pPropertyInterface, RasterDataDescriptor *pDescriptor, DynamicObject *pDynObj, const std::string &appName, const std::string &ossimName) |
| static bool | exportILOC (const RasterDataDescriptor *pDescriptor, const DataVariant &prop, ossimContainerProperty *pProperties, const std::string &appName, const std::string &ossimName) |
| static bool | exportClassificationString (const RasterDataDescriptor *pDescriptor, const DataVariant &prop, ossimContainerProperty *pProperties, const std::string &appName, const std::string &ossimName) |
| static bool | exportClassificationDate (const RasterDataDescriptor *pDescriptor, const DataVariant &prop, ossimContainerProperty *pProperties, const std::string &appName, const std::string &ossimName) |
Definition at line 27 of file NitfImageSubheader.h.
| Nitf::ImageSubheader::ImageSubheader | ( | const std::string & | fileVersion | ) |
Constructs the ImageSubheader.
| fileVersion | Either Nitf::VERSION_02_00 or Nitf::VERSION_02_10. |
| bool Nitf::ImageSubheader::importMetadata | ( | const ossimPropertyInterface * | pHeader, | |
| RasterDataDescriptor * | pDescriptor | |||
| ) |
Adds NITF ImageSubheader metadata to the DynamicObject.
| pHeader | The source of the metadata. | |
| pDescriptor | The destination for the metadata. |
True on success, false otherwise. | std::string Nitf::ImageSubheader::getMetadataPath | ( | ) | const [virtual] |
Returns the metadata location.
Implements Nitf::Header.
| FactoryResource<DynamicObject> Nitf::ImageSubheader::createDefaultsDynamicObject | ( | const RasterDataDescriptor * | pDescriptor | ) | [virtual] |
Create defaults to export from the given DataDescriptor.
| pDescriptor | Descriptor which will be exported. May be needed to create defaults. |
Implements Nitf::Header.
| static bool Nitf::ImageSubheader::importBandInformation | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the band information.
| static bool Nitf::ImageSubheader::importGeoInformation_2_0 | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the IGEOLO from NITF 2.0 files.
| static bool Nitf::ImageSubheader::importGeoInformation | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the IGEOLO from NITF 2.1 files.
| static bool Nitf::ImageSubheader::exportGeoInformation | ( | const RasterDataDescriptor * | pDescriptor, | |
| const DataVariant & | prop, | |||
| ossimContainerProperty * | pProperties, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to export most metadata.
This function is templated on type stored in the DynamicObject.
| pDescriptor | Descriptor to export from. | |
| prop | DataVariant with stored metadata. | |
| pProperties | ossimContainerProperty to export the metadata to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for exporting the IGEOLO to NITF 2.1 files.
| static bool Nitf::ImageSubheader::importIDATIM_2_0 | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the IDATIM from NITF 2.0 files.
| static bool Nitf::ImageSubheader::importIDATIM | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the IDATIM from NITF 2.1 files.
| static bool Nitf::ImageSubheader::exportIDATIM | ( | const RasterDataDescriptor * | pDescriptor, | |
| const DataVariant & | prop, | |||
| ossimContainerProperty * | pProperties, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to export most metadata.
This function is templated on type stored in the DynamicObject.
| pDescriptor | Descriptor to export from. | |
| prop | DataVariant with stored metadata. | |
| pProperties | ossimContainerProperty to export the metadata to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for exporting the IDATIM to NITF 2.1 files.
| static bool Nitf::ImageSubheader::importILOC | ( | const ossimPropertyInterface * | pPropertyInterface, | |
| RasterDataDescriptor * | pDescriptor, | |||
| DynamicObject * | pDynObj, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to import most metadata.
This function is templated on type to import to the DynamicObject.
| pPropertyInterface | OSSIM property interface to import from. | |
| pDescriptor | Descriptor to import to. | |
| pDynObj | DynamicObject to import to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for importing the ILOC.
| static bool Nitf::ImageSubheader::exportILOC | ( | const RasterDataDescriptor * | pDescriptor, | |
| const DataVariant & | prop, | |||
| ossimContainerProperty * | pProperties, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to export most metadata.
This function is templated on type stored in the DynamicObject.
| pDescriptor | Descriptor to export from. | |
| prop | DataVariant with stored metadata. | |
| pProperties | ossimContainerProperty to export the metadata to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for exporting the ILOC.
| static bool Nitf::ImageSubheader::exportClassificationString | ( | const RasterDataDescriptor * | pDescriptor, | |
| const DataVariant & | prop, | |||
| ossimContainerProperty * | pProperties, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to export most metadata.
This function is templated on type stored in the DynamicObject.
| pDescriptor | Descriptor to export from. | |
| prop | DataVariant with stored metadata. | |
| pProperties | ossimContainerProperty to export the metadata to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for exporting classification strings.
| static bool Nitf::ImageSubheader::exportClassificationDate | ( | const RasterDataDescriptor * | pDescriptor, | |
| const DataVariant & | prop, | |||
| ossimContainerProperty * | pProperties, | |||
| const std::string & | appName, | |||
| const std::string & | ossimName | |||
| ) | [static, protected] |
Generic function to export most metadata.
This function is templated on type stored in the DynamicObject.
| pDescriptor | Descriptor to export from. | |
| prop | DataVariant with stored metadata. | |
| pProperties | ossimContainerProperty to export the metadata to. | |
| appName | The name which is used internally. | |
| ossimName | The name which OSSIM uses to access the property. |
This function is specialized for exporting classification dates and times.