Interface class of readers that read from files.
More...
#include <mitkFileReader.h>
|
virtual std::vector< std::string > | GetClassHierarchy () const |
|
| itkTypeMacroNoParent (FileReader) virtual const char *GetFileName() const =0 |
| Get the specified the file to load. More...
|
|
virtual void | SetFileName (const char *aFileName)=0 |
| Specify the file to load. More...
|
|
virtual const char * | GetFilePrefix () const =0 |
| Get the specified file prefix for the file(s) to load. More...
|
|
virtual void | SetFilePrefix (const char *aFilePrefix)=0 |
| Specify file prefix for the file(s) to load. More...
|
|
virtual const char * | GetFilePattern () const =0 |
| Get the specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number. More...
|
|
virtual void | SetFilePattern (const char *aFilePattern)=0 |
| Specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number. More...
|
|
virtual bool | CanReadFromMemory () |
| Specifies, whether the file reader also can read a file from a memory buffer. More...
|
|
virtual void | SetReadFromMemory (bool read) |
| Set/Get functions to advise the file reader to use a memory array for reading a file. More...
|
|
virtual bool | GetReadFromMemory () |
|
virtual void | SetMemoryBuffer (const char *dataArray, unsigned int size) |
| To be used along with a call of SetReadFromMemory(true). This sets the memory buffer and the size from which the reader will read. More...
|
|
Interface class of readers that read from files.
- Deprecated:
- (as of 2014_10) Use mitk::IFileReader instead.
Definition at line 25 of file mitkFileReader.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ FileReader()
mitk::FileReader::FileReader |
( |
| ) |
|
|
protected |
◆ ~FileReader()
virtual mitk::FileReader::~FileReader |
( |
| ) |
|
|
protectedvirtual |
◆ CanReadFromMemory()
virtual bool mitk::FileReader::CanReadFromMemory |
( |
| ) |
|
|
virtual |
Specifies, whether the file reader also can read a file from a memory buffer.
◆ GetClassHierarchy()
virtual std::vector<std::string> mitk::FileReader::GetClassHierarchy |
( |
| ) |
const |
|
inlinevirtual |
◆ GetFilePattern()
virtual const char* mitk::FileReader::GetFilePattern |
( |
| ) |
const |
|
pure virtual |
◆ GetFilePrefix()
virtual const char* mitk::FileReader::GetFilePrefix |
( |
| ) |
const |
|
pure virtual |
◆ GetReadFromMemory()
virtual bool mitk::FileReader::GetReadFromMemory |
( |
| ) |
|
|
virtual |
◆ GetStaticNameOfClass()
static const char* mitk::FileReader::GetStaticNameOfClass |
( |
| ) |
|
|
inlinestatic |
◆ itkTypeMacroNoParent()
mitk::FileReader::itkTypeMacroNoParent |
( |
FileReader |
| ) |
const |
|
pure virtual |
Get the specified the file to load.
Either the FileName or FilePrefix plus FilePattern are used to read.
◆ SetFileName()
virtual void mitk::FileReader::SetFileName |
( |
const char * |
aFileName | ) |
|
|
pure virtual |
◆ SetFilePattern()
virtual void mitk::FileReader::SetFilePattern |
( |
const char * |
aFilePattern | ) |
|
|
pure virtual |
◆ SetFilePrefix()
virtual void mitk::FileReader::SetFilePrefix |
( |
const char * |
aFilePrefix | ) |
|
|
pure virtual |
◆ SetMemoryBuffer()
virtual void mitk::FileReader::SetMemoryBuffer |
( |
const char * |
dataArray, |
|
|
unsigned int |
size |
|
) |
| |
|
virtual |
To be used along with a call of SetReadFromMemory(true). This sets the memory buffer and the size from which the reader will read.
◆ SetReadFromMemory()
virtual void mitk::FileReader::SetReadFromMemory |
( |
bool |
read | ) |
|
|
virtual |
Set/Get functions to advise the file reader to use a memory array for reading a file.
◆ m_CanReadFromMemory
bool mitk::FileReader::m_CanReadFromMemory |
|
protected |
◆ m_MemoryBuffer
const char* mitk::FileReader::m_MemoryBuffer |
|
protected |
◆ m_MemorySize
unsigned int mitk::FileReader::m_MemorySize |
|
protected |
◆ m_ReadFromMemory
bool mitk::FileReader::m_ReadFromMemory |
|
protected |
The documentation for this class was generated from the following file: