Main Page | Namespace List | Class List | File List | Class Members | File Members

datafile.h

Go to the documentation of this file.
00001 //
00002 // C++ Interface: datafile
00003 //
00004 // Description: 
00005 //
00006 //
00007 // Author:  <martin@miles>, (C) 2004
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
00010 //
00011 //
00012 
00013 #ifndef __DATAFILE_H__
00014 #define __DATAFILE_H__
00015 
00016 #include <qstringlist.h>
00017 #include <datachannel.h>
00018 
00019 using namespace std;
00020 
00021 class DataFile {
00022 private:
00023   int m_iNumTimeSteps;
00024   int m_iNumData;
00025   QStringList m_slFileList;
00026 public:
00027   DataFile();
00028   ~DataFile();
00029   void ReadData(int iFileId, DataChannel* channel);
00030   QStringList& GetFileList();
00031   
00032   void SetFileName(QString& sFilename);
00033   
00034   int GetNumTimeSteps();
00035   int GetNumData();
00036 };
00037 
00038 #endif // __DATAFILE_H__

Generated on Fri Jun 18 18:53:15 2004 for PBC by doxygen 1.3.6