Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
ApplicationEngine
otbWrapperEmptyParameter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ORFEO Toolbox
4
Language: C++
5
Date: $Date$
6
Version: $Revision$
7
8
9
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10
See OTBCopyright.txt for details.
11
12
13
This software is distributed WITHOUT ANY WARRANTY; without even
14
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
PURPOSE. See the above copyright notices for more information.
16
17
=========================================================================*/
18
#ifndef __otbWrapperEmptyParameter_h
19
#define __otbWrapperEmptyParameter_h
20
21
#include "
otbWrapperParameter.h
"
22
23
namespace
otb
24
{
25
namespace
Wrapper
26
{
27
31
class
EmptyParameter
32
:
public
Parameter
33
{
34
public
:
36
typedef
EmptyParameter
Self
;
37
typedef
Parameter
Superclass
;
38
typedef
itk::SmartPointer<Self>
Pointer
;
39
typedef
itk::SmartPointer<const Self>
ConstPointer
;
40
42
itkNewMacro(
Self
);
43
45
itkTypeMacro(
EmptyParameter
,
Parameter
);
46
48
bool
HasValue
()
const
49
{
50
return
false
;
51
}
52
53
protected
:
55
EmptyParameter
()
56
{
57
// It does not make sense for an empty parameter to be mandatory
58
this->
MandatoryOff
();
59
}
60
62
virtual
~EmptyParameter
()
63
{}
64
65
private
:
66
EmptyParameter
(
const
EmptyParameter
&);
//purposely not implemented
67
void
operator =
(
const
EmptyParameter
&);
//purposely not implemented
68
69
};
// End class Parameter
70
71
}
// End namespace Wrapper
72
}
// End namespace otb
73
74
#endif
Generated at Sun Feb 3 2013 00:59:11 for
Orfeo Toolbox
with
doxygen 1.8.1.1