X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FBaseProcessObjects.h;h=a120b8446398233ca6a964161fb9ce0c2cc7b79d;hb=de874ea850042e77a99a456188f423c8df2e374f;hp=d76d8b6a548f857af187d4bce61a8f993c84feed;hpb=d1d816d1eaf980d5cd266798b8f7a0bbb089a383;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/BaseProcessObjects.h b/lib/cpPlugins/Interface/BaseProcessObjects.h index d76d8b6..a120b84 100644 --- a/lib/cpPlugins/Interface/BaseProcessObjects.h +++ b/lib/cpPlugins/Interface/BaseProcessObjects.h @@ -5,32 +5,29 @@ #include // ------------------------------------------------------------------------- -#define cpPlugins_Define_ProcessObject( O, S ) \ - class cpPlugins_Interface_EXPORT O \ - : public S \ - { \ - public: \ - typedef O Self; \ - typedef S Superclass; \ - typedef itk::SmartPointer< Self > Pointer; \ - typedef itk::SmartPointer< const Self > ConstPointer; \ - public: \ - itkTypeMacro( O, S ); \ - protected: \ - O( ); \ - virtual ~O( ); \ - private: \ - O( const Self& ); \ - Self& operator=( const Self& ); \ +#define cpPlugins_Define_ProcessObject( O, S ) \ + class cpPlugins_Interface_EXPORT O \ + : public S \ + { \ + public: \ + typedef O Self; \ + typedef S Superclass; \ + typedef itk::SmartPointer< Self > Pointer; \ + typedef itk::SmartPointer< const Self > ConstPointer; \ + public: \ + itkTypeMacro( O, S ); \ + cpPlugins_Id_Macro( cpPlugins::Interface::O, ProcessObject ); \ + protected: \ + O( ); \ + virtual ~O( ); \ + private: \ + O( const Self& ); \ + Self& operator=( const Self& ); \ } // ------------------------------------------------------------------------- #define cpPlugins_Code_ProcessObject( O ) \ - cpPlugins::Interface::O::O( ) : Superclass( ) \ - { \ - this->m_ClassName = "cpPlugins::Interface::#O"; \ - this->m_ClassCategory = "#O"; \ - } \ + cpPlugins::Interface::O::O( ) : Superclass( ) { } \ cpPlugins::Interface::O::~O( ) { } // ------------------------------------------------------------------------- @@ -51,7 +48,7 @@ // ------------------------------------------------------------------------- #define cpPlugins_ArrayVectorImage_Demangle( A, T, DI, DA, I, O, R, F ) \ if( ( O = I->GetITK< itk::VectorImage< A< T, DA >, DI > >( ) ) != NULL ) \ - R = this->F< itk::VectorImage< A< T, DA >, DI > >( O ) + r = this->F< itk::VectorImage< A< T, DA >, DI > >( O ) // ------------------------------------------------------------------------- #define cpPlugins_Image_Demangle_AllScalarTypes( D, I, O, R, F ) \