#ifndef __FPA__IO__UNIQUEVALUESCONTAINERWRITER__H__ #define __FPA__IO__UNIQUEVALUESCONTAINERWRITER__H__ #include #include namespace fpa { namespace IO { /** */ template< class T > class UniqueValuesContainerWriter : public itk::ProcessObject { public: typedef UniqueValuesContainerWriter Self; typedef itk::ProcessObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; typedef T TTree; public: itkNewMacro( Self ); itkTypeMacro( UniqueValuesContainerWriter, itkProcessObject ); itkGetConstMacro( FileName, std::string ); itkSetMacro( FileName, std::string ); public: void SetInput( const T* input ); T* GetInput( ); const T* GetInput( ) const; virtual void Update( ); protected: UniqueValuesContainerWriter( ); virtual ~UniqueValuesContainerWriter( ); virtual void GenerateData( ); private: // Purposely not implemented UniqueValuesContainerWriter( const Self& other ); Self& operator=( const Self& other ); protected: std::string m_FileName; }; } // ecapseman } // ecapseman #include #endif // __FPA__IO__UNIQUEVALUESCONTAINERWRITER__H__ // eof - $RCSfile$