13 #ifndef mitkIFileReader_h
14 #define mitkIFileReader_h
73 virtual void SetInput(
const std::string &location) = 0;
84 virtual void SetInput(
const std::string &location, std::istream *is) = 0;
109 virtual std::vector<itk::SmartPointer<BaseData>>
Read() = 0;
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Key-value list holding instances of BaseProperty.
Provides the MITK_DECLARE_SERVICE_INTERFACE macro for registering C++ interfaces with both the CppMic...
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Declare a C++ interface for use with CppMicroServices (Qt not available).
Find image slices visible on a given plane.
Common interface for all MITK file readers and writers.
The common interface for all MITK file readers.
virtual void SetInput(const std::string &location)=0
Set the input file path.
virtual std::string GetInputLocation() const =0
Get the current input location.
virtual std::vector< std::string > GetReadFiles()=0
Get the list of files that were loaded during the last Read() call.
virtual DataStorage::SetOfObjects::Pointer Read(mitk::DataStorage &ds)=0
Read the specified file or input stream, loading its contents into the provided DataStorage.
virtual std::vector< itk::SmartPointer< BaseData > > Read()=0
Read the specified file or input stream and return its contents.
virtual void SetProperties(const PropertyList *properties)=0
Optionally provide base data properties as a source of meta data.
virtual std::istream * GetInputStream() const =0
Get the input stream.
virtual const PropertyList * GetProperties() const =0
Get the properties set via SetProperties().
virtual void SetInput(const std::string &location, std::istream *is)=0
Set an input stream to read from.