OTB  9.0.0
Orfeo Toolbox
otbImageMetadataInterfaceFactory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 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:
71  ImageMetadataInterfaceFactory(const Self&) = delete;
72  void operator=(const Self&) = delete;
73 };
74 
75 } // end namespace otb
76 
77 #endif
otb::ImageMetadataInterfaceFactory::ImageMetadataInterfaceBasePointerType
ImageMetadataInterfaceBase::Pointer ImageMetadataInterfaceBasePointerType
Definition: otbImageMetadataInterfaceFactory.h:55
otb::ImageMetadataInterfaceFactory::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbImageMetadataInterfaceFactory.h:43
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::ImageMetadataInterfaceFactory::VectorType
ImageMetadataInterfaceBase::VectorType VectorType
Definition: otbImageMetadataInterfaceFactory.h:53
otb::ImageMetadataInterfaceBase::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbImageMetadataInterfaceBase.h:49
otb::MetadataSupplierInterface
Base class to access metadata information in files/images.
Definition: otbMetadataSupplierInterface.h:40
otb::ImageMetadataInterfaceFactory::Self
ImageMetadataInterfaceFactory Self
Definition: otbImageMetadataInterfaceFactory.h:40
otb::ImageMetadataInterfaceFactory::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbImageMetadataInterfaceFactory.h:42
otb::ImageMetadataInterfaceBase::VariableLengthVectorType
MetaDataKey::VariableLengthVectorType VariableLengthVectorType
Definition: otbImageMetadataInterfaceBase.h:58
otb::ImageMetadataInterfaceBase::MetaDataDictionaryType
itk::MetaDataDictionary MetaDataDictionaryType
Definition: otbImageMetadataInterfaceBase.h:56
otb::ImageMetadataInterfaceFactory::Superclass
itk::Object Superclass
Definition: otbImageMetadataInterfaceFactory.h:41
otbMetadataSupplierInterface.h
otb::ImageMetadataInterfaceBase::VectorType
MetaDataKey::VectorType VectorType
Definition: otbImageMetadataInterfaceBase.h:57
otbImageMetadataInterfaceBase.h
otb::ImageMetadataInterfaceFactory
Create instances of ImageMetadataInterfaceFactory objects using an object factory.
Definition: otbImageMetadataInterfaceFactory.h:36
otb::ImageMetadataInterfaceFactory::ImageType
ImageMetadataInterfaceBase::ImageType ImageType
Definition: otbImageMetadataInterfaceFactory.h:48
otb::ImageMetadata
Generic class containing image metadata used in OTB.
Definition: otbImageMetadata.h:270
otbImageMetadata.h
otb::ImageMetadataInterfaceBase::ImageType
itk::ImageBase< 2 > ImageType
Definition: otbImageMetadataInterfaceBase.h:53
otb::ImageMetadataInterfaceFactory::VariableLengthVectorType
ImageMetadataInterfaceBase::VariableLengthVectorType VariableLengthVectorType
Definition: otbImageMetadataInterfaceFactory.h:54
otb::ImageMetadataInterfaceFactory::MetaDataDictionaryType
ImageMetadataInterfaceBase::MetaDataDictionaryType MetaDataDictionaryType
Definition: otbImageMetadataInterfaceFactory.h:52