OTB  10.0.0
Orfeo Toolbox
otbGDALImageMetadataInterface.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 otbGDALImageMetadataInterface_h
22 #define otbGDALImageMetadataInterface_h
23 
26 #include "OTBIOGDALExport.h"
27 
28 namespace otb
29 {
30 
32 {
33 public:
36  using Pointer = itk::SmartPointer<Self>;
37  using ConstPointer = itk::SmartPointer<const Self>;
38 
40  itkNewMacro(Self);
41 
43  itkTypeMacro(GDALImageMetadataInterface, ImageMetadataInterface);
44 
45  typedef Superclass::ImageType ImageType;
46  typedef Superclass::MetaDataDictionaryType MetaDataDictionaryType;
49 
50  void Parse(ImageMetadata &) override;
51 
52 protected:
54  ~GDALImageMetadataInterface() override = default;
55 
56 private:
57  GDALImageMetadataInterface(const Self&) = delete;
58  void operator=(const Self&) = delete;
59 };
60 
61 } // end namespace otb
62 
63 #endif
void operator=(const Self &)=delete
~GDALImageMetadataInterface() override=default
GDALImageMetadataInterface(const Self &)=delete
Superclass::MetaDataDictionaryType MetaDataDictionaryType
void Parse(ImageMetadata &) override
Superclass::VariableLengthVectorType VariableLengthVectorType
Base class for captor metadata reading.
itk::SmartPointer< const Self > ConstPointer
Generic class containing image metadata used in OTB.
std::vector< double > VectorType
itk::VariableLengthVector< double > VariableLengthVectorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.