Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

omgclimatefilegroup.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           filegroup.h  -  description
00003                              -------------------
00004     begin                : Sat May 10 2003
00005     copyright            : (C) 2003 by Tim Sutton
00006     email                : t.sutton@reading.ac.uk
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef OMGCLIMATEFILEGROUP_H
00019 #define OMGCLIMATEFILEGROUP_H
00020 
00021 
00022 #include "omgclimatefilereader.h"
00023 #include <QVector>
00024 #include <QObject>
00025 
00032 class OMG_LIB_EXPORT  OmgClimateFileGroup : public QObject
00033 {
00034 Q_OBJECT;
00035 public:
00037     OmgClimateFileGroup();
00039     ~OmgClimateFileGroup();
00041     void close();
00043     bool add(OmgClimateFileReader *theReader) ;
00045     QVector<float> getElementVector();
00050     int fileCount();
00056     int elementCount();
00062     int xDim() {return mXDim;};
00068     int yDim() {return mYDim;};
00070     const bool isAtMatrixEnd();
00072     bool rewind();
00073 
00074 signals:
00075     void error(QString);
00076     void message (QString);
00077 
00078 private:
00080     typedef QVector <OmgClimateFileReader *> OmgClimateFileReaderVector;
00082     OmgClimateFileReaderVector  mReaderVector;
00088     int mElementCount;
00094     int mXDim;
00100     int mYDim;
00105     bool mEndOfMatrixFlag;
00106     
00107     
00108 };
00109 
00110 #endif

Generated on Mon Apr 28 15:08:12 2008 for openModellerDesktop by  doxygen 1.4.1-20050210