DataIO Class Reference
[Datasets]

The interface for data importer/exporters. More...

#include <data_io.h>

Inherited by AnalyzeDataIO.

Inheritance diagram for DataIO:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DataIO ()
virtual ~DataIO ()
virtual std::pair< dataset_pointer_type,
dataset_type
loadDataset (std::string filename, dataset_key_type dataset_key)=0
virtual void writeDataset (dataset_pointer_type dataset, std::string filename)=0

Detailed Description

The interface for data importer/exporters.

DataIO

Provides a method to load a dataset based on filename and a unique key to identify the loaded dataset in program as well as a method to store a loaded dataset to a certain filename.

A concrete implementation can be found in AnalyzeDataIO

See also:
AnalyzeDataIO
Author:
Tobias Gross (tobias.gross@imedgine.org)

Christian Koerner (christian.koerner@imedgine.org)

Alexander Lex (alexander.lex@imedgine.org)

Marc Streit (marc.streit@imedgine.org)

Martin Reininger (martin.reininger@imedgine.org)

Definition at line 44 of file data_io.h.


Constructor & Destructor Documentation

DataIO  )  [inline]
 

Constructor

Definition at line 52 of file data_io.h.

virtual ~DataIO  )  [inline, virtual]
 

Destructor

Definition at line 58 of file data_io.h.


Member Function Documentation

virtual std::pair<dataset_pointer_type, dataset_type> loadDataset std::string  filename,
dataset_key_type  dataset_key
[pure virtual]
 

The interface for loading datasets from a file

Parameters:
filename The file to read the dataset from
dataset_key The unique key the dataset will be identified with
Returns:
A pair of a pointer to the loaded dataset and the type of of the loaded dataset

Implemented in AnalyzeDataIO.

virtual void writeDataset dataset_pointer_type  dataset,
std::string  filename
[pure virtual]
 

The interface for writing datasets to a file

Parameters:
dataset The dataset to write
filename The file to write the dataset to

Implemented in AnalyzeDataIO.


The documentation for this class was generated from the following file:
Generated on Sun Aug 13 18:20:01 2006 for iMEDgine by  doxygen 1.4.6