Skip to content
Snippets Groups Projects
Commit fd5206a8 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: simplify includes

parent 6d9e546e
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@
#include "otbImage.h"
#include "otbImageMetadataInterfaceFactory.h"
#include "otbImageKeywordlist.h"
#include "itkMetaDataObject.h"
namespace otb
......@@ -143,9 +142,9 @@ template <class TPixel, unsigned int VImageDimension>
typename Image<TPixel, VImageDimension>::ImageKeywordlistType
Image<TPixel, VImageDimension>::GetImageKeywordlist(void)
{
ImageKeywordlist kwl;
ImageKeywordlistType kwl;
itk::ExposeMetaData<ImageKeywordlist>(this->GetMetaDataDictionary(),
itk::ExposeMetaData<ImageKeywordlistType>(this->GetMetaDataDictionary(),
MetaDataKey::OSSIMKeywordlistKey,
kwl);
return kwl;
......@@ -155,9 +154,9 @@ template <class TPixel, unsigned int VImageDimension>
const typename Image<TPixel, VImageDimension>::ImageKeywordlistType
Image<TPixel, VImageDimension>::GetImageKeywordlist(void) const
{
ImageKeywordlist kwl;
ImageKeywordlistType kwl;
itk::ExposeMetaData<ImageKeywordlist>(this->GetMetaDataDictionary(),
itk::ExposeMetaData<ImageKeywordlistType>(this->GetMetaDataDictionary(),
MetaDataKey::OSSIMKeywordlistKey,
kwl);
return kwl;
......
......@@ -18,7 +18,6 @@
#include "otbImageMetadataInterfaceBase.h"
#include "otbImageKeywordlist.h"
#include "itkMetaDataObject.h"
#include "itksys/SystemTools.hxx"
......
......@@ -20,6 +20,7 @@
#include <string>
#include "otbImageKeywordlist.h"
#include "itkMetaDataDictionary.h"
#include "otbMetaDataKey.h"
#include "itkImageBase.h"
......@@ -28,8 +29,6 @@
namespace otb
{
class ImageKeywordlist;
/** \class ImageMetadataInterfaceBase
*
* \brief Base class for captor metadata reading.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment