]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/ProcessObject.h
...
[cpPlugins.git] / lib / cpPlugins / ProcessObject.h
index 1f888a9db864f9efcdbba1e48e3cefdf1489a43d..1345e3b543bd150d158ff1d3a1a0fd12254794c5 100644 (file)
@@ -48,14 +48,18 @@ namespace cpPlugins
 
     DataObject* GetInput( const std::string& id );
     const DataObject* GetInput( const std::string& id ) const;
-    DataObject* GetOutput( const std::string& id );
-    const DataObject* GetOutput( const std::string& id ) const;
+
+    template< class _TType = DataObject >
+      inline _TType* GetOutput( const std::string& id );
+
+    template< class _TType = DataObject >
+      inline const _TType* GetOutput( const std::string& id ) const;
 
     template< class _TType >
-      _TType* GetInputData( const std::string& name );
+      inline _TType* GetInputData( const std::string& name );
 
     template< class _TType >
-      _TType* GetOutputData( const std::string& name );
+      inline _TType* GetOutputData( const std::string& name );
 
     bool SetInputPort( const std::string& id, const OutputPort& port );