NitfDesSubheader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef NITFDESSUBHEADER_H
00011 #define NITFDESSUBHEADER_H
00012
00013 #include "NitfHeader.h"
00014 #include <memory>
00015 #include <string>
00016
00017 class ossimNitfDesHeaderV2_X;
00018 class RasterDataDescriptor;
00019 class ossimContainerProperty;
00020
00021 namespace Nitf
00022 {
00023
00024
00025
00026 class DesSubheader : public Header
00027 {
00028 public:
00029
00030
00031
00032
00033
00034
00035
00036
00037 DesSubheader(const std::string& fileVersion, unsigned int index);
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 bool importMetadata(const ossimPropertyInterface* pHeader, RasterDataDescriptor* pDescriptor);
00050
00051 std::string getMetadataPath() const;
00052
00053 FactoryResource<DynamicObject> createDefaultsDynamicObject(const RasterDataDescriptor* pDescriptor);
00054
00055 protected:
00056
00057
00058
00059
00060
00061 static bool exportClassificationString(const RasterDataDescriptor* pDescriptor,
00062 const DataVariant& prop,
00063 ossimContainerProperty* pProperties, const std::string& appName,
00064 const std::string& ossimName);
00065
00066
00067
00068
00069
00070
00071 static bool exportClassificationDate(const RasterDataDescriptor* pDescriptor,
00072 const DataVariant& prop,
00073 ossimContainerProperty* pProperties, const std::string& appName,
00074 const std::string& ossimName);
00075
00076 private:
00077 DesSubheader& operator=(const DesSubheader& rhs);
00078
00079 const unsigned int mIndex;
00080 };
00081 }
00082
00083 #endif