IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interface defines the function CanReadFile(). This interface allows the target (object) the access to the adaptee (IO process object). More...
#include <mitkIOAdapter.h>
Public Types | |
typedef IOAdapter | Self |
typedef itk::SmartPointer< Self > | Pointer |
Public Member Functions | |
itkFactorylessNewMacro (Self) | |
mitk::BaseProcess::Pointer | CreateIOProcessObject (const std::string filename, const std::string filePrefix, const std::string filePattern) |
Create an object and return a pointer to it as a mitk::BaseProcess. | |
virtual bool | CanReadFile (const std::string filename, const std::string filePrefix, const std::string filePattern) |
Protected Member Functions | |
IOAdapter () | |
~IOAdapter () |
IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interface defines the function CanReadFile(). This interface allows the target (object) the access to the adaptee (IO process object).
Definition at line 59 of file mitkIOAdapter.h.
typedef itk::SmartPointer<Self> mitk::IOAdapter< T >::Pointer |
Reimplemented from mitk::IOAdapterBase.
Definition at line 64 of file mitkIOAdapter.h.
typedef IOAdapter mitk::IOAdapter< T >::Self |
Standard class typedefs.
Reimplemented from mitk::IOAdapterBase.
Definition at line 63 of file mitkIOAdapter.h.
mitk::IOAdapter< T >::IOAdapter | ( | ) | [inline, protected] |
Definition at line 83 of file mitkIOAdapter.h.
{}
mitk::IOAdapter< T >::~IOAdapter | ( | ) | [inline, protected] |
Definition at line 84 of file mitkIOAdapter.h.
{}
virtual bool mitk::IOAdapter< T >::CanReadFile | ( | const std::string | filename, |
const std::string | filePrefix, | ||
const std::string | filePattern | ||
) | [inline, virtual] |
Implements mitk::IOAdapterBase.
Definition at line 77 of file mitkIOAdapter.h.
{ return T::CanReadFile(filename, filePrefix, filePattern); }
mitk::BaseProcess::Pointer mitk::IOAdapter< T >::CreateIOProcessObject | ( | const std::string | filename, |
const std::string | filePrefix, | ||
const std::string | filePattern | ||
) | [inline, virtual] |
Create an object and return a pointer to it as a mitk::BaseProcess.
Implements mitk::IOAdapterBase.
Definition at line 68 of file mitkIOAdapter.h.
{ typename T::Pointer ioProcessObject = T::New(); ioProcessObject->SetFileName(filename.c_str()); ioProcessObject->SetFilePrefix(filePrefix.c_str()); ioProcessObject->SetFilePattern(filePattern.c_str()); return ioProcessObject.GetPointer(); }
mitk::IOAdapter< T >::itkFactorylessNewMacro | ( | Self | ) |
Methods from mitk::BaseProcess.