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
9e2f09a7
Commit
9e2f09a7
authored
13 years ago
by
Otmane Lahlou
Browse files
Options
Downloads
Patches
Plain Diff
STYLE
parent
66fc64ed
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.h
+20
-9
20 additions, 9 deletions
Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.h
with
20 additions
and
9 deletions
Code/Wrappers/CommandLine/otbWrapperCommandLineLauncher.h
+
20
−
9
View file @
9e2f09a7
...
...
@@ -90,17 +90,19 @@ public:
/** Launch the process, using the Execute application method
* The method will check if the user asked for help (looking at
--help key) before loading parameter and launching process.
*
--help key) before loading parameter and launching process.
**/
bool
Execute
();
/** Launch the process, using the ExecuteAndWriteOutput application method
/** Launch the process, using the ExecuteAndWriteOutput application
* method
* The method will check if the user asked for help (looking at
--help key) before loading parameter and launching process.
*
--help key) before loading parameter and launching process.
*/
bool
ExecuteAndWriteOutput
();
/** Gather the code process to do before Execute and ExecuteAndWriteOutput
/** Gather the code process to do before Execute and
* ExecuteAndWriteOutput
* Returns false if a problem occurs, true otherwise.
*/
bool
BeforeExecute
();
...
...
@@ -117,18 +119,27 @@ protected:
/** Destructor */
virtual
~
CommandLineLauncher
();
/** Load the executable path. It looks for the key --modulePath, extract and interpret as path the following strings. */
/** Load the executable path. It looks for the key --modulePath,
* extract and interpret as path the following strings.
*/
bool
LoadPath
();
/** Load the application calling the CreateApplication method of the ApplicationRegistry classes.
* Pay attention, the executable paths have to be loaded or set in the environment before calling the function. */
/** Load the application calling the CreateApplication method of the
* ApplicationRegistry classes.
* Pay attention, the executable paths have to be loaded or set in
* the environment before calling the function.
*/
void
LoadApplication
();
/** Parse the user expression, extract the key and the associated string and set it as value of each corresonding application parameter. */
/** Parse the user expression, extract the key and the associated
* string and set it as value of each corresonding application
* parameter.
*/
CommandLineLauncher
::
ParamResultType
LoadParameters
();
/** Create and display the help of the application */
std
::
string
DisplayParameterHelp
(
const
Parameter
::
Pointer
&
param
,
const
std
::
string
paramKey
);
std
::
string
DisplayParameterHelp
(
const
Parameter
::
Pointer
&
param
,
const
std
::
string
paramKey
);
/** Check if each key is unique in the expression. */
bool
CheckUnicity
();
...
...
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