OTB  10.0.0
Orfeo Toolbox
otbPathListToPathListFilter.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 otbPathListToPathListFilter_h
22 #define otbPathListToPathListFilter_h
23 
25 #include "otbObjectList.h"
26 
27 namespace otb
28 {
34 template <class TPath>
35 class ITK_EXPORT PathListToPathListFilter : public ObjectListToObjectListFilter<ObjectList<TPath>, ObjectList<TPath>>
36 {
37 public:
41  typedef itk::SmartPointer<Self> Pointer;
42  typedef itk::SmartPointer<const Self> ConstPointer;
43 
45  itkNewMacro(Self);
46 
49 
51  typedef typename Superclass::InputObjectType PathType;
53  typedef typename PathType::Pointer PathPointerType;
57  typedef typename PathType::Pointer OutputPathPointerType;
60 
61 protected:
64 
67  {
68  }
69 
70 private:
71  PathListToPathListFilter(const Self&) = delete;
72  void operator=(const Self&) = delete;
73 };
74 } // End namespace otb
75 
76 #endif
Base class for filters that take an ObjectList as input and produce an ObjectList as output.
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
Definition: otbObjectList.h:41
itk::SmartPointer< const Self > ConstPointer
Definition: otbObjectList.h:47
itk::SmartPointer< Self > Pointer
Definition: otbObjectList.h:46
Base class for filter taking a PathList as input a returning a PathList.
PathListToPathListFilter(const Self &)=delete
Superclass::OutputListType OutputPathListType
PathListType::ConstPointer PathListConstPointerType
itk::SmartPointer< const Self > ConstPointer
ObjectListToObjectListFilter< ObjectList< TPath >, ObjectList< TPath > > Superclass
Superclass::OutputListPointer OutputPathListPointerType
Superclass::InputListType PathListType
Superclass::OutputObjectType OutputPathType
Superclass::InputObjectType PathType
void operator=(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.