Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::BaseDataIO Class Reference

BaseDataIO creates instances of BaseData objects using an object factory. More...

#include <mitkBaseDataIOFactory.h>

Inheritance diagram for mitk::BaseDataIO:
Collaboration diagram for mitk::BaseDataIO:

Public Types

typedef BaseDataIO Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual const char * GetClassName () const
 

Static Public Member Functions

static std::vector< mitk::BaseData::PointerLoadBaseDataFromFile (const std::string path, const std::string filePrefix, const std::string filePattern, bool series)
 

Protected Member Functions

 BaseDataIO ()
 
 ~BaseDataIO ()
 

Detailed Description

BaseDataIO creates instances of BaseData objects using an object factory.

Deprecated:
(as of 2014_10) Use mitk::IOUtils or mitk::FileReaderRegistry instead.

Definition at line 34 of file mitkBaseDataIOFactory.h.

Member Typedef Documentation

Standard class typedefs.

Definition at line 38 of file mitkBaseDataIOFactory.h.

typedef itk::Object mitk::BaseDataIO::Superclass

Definition at line 39 of file mitkBaseDataIOFactory.h.

Constructor & Destructor Documentation

mitk::BaseDataIO::BaseDataIO ( )
protected
mitk::BaseDataIO::~BaseDataIO ( )
protected

Member Function Documentation

virtual const char* mitk::BaseDataIO::GetClassName ( ) const
virtual

Class Methods used to interface with the registered factories Run-time type information (and related methods).

std::vector< BaseData::Pointer > mitk::BaseDataIO::LoadBaseDataFromFile ( const std::string  path,
const std::string  filePrefix,
const std::string  filePattern,
bool  series 
)
static

Create the appropriate BaseData depending on the particulars of the file.

Definition at line 27 of file mitkBaseDataIOFactory.cpp.

References mitk::IOUtil::Load().

Referenced by mitk::CollectionReader::FolderToCollection(), mitk::DataNodeFactory::GenerateData(), and mitk::CollectionReader::StartElement().


The documentation for this class was generated from the following files: