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
6e6525ca
Commit
6e6525ca
authored
13 years ago
by
Julien Malik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: further simplify wrapper interface
parent
20a44cd0
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
Code/Wrappers/SWIG/itkBase.i
+23
-23
23 additions, 23 deletions
Code/Wrappers/SWIG/itkBase.i
Code/Wrappers/SWIG/otbWrapperSWIGIncludes.h
+1
-1
1 addition, 1 deletion
Code/Wrappers/SWIG/otbWrapperSWIGIncludes.h
with
24 additions
and
24 deletions
Code/Wrappers/SWIG/itkBase.i
+
23
−
23
View file @
6e6525ca
...
@@ -96,15 +96,15 @@
...
@@ -96,15 +96,15 @@
class
itkLightObject
{
class
itkLightObject
{
public:
public:
static itkLightObject_Pointer New();
static itkLightObject_Pointer New();
virtual itkLightObject_Pointer CreateAnother() const;
//
virtual itkLightObject_Pointer CreateAnother() const;
virtual void Delete();
virtual void Delete();
virtual char const * GetNameOfClass() const;
virtual char const * GetNameOfClass() const;
void Print(std::ostream & os, itkIndent indent = 0) const;
void Print(std::ostream & os, itkIndent indent = 0) const;
static void BreakOnError();
//
static void BreakOnError();
virtual void Register() const;
//
virtual void Register() const;
virtual void UnRegister() const;
//
virtual void UnRegister() const;
virtual int GetReferenceCount() const;
//
virtual int GetReferenceCount() const;
virtual void SetReferenceCount(int arg0);
//
virtual void SetReferenceCount(int arg0);
private:
private:
itkLightObject(itkLightObject const & arg0);
itkLightObject(itkLightObject const & arg0);
void operator=(itkLightObject const & arg0);
void operator=(itkLightObject const & arg0);
...
@@ -122,24 +122,24 @@
...
@@ -122,24 +122,24 @@
static itkObject_Pointer New();
static itkObject_Pointer New();
virtual itkLightObject_Pointer CreateAnother() const;
virtual itkLightObject_Pointer CreateAnother() const;
virtual char const * GetNameOfClass() const;
virtual char const * GetNameOfClass() const;
virtual void DebugOn() const;
//
virtual void DebugOn() const;
virtual void DebugOff() const;
//
virtual void DebugOff() const;
bool GetDebug() const;
//
bool GetDebug() const;
void SetDebug(bool debugFlag) const;
//
void SetDebug(bool debugFlag) const;
virtual unsigned long GetMTime() const;
//
virtual unsigned long GetMTime() const;
virtual void Modified() const;
//
virtual void Modified() const;
virtual void Register() const;
//
virtual void Register() const;
virtual void UnRegister() const;
//
virtual void UnRegister() const;
virtual void SetReferenceCount(int arg0);
//
virtual void SetReferenceCount(int arg0);
static void SetGlobalWarningDisplay(bool flag);
//
static void SetGlobalWarningDisplay(bool flag);
static bool GetGlobalWarningDisplay();
//
static bool GetGlobalWarningDisplay();
static void GlobalWarningDisplayOn();
//
static void GlobalWarningDisplayOn();
static void GlobalWarningDisplayOff();
//
static void GlobalWarningDisplayOff();
unsigned long AddObserver(itkEventObject const & event, itkCommand * arg1);
unsigned long AddObserver(itkEventObject const & event, itkCommand * arg1);
unsigned long AddObserver(itkEventObject const & event, itkCommand * arg1) const;
//
unsigned long AddObserver(itkEventObject const & event, itkCommand * arg1) const;
itkCommand * GetCommand(unsigned long tag);
itkCommand * GetCommand(unsigned long tag);
void InvokeEvent(itkEventObject const & arg0);
//
void InvokeEvent(itkEventObject const & arg0);
void InvokeEvent(itkEventObject const & arg0) const;
//
void InvokeEvent(itkEventObject const & arg0) const;
void RemoveObserver(unsigned long tag);
void RemoveObserver(unsigned long tag);
void RemoveAllObservers();
void RemoveAllObservers();
bool HasObserver(itkEventObject const & event) const;
bool HasObserver(itkEventObject const & event) const;
...
@@ -218,7 +218,7 @@
...
@@ -218,7 +218,7 @@
public:
public:
virtual char const * GetNameOfClass() const;
virtual char const * GetNameOfClass() const;
virtual void Execute(itkObject * caller, itkEventObject const & event) = 0;
virtual void Execute(itkObject * caller, itkEventObject const & event) = 0;
virtual void Execute(itkObject const * caller, itkEventObject const & event) = 0;
//
virtual void Execute(itkObject const * caller, itkEventObject const & event) = 0;
private:
private:
itkCommand(itkCommand const & arg0);
itkCommand(itkCommand const & arg0);
void operator=(itkCommand const & arg0);
void operator=(itkCommand const & arg0);
...
...
This diff is collapsed.
Click to expand it.
Code/Wrappers/SWIG/otbWrapperSWIGIncludes.h
+
1
−
1
View file @
6e6525ca
...
@@ -34,6 +34,6 @@ typedef otb::Wrapper::Application Application;
...
@@ -34,6 +34,6 @@ typedef otb::Wrapper::Application Application;
typedef
otb
::
Wrapper
::
Application
::
Pointer
::
SmartPointer
Application_Pointer
;
typedef
otb
::
Wrapper
::
Application
::
Pointer
::
SmartPointer
Application_Pointer
;
typedef
otb
::
Wrapper
::
ApplicationRegistry
Registry
;
typedef
otb
::
Wrapper
::
ApplicationRegistry
Registry
;
typedef
otb
::
Wrapper
::
ApplicationRegistry
::
Pointer
::
SmartPointer
Registry_Pointer
;
#endif
#endif
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