#include <NitfMetadataParsing.h>

Public Member Functions | |
| TrePlugInResource (std::string plugInName) | |
| TrePlugInResource () | |
| bool | parseTag (const ossimNitfRegisteredTag &input, DynamicObject &output, RasterDataDescriptor &descriptor, std::string &errorMessage) const |
| bool | writeTag (const DynamicObject &input, const ossim_uint32 &ownerIndex, const ossimString &tagType, ossimNitfWriter &writer, std::string &errorMessage) const |
| bool | exportMetadata (const RasterDataDescriptor &descriptor, const RasterFileDescriptor &exportDescriptor, ossimNitfWriter &writer, std::string &errorMessage) const |
Definition at line 43 of file NitfMetadataParsing.h.
| Nitf::TrePlugInResource::TrePlugInResource | ( | std::string | plugInName | ) |
Construct an object to represent a TRE parser.
| plugInName | The name of the plug-in to construct. |
Definition at line 52 of file NitfMetadataParsing.h.
| Nitf::TrePlugInResource::TrePlugInResource | ( | ) |
| bool Nitf::TrePlugInResource::parseTag | ( | const ossimNitfRegisteredTag & | input, | |
| DynamicObject & | output, | |||
| RasterDataDescriptor & | descriptor, | |||
| std::string & | errorMessage | |||
| ) | const |
Parse a TRE and store it in a DynamicObject and RasterDataDescriptor.
| input | The ossimNitfRegisteredTag to read from. | |
| output | The DynamicObject to write to. | |
| descriptor | The RasterDataDescriptor which should be updated. | |
| errorMessage | If this is modified by the function, it will be displayed to the user as a warning that imported TREs might be incomplete, missing, etc. |
True on success, false otherwise. | bool Nitf::TrePlugInResource::writeTag | ( | const DynamicObject & | input, | |
| const ossim_uint32 & | ownerIndex, | |||
| const ossimString & | tagType, | |||
| ossimNitfWriter & | writer, | |||
| std::string & | errorMessage | |||
| ) | const |
Parse a TRE from a DynamicObject and store it in writer.
| input | The DynamicObject to read from. | |
| ownerIndex | The index of the owner in writer. | |
| tagType | The type of tag in writer. | |
| writer | The ossimNitfWriter to write to. | |
| errorMessage | Message that exported TREs might be incomplete, missing, etc. |
True on success or if the TRE was excluded from export, false otherwise. | bool Nitf::TrePlugInResource::exportMetadata | ( | const RasterDataDescriptor & | descriptor, | |
| const RasterFileDescriptor & | exportDescriptor, | |||
| ossimNitfWriter & | writer, | |||
| std::string & | errorMessage | |||
| ) | const |
Exports TRE metadata.
| descriptor | The RasterDataDescriptor to read from. | |
| exportDescriptor | The RasterDataDescriptor to write to. | |
| writer | The ossimNitfWriter to write to. | |
| errorMessage | Message that exported TREs might be incomplete, missing, etc. |
True on success or if the TRE was excluded from export, false otherwise.