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
92d17c59
Commit
92d17c59
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: [SWIG] wrap destructors for Java
parent
a1b68817
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Code/Wrappers/SWIG/Java.i
+2
-2
2 additions, 2 deletions
Code/Wrappers/SWIG/Java.i
Code/Wrappers/SWIG/itkBase.i
+15
-5
15 additions, 5 deletions
Code/Wrappers/SWIG/itkBase.i
Code/Wrappers/SWIG/otbApplication.i
+3
-3
3 additions, 3 deletions
Code/Wrappers/SWIG/otbApplication.i
with
20 additions
and
10 deletions
Code/Wrappers/SWIG/Java.i
+
2
−
2
View file @
92d17c59
...
...
@@ -61,7 +61,7 @@
void UnRegister();
protected:
}
;
/*
%extend itkClass {
public:
itkClass() {
...
...
@@ -75,7 +75,7 @@
self->UnRegister();
}
}
/*
%typemap(out) itkClass##_Pointer {
itkClass* ptrRaw = $1.GetPointer();
if (ptrRaw) {
...
...
This diff is collapsed.
Click to expand it.
Code/Wrappers/SWIG/itkBase.i
+
15
−
5
View file @
92d17c59
...
...
@@ -68,7 +68,9 @@ class itkIndent {
virtual void SetReferenceCount(int arg0);
protected:
itkLightObject();
//~itkLightObject();
#if SWIGJAVA
~itkLightObject();
#endif
}
;
DECLARE_REF_COUNT_CLASS
(
itkLightObject
)
...
...
@@ -100,7 +102,9 @@ class itkIndent {
void SetMetaDataDictionary(itkMetaDataDictionary const & rhs);
protected:
itkObject();
//~itkObject();
#if SWIGJAVA
~itkObject();
#endif
}
;
DECLARE_REF_COUNT_CLASS
(
itkObject
)
...
...
@@ -110,7 +114,9 @@ class itkIndent {
const float& GetProgress();
protected:
itkProcessObject();
//~itkProcessObject();
#if SWIGJAVA
~itkProcessObject();
#endif
}
;
DECLARE_REF_COUNT_CLASS
(
itkProcessObject
)
...
...
@@ -136,7 +142,9 @@ class itkIndent {
char const * GetLibraryPath();
protected:
itkObjectFactoryBase();
//~itkObjectFactoryBase();
#if SWIGJAVA
~itkObjectFactoryBase();
#endif
}
;
DECLARE_REF_COUNT_CLASS
(
itkObjectFactoryBase
)
...
...
@@ -156,7 +164,9 @@ class itkIndent {
virtual void Execute(itkObject * caller, itkEventObject const & event) = 0;
protected:
itkCommand();
//~itkCommand();
#if SWIGJAVA
~itkCommand();
#endif
}
;
DECLARE_REF_COUNT_CLASS
(
itkCommand
)
...
...
This diff is collapsed.
Click to expand it.
Code/Wrappers/SWIG/otbApplication.i
+
3
−
3
View file @
92d17c59
...
...
@@ -176,10 +176,10 @@ public:
protected:
Application();
//virtual ~Application();
#if SWIGJAVA
virtual ~Application();
#endif
private:
Application(const Application &);
void operator =(const Application&);
}
;
...
...
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