]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseObjects/ProcessObject.h
...
[cpPlugins.git] / lib / cpPlugins / BaseObjects / ProcessObject.h
index 8d7536c4b75ea3145904ea61a6c7450d60b5190c..dbc822b7cc9031890cb6268657922b7c8609b933 100644 (file)
@@ -59,34 +59,35 @@ namespace cpPlugins
       unsigned int GetNumberOfInputs( ) const;
       unsigned int GetNumberOfOutputs( ) const;
       unsigned int GetInputSize( const std::string& n ) const;
+      bool IsInputMultiple( const std::string& n ) const;
 
       template< class _TType = DataObject >
-        _TType* GetInput( const std::string& n, unsigned int i = 0 );
+      inline _TType* GetInput( const std::string& n, unsigned int i = 0 );
 
       template< class _TType = DataObject >
-        const _TType* GetInput(
-          const std::string& n, unsigned int i = 0
-          ) const;
+      inline const _TType* GetInput(
+        const std::string& n, unsigned int i = 0
+        ) const;
 
       template< class _TType = itk::LightObject >
-        _TType* GetInputData( const std::string& n, unsigned int i = 0 );
+      inline _TType* GetInputData( const std::string& n, unsigned int i = 0 );
 
       template< class _TType = itk::LightObject >
-        const _TType* GetInputData(
-          const std::string& n, unsigned int i = 0
-          ) const;
+      inline const _TType* GetInputData(
+        const std::string& n, unsigned int i = 0
+        ) const;
 
       template< class _TType = DataObject >
-        _TType* GetOutput( const std::string& n );
+      inline _TType* GetOutput( const std::string& n );
 
       template< class _TType = DataObject >
-        const _TType* GetOutput( const std::string& n ) const;
+      inline const _TType* GetOutput( const std::string& n ) const;
 
       template< class _TType = itk::LightObject >
-        _TType* GetOutputData( const std::string& n );
+      inline _TType* GetOutputData( const std::string& n );
 
       template< class _TType = itk::LightObject >
-        const _TType* GetOutputData( const std::string& n ) const;
+      inline const _TType* GetOutputData( const std::string& n ) const;
 
       // "Setters"
       virtual void AddInput( const std::string& n, DataObject* o );
@@ -116,18 +117,18 @@ namespace cpPlugins
 
       // For configuration purposes
       template< class _TType = DataObject >
-        void _ConfigureInput(
-          const std::string& name, bool required, bool multiple
-          );
+      inline void _ConfigureInput(
+        const std::string& name, bool required, bool multiple
+        );
 
       template< class _TType = DataObject >
-        void _ConfigureOutput( const std::string& name );
+      inline void _ConfigureOutput( const std::string& name );
 
       template< class _TFilter >
-        _TFilter* _CreateITK( );
+      inline _TFilter* _CreateITK( );
 
       template< class _TFilter >
-        _TFilter* _CreateVTK( );
+      inline _TFilter* _CreateVTK( );
 
       virtual void _GenerateData( ) = 0;