#include <NitfDesSubheader.h>

Public Member Functions | |
| DesSubheader (const std::string &fileVersion, unsigned int index) | |
| bool | importMetadata (const ossimPropertyInterface *pHeader, RasterDataDescriptor *pDescriptor) |
| std::string | getMetadataPath () const |
| FactoryResource< DynamicObject > | createDefaultsDynamicObject (const RasterDataDescriptor *pDescriptor) |
Static Protected Member Functions | |
| 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 26 of file NitfDesSubheader.h.
| Nitf::DesSubheader::DesSubheader | ( | const std::string & | fileVersion, | |
| unsigned int | index | |||
| ) |
Constructs the DesSubheader.
| fileVersion | Either Nitf::VERSION_02_00 or Nitf::VERSION_02_10. | |
| index | The index of this DES. |
| bool Nitf::DesSubheader::importMetadata | ( | const ossimPropertyInterface * | pHeader, | |
| RasterDataDescriptor * | pDescriptor | |||
| ) |
Adds NITF DesSubheader metadata to the DynamicObject.
| pHeader | The source of the metadata. | |
| pDescriptor | The destination for the metadata. |
True on success, false otherwise. | std::string Nitf::DesSubheader::getMetadataPath | ( | ) | const [virtual] |
Returns the metadata location.
Implements Nitf::Header.
| FactoryResource<DynamicObject> Nitf::DesSubheader::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::DesSubheader::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::DesSubheader::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.