data_io.h

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //---------------------------------------------------
00012 
00013 #ifndef IMEDGINE_DATA_IO_H
00014 #define IMEDGINE_DATA_IO_H
00015 
00016 #include <string>
00017 #include "dataset.h"
00018 #include "../global/global_definitions.h"
00019 
00020 namespace imedgine
00021 {
00022 
00023   //--------------------------------------------------
00042   //---------------------------------------------------
00043 
00044   class DataIO
00045   {
00046   public:
00047     
00048     //--------------------------------------------------
00051     
00052     DataIO() {};
00053     
00054     //--------------------------------------------------
00057     
00058     virtual ~DataIO() {};
00059     
00060     //--------------------------------------------------
00067     
00068     virtual std::pair<dataset_pointer_type, dataset_type> loadDataset(
00069         std::string filename, dataset_key_type dataset_key) = 0;
00070     
00071     //--------------------------------------------------
00076     
00077     virtual void writeDataset(dataset_pointer_type dataset, std::string filename) = 0;
00078   };
00079 }
00080 
00081 #endif //IMEDGINE_DATA_IO_H
00082 

Generated on Sun Aug 13 18:19:38 2006 for iMEDgine by  doxygen 1.4.6