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
Julien Cabieces
otb
Commits
28639b65
Commit
28639b65
authored
7 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
ENH: two boolean constants
parent
f860368f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Core/Common/include/otbUtils.h
+3
-0
3 additions, 0 deletions
Modules/Core/Common/include/otbUtils.h
Modules/Core/Common/src/otbUtils.cxx
+4
-0
4 additions, 0 deletions
Modules/Core/Common/src/otbUtils.cxx
with
7 additions
and
0 deletions
Modules/Core/Common/include/otbUtils.h
+
3
−
0
View file @
28639b65
...
...
@@ -51,6 +51,9 @@ namespace Utils
/** Function that prints nothing (useful to disable libsvm logs)*/
void
OTBCommon_EXPORT
PrintNothing
(
const
char
*
s
);
extern
OTBCommon_EXPORT
bool
const
TrueConstant
;
extern
OTBCommon_EXPORT
bool
const
FalseConstant
;
}
}
// namespace otb
...
...
This diff is collapsed.
Click to expand it.
Modules/Core/Common/src/otbUtils.cxx
+
4
−
0
View file @
28639b65
...
...
@@ -41,6 +41,10 @@ void PrintNothing(const char * /* s */)
{
}
bool
const
TrueConstant
=
true
;
bool
const
FalseConstant
=
false
;
}
}
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