Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
ac8ada6f
Commit
ac8ada6f
authored
14 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add empty parameter
parent
e7029dde
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Core/otbWrapperEmptyParameter.h
+65
-0
65 additions, 0 deletions
Code/Core/otbWrapperEmptyParameter.h
Code/Core/otbWrapperStringParameter.h
+3
-2
3 additions, 2 deletions
Code/Core/otbWrapperStringParameter.h
with
68 additions
and
2 deletions
Code/Core/otbWrapperEmptyParameter.h
0 → 100644
+
65
−
0
View file @
ac8ada6f
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef __otbWrapperEmptyParameter_h
#define __otbWrapperEmptyParameter_h
#include
"otbWrapperParameter.h"
namespace
otb
{
namespace
Wrapper
{
/** \class EmptyParameter
* \brief This class represent an empty parameter for the wrapper framework (boolean value)
*/
class
EmptyParameter
:
public
Parameter
{
public:
/** Standard class typedef */
typedef
EmptyParameter
Self
;
typedef
itk
::
LightObject
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
const
Self
>
ConstPointer
;
/** Defining ::New() static method */
itkNewMacro
(
Self
);
/** RTTI support */
itkTypeMacro
(
EmptyParameter
,
Parameter
);
protected:
/** Constructor */
EmptyParameter
()
{}
/** Destructor */
~
EmptyParameter
()
{}
private
:
EmptyParameter
(
const
EmptyParameter
&
);
//purposely not implemented
void
operator
=
(
const
EmptyParameter
&
);
//purposely not implemented
};
// End class Parameter
}
// End namespace Wrapper
}
// End namespace otb
#endif
This diff is collapsed.
Click to expand it.
Code/Core/otbWrapperStringParameter.h
+
3
−
2
View file @
ac8ada6f
...
...
@@ -44,6 +44,7 @@ public:
/** RTTI support */
itkTypeMacro
(
StringParameter
,
Parameter
);
protected:
/** Constructor */
StringParameter
()
...
...
@@ -54,8 +55,8 @@ protected:
{}
private
:
StringParameter
(
const
Parameter
&
);
//purposely not implemented
void
operator
=
(
const
Parameter
&
);
//purposely not implemented
StringParameter
(
const
String
Parameter
&
);
//purposely not implemented
void
operator
=
(
const
String
Parameter
&
);
//purposely not implemented
std
::
string
m_Value
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment