Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

FilterHDF5.h

Go to the documentation of this file.
00001 //LabPlot : FilterHDF5.h
00002 
00003 #ifndef FILTERHDF5_H
00004 #define FILTERHDF5_H
00005 
00006 #include <vector>
00007 #include <qstring.h>
00008 #include <qstringlist.h>
00009 #include "MainWin.h"
00010 
00011 #ifdef HAVE_HDF5
00012 #include <hdf5.h>
00013 #endif
00014 
00015 using namespace std;
00016 
00017 class FilterHDF5
00018 {
00019 public:
00020         FilterHDF5(QString filename=0);
00021         bool fileOK() { return fileok; }
00022         void importFile();
00023         int exportFile(MainWin *mw, bool all, int datatype, int order, int start, int end);
00024 #ifdef HAVE_HDF5
00025         int numGroups();
00026         int numSets();
00027         int numAttributes();
00028         int numSetAttributes(int set);
00029         // QString version() { return QString(nc_inq_libvers());}
00030         QString groupName(int set);
00031         QString datasetName(int set);
00032         QString columnName(int set, int col);
00033         double Data(int set, int row, int col);                
00034         int Rows(int set);
00035         int Cols(int set);
00036         QString getAttribute(int i);
00037         QString getSetAttribute(int set,int i);
00038 #endif
00039 protected:
00040 private:
00041         bool fileok;                    // is a hdf5 file and is readable
00042         QString filename;
00043 };
00044 
00045 #endif //FILTERHDF5_H

Generated on Sat Oct 13 21:55:01 2007 for LabPlot by  doxygen 1.4.4