Commit b899195b authored by Guillaume Pasero's avatar Guillaume Pasero

REFAC: 1990: move MetaDataKey to OTBMetadata

parent 56b66ebf
......@@ -24,7 +24,6 @@ set(OTBOSSIMAdapters_SRC
otbSensorModelAdapter.cxx
otbRPCSolverAdapter.cxx
otbDateTimeAdapter.cxx
otbMetaDataKey.cxx
otbEllipsoidAdapter.cxx
otbSarSensorModelAdapter.cxx
)
......
......@@ -26,7 +26,7 @@
#include "itkDataObject.h"
#include "itkVariableLengthVector.h"
#include "OTBOSSIMAdaptersExport.h"
#include "OTBMetadataExport.h"
namespace otb
{
......@@ -35,46 +35,46 @@ namespace otb
*/
namespace MetaDataKey
{
extern OTBOSSIMAdapters_EXPORT char const* DriverShortNameKey;
extern OTBOSSIMAdapters_EXPORT char const* DriverLongNameKey;
extern OTBMetadata_EXPORT char const* DriverShortNameKey;
extern OTBMetadata_EXPORT char const* DriverLongNameKey;
extern OTBOSSIMAdapters_EXPORT char const* ProjectionRefKey;
extern OTBMetadata_EXPORT char const* ProjectionRefKey;
extern OTBOSSIMAdapters_EXPORT char const* GCPProjectionKey;
extern OTBOSSIMAdapters_EXPORT char const* GCPParametersKey;
extern OTBOSSIMAdapters_EXPORT char const* GCPCountKey;
extern OTBMetadata_EXPORT char const* GCPProjectionKey;
extern OTBMetadata_EXPORT char const* GCPParametersKey;
extern OTBMetadata_EXPORT char const* GCPCountKey;
extern OTBOSSIMAdapters_EXPORT char const* GeoTransformKey;
extern OTBMetadata_EXPORT char const* GeoTransformKey;
extern OTBOSSIMAdapters_EXPORT char const* MetadataKey;
extern OTBOSSIMAdapters_EXPORT char const* SubMetadataKey;
extern OTBMetadata_EXPORT char const* MetadataKey;
extern OTBMetadata_EXPORT char const* SubMetadataKey;
extern OTBOSSIMAdapters_EXPORT char const* UpperLeftCornerKey;
extern OTBOSSIMAdapters_EXPORT char const* UpperRightCornerKey;
extern OTBOSSIMAdapters_EXPORT char const* LowerLeftCornerKey;
extern OTBOSSIMAdapters_EXPORT char const* LowerRightCornerKey;
extern OTBMetadata_EXPORT char const* UpperLeftCornerKey;
extern OTBMetadata_EXPORT char const* UpperRightCornerKey;
extern OTBMetadata_EXPORT char const* LowerLeftCornerKey;
extern OTBMetadata_EXPORT char const* LowerRightCornerKey;
extern OTBOSSIMAdapters_EXPORT char const* ColorTableNameKey;
extern OTBOSSIMAdapters_EXPORT char const* ColorEntryCountKey;
extern OTBOSSIMAdapters_EXPORT char const* ColorEntryAsRGBKey;
extern OTBMetadata_EXPORT char const* ColorTableNameKey;
extern OTBMetadata_EXPORT char const* ColorEntryCountKey;
extern OTBMetadata_EXPORT char const* ColorEntryAsRGBKey;
extern OTBOSSIMAdapters_EXPORT char const* OSSIMKeywordlistKey;
extern OTBOSSIMAdapters_EXPORT char const* OSSIMKeywordlistDelimiterKey;
extern OTBMetadata_EXPORT char const* OSSIMKeywordlistKey;
extern OTBMetadata_EXPORT char const* OSSIMKeywordlistDelimiterKey;
extern OTBOSSIMAdapters_EXPORT char const* VectorDataKeywordlistKey;
extern OTBOSSIMAdapters_EXPORT char const* VectorDataKeywordlistDelimiterKey;
extern OTBMetadata_EXPORT char const* VectorDataKeywordlistKey;
extern OTBMetadata_EXPORT char const* VectorDataKeywordlistDelimiterKey;
extern OTBOSSIMAdapters_EXPORT char const* ResolutionFactor;
extern OTBOSSIMAdapters_EXPORT char const* SubDatasetIndex;
extern OTBOSSIMAdapters_EXPORT char const* CacheSizeInBytes;
extern OTBMetadata_EXPORT char const* ResolutionFactor;
extern OTBMetadata_EXPORT char const* SubDatasetIndex;
extern OTBMetadata_EXPORT char const* CacheSizeInBytes;
extern OTBOSSIMAdapters_EXPORT char const* TileHintX;
extern OTBOSSIMAdapters_EXPORT char const* TileHintY;
extern OTBMetadata_EXPORT char const* TileHintX;
extern OTBMetadata_EXPORT char const* TileHintY;
extern OTBOSSIMAdapters_EXPORT char const* NoDataValueAvailable;
extern OTBOSSIMAdapters_EXPORT char const* NoDataValue;
extern OTBMetadata_EXPORT char const* NoDataValueAvailable;
extern OTBMetadata_EXPORT char const* NoDataValue;
extern OTBOSSIMAdapters_EXPORT char const* DataType;
extern OTBMetadata_EXPORT char const* DataType;
enum KeyType
......@@ -110,7 +110,7 @@ struct KeyTypeDef
}
};
KeyType OTBOSSIMAdapters_EXPORT GetKeyType(const std::string& name);
KeyType OTBMetadata_EXPORT GetKeyType(const std::string& name);
typedef std::vector<double> VectorType;
typedef std::vector<bool> BoolVectorType;
......@@ -123,9 +123,9 @@ typedef itk::VariableLengthVector<double> VariableLengthVectorType;
* in OTB.
*
*
* \ingroup OTBOSSIMAdapters
* \ingroup OTBMetadata
*/
class OTBOSSIMAdapters_EXPORT OTB_GCP
class OTBMetadata_EXPORT OTB_GCP
{
public:
/** Unique identifier, often numeric */
......
......@@ -67,6 +67,7 @@ set(OTBMetadata_SRC
otbNoDataHelper.cxx
otbFilterFunctionValues.cxx
otbMetaDataKey.cxx
)
add_library(OTBMetadata ${OTBMetadata_SRC})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment