OTB  6.7.0
Orfeo Toolbox
otbPathListSource.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 otbPathListSource_h
22 #define otbPathListSource_h
23 
24 // #include "itkProcessObject.h"
25 // #include "itkDataObject.h"
26 #include "otbObjectListSource.h"
27 
28 namespace otb
29 {
30 
44 template <class TOutputPath>
45 class ITK_EXPORT PathListSource : public ObjectListSource<ObjectList<TOutputPath> >
46 {
47 public:
53 
55  itkNewMacro(Self);
56 
59 
63 
64  typedef TOutputPath OutputPathType;
65  typedef typename OutputPathType::Pointer OutputPathPointerType;
66  typedef typename Superclass::OutputListType OutputPathListType;
67  typedef typename OutputPathListType::Pointer OutputPathListPointerType;
68  typedef typename OutputPathListType::ConstPointer OutputPathListConstPointerType;
69 
110 // OutputPathListType * GetOutput(void);
111 // OutputPathListType * GetOutput(DataObjectPointerArraySizeType idx);
113 
148  // just calls GraftNthOutput()
149 // virtual void GraftOutput(OutputPathListType *output);
151 
158 // virtual void GraftNthOutput(DataObjectPointerArraySizeType idx, OutputPathListType *output);
159 
173 // virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx);
174 
175 protected:
177  ~PathListSource() override {}
178 // void PrintSelf(std::ostream& os, itk::Indent indent) const;
179 
180 private:
181  PathListSource(const Self &) = delete;
182  void operator =(const Self&) = delete;
183 };
184 
185 } // end namespace otb
186 
187 // #ifndef OTB_MANUAL_INSTANTIATION
188 // #include "otbPathListSource.hxx"
189 // #endif
190 
191 #endif
TOutputPath OutputPathType
Superclass::OutputListType OutputPathListType
OutputPathType::Pointer OutputPathPointerType
Base class for all process objects that output ObjectList data.
itk::DataObject::Pointer DataObjectPointer
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
OutputPathListType::ConstPointer OutputPathListConstPointerType
OutputPathListType::Pointer OutputPathListPointerType
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
Base class for filters with a PathList output type.
ObjectListSource< ObjectList< TOutputPath > > Superclass
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType