]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/ProcessObject.cxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / ProcessObject.cxx
index 61eaf96e661763080ed48470bfabf069bca4e8b5..0f8f2885bfb9b9aac979ade6093decb6006b4b1c 100644 (file)
@@ -1,19 +1,5 @@
 #include <cpPlugins/Interface/ProcessObject.h>
 
-// -------------------------------------------------------------------------
-std::string cpPlugins::Interface::ProcessObject::
-GetClassName( ) const
-{
-  return( "cpPlugins::Interface::ProcessObject" );
-}
-
-// -------------------------------------------------------------------------
-std::string cpPlugins::Interface::ProcessObject::
-GetClassType( ) const
-{
-  return( "ProcessObject" );
-}
-
 // -------------------------------------------------------------------------
 const cpPlugins::Interface::Parameters&
 cpPlugins::Interface::ProcessObject::
@@ -121,6 +107,8 @@ cpPlugins::Interface::ProcessObject::
 ProcessObject( )
   : Superclass( )
 {
+  this->m_ClassName = "cpPlugins::Interface::ProcessObject";
+  this->m_ClassCategory = "BasicObject";
 }
 
 // -------------------------------------------------------------------------
@@ -129,23 +117,4 @@ cpPlugins::Interface::ProcessObject::
 {
 }
 
-// -------------------------------------------------------------------------
-itk::DataObject* cpPlugins::Interface::ProcessObject::
-_GetInput( unsigned int idx )
-{
-  if( idx < this->m_Inputs.size( ) )
-    return( this->m_Inputs[ idx ]->GetRealDataObject( ) );
-  else
-    return( NULL );
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::ProcessObject::
-_SetOutput( unsigned int idx, itk::DataObject* dobj )
-{
-  if( idx < this->m_Outputs.size( ) )
-    if( this->m_Outputs[ idx ].IsNotNull( ) )
-      this->m_Outputs[ idx ]->SetRealDataObject( dobj );
-}
-
 // eof - $RCSfile$