OTB  9.0.0
Orfeo Toolbox
otbWrapperInputVectorDataListParameter.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 otbWrapperInputVectorDataListParameter_h
22 #define otbWrapperInputVectorDataListParameter_h
23 
24 
27 
28 
29 namespace otb
30 {
31 
32 
33 namespace Wrapper
34 {
35 
41 class OTBApplicationEngine_EXPORT InputVectorDataListParameter : public ParameterList<InputVectorDataParameter>
42 {
43 public:
47  typedef itk::SmartPointer<Self> Pointer;
48  typedef itk::SmartPointer<const Self> ConstPointer;
49 
51  itkNewMacro(Self);
52 
55 
57  const VectorDataListType* GetVectorDataList() const;
58  VectorDataListType* GetVectorDataList();
60 
62  //
63  // FIXME: Definition is not const-correct because
64  // InputVectorDataParameter::GetVectorData() is not const-correct!
65  const VectorDataType* GetNthVectorData(std::size_t);
66 
68  void SetVectorDataList(VectorDataListType*);
69 
71  void AddVectorData(VectorDataType*);
72 
74  void ClearValue() override;
75 
78  virtual Role GetDirection() const override;
79 
82  const std::string& GetFilenameFilter() const override;
83 
84  ParameterType GetType() const override
85  {
87  }
88 
89 protected:
92 
94  ~InputVectorDataListParameter() override;
95 
96 private:
97  InputVectorDataListParameter(const Parameter&) = delete;
98  void operator=(const Parameter&) = delete;
99 
101 
103 
104  //
105  // Private attributes
106 private:
108 
109 }; // End class InputVectorDataList Parameter
110 
111 } // End namespace Wrapper
112 
113 } // End namespace otb
114 
115 #endif
otb::Wrapper::Parameter
This class represent a parameter for the wrapper framework This class is a high level class represent...
Definition: otbWrapperParameter.h:49
otb::Wrapper::ParameterList
This class represents a InputImage parameter.
Definition: otbWrapperParameterList.h:42
otb::VectorData
This class represents a hierarchy of vector data.
Definition: otbVectorData.h:58
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::Wrapper::InputVectorDataListParameter::m_VectorDataList
VectorDataListType::Pointer m_VectorDataList
Definition: otbWrapperInputVectorDataListParameter.h:107
otb::Wrapper::StringListInterface::GetDirection
virtual Role GetDirection() const =0
otb::Wrapper::InputVectorDataListParameter::GetType
ParameterType GetType() const override
Definition: otbWrapperInputVectorDataListParameter.h:84
otbWrapperParameterList.h
otb::Wrapper::InputVectorDataListParameter
This class represents a list of VectorData parameter.
Definition: otbWrapperInputVectorDataListParameter.h:41
otb::ObjectList::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbObjectList.h:46
otb::Wrapper::InputVectorDataListParameter::Superclass
ParameterList< InputVectorDataParameter > Superclass
Definition: otbWrapperInputVectorDataListParameter.h:46
otb::Wrapper::Role
Role
Definition: otbWrapperTypes.h:126
otb::Wrapper::StringListInterface::GetFilenameFilter
virtual const std::string & GetFilenameFilter() const
otb::Wrapper::ParameterType_InputVectorDataList
@ ParameterType_InputVectorDataList
Definition: otbWrapperTypes.h:51
otbWrapperInputVectorDataParameter.h
otb::Wrapper::InputVectorDataParameter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWrapperInputVectorDataParameter.h:44
otb::Wrapper::AbstractParameterList
This class is a base class for list-type parameters.
Definition: otbWrapperAbstractParameterList.h:41
otb::ObjectList
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
Definition: otbObjectList.h:40
otb::Wrapper::InputVectorDataListParameter::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbWrapperInputVectorDataListParameter.h:47
otb::Wrapper::InputVectorDataListParameter::Self
InputVectorDataListParameter Self
Definition: otbWrapperInputVectorDataListParameter.h:45
otb::Wrapper::ParameterType
ParameterType
Definition: otbWrapperTypes.h:37
otb::Wrapper::InputVectorDataListParameter::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbWrapperInputVectorDataListParameter.h:48