OTB  10.0.0
Orfeo Toolbox
otbImageMetadataInterfaceFactory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbImageMetadataInterfaceFactory_h
22 #define otbImageMetadataInterfaceFactory_h
23 
24 #include "itkObject.h"
27 #include "otbImageMetadata.h"
28 
29 namespace otb
30 {
36 class OTBMetadata_EXPORT ImageMetadataInterfaceFactory : public itk::Object
37 {
38 public:
41  typedef itk::Object Superclass;
42  typedef itk::SmartPointer<Self> Pointer;
43  typedef itk::SmartPointer<const Self> ConstPointer;
44 
48  itkTypeMacro(ImageMetadataInterfaceFactory, Object);
49 
56 
57  // TODO: the input ImageMetadata is here to inject some metadatas parsed by
58  // GDALImageIO and initialize the correct number of bands. It should not be
59  // needed once we have a merge() function,
62 
64  static void RegisterBuiltInFactories();
65 
66 protected:
69 
70 private:
72  void operator=(const Self&) = delete;
73 };
74 
75 } // end namespace otb
76 
77 #endif
MetaDataKey::VariableLengthVectorType VariableLengthVectorType
Create instances of ImageMetadataInterfaceFactory objects using an object factory.
ImageMetadataInterfaceFactory(const Self &)=delete
ImageMetadataInterfaceBase::ImageType ImageType
void operator=(const Self &)=delete
ImageMetadataInterfaceBase::Pointer ImageMetadataInterfaceBasePointerType
ImageMetadataInterfaceBase::VectorType VectorType
static ImageMetadataInterfaceBasePointerType CreateIMI(ImageMetadata &imd, const MetadataSupplierInterface &mds)
ImageMetadataInterfaceBase::VariableLengthVectorType VariableLengthVectorType
ImageMetadataInterfaceBase::MetaDataDictionaryType MetaDataDictionaryType
Generic class containing image metadata used in OTB.
Base class to access metadata information in files/images.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.