QGpCompatibility/CompatRefractionSurvey.h
Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 **  This file is part of QGpCompatibility.
00004 **
00005 **  This file may be distributed and/or modified under the terms of the
00006 **  GNU General Public License version 2 or 3 as published by the Free
00007 **  Software Foundation and appearing in the file LICENSE.GPL included
00008 **  in the packaging of this file.
00009 **
00010 **  This file is distributed in the hope that it will be useful, but WITHOUT
00011 **  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 **  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
00013 **  more details.
00014 **
00015 **  You should have received a copy of the GNU General Public License
00016 **  along with this program. If not, see <http://www.gnu.org/licenses/>.
00017 **
00018 **  See http://www.geopsy.org for more information.
00019 **
00020 **  Created : 2004-11-02
00021 **  Authors:
00022 **    Marc Wathelet
00023 **    Marc Wathelet (ULg, Liège, Belgium)
00024 **    Marc Wathelet (LGIT, Grenoble, France)
00025 **
00026 ***************************************************************************/
00027 
00028 #ifndef COMPATREFRACTIONSURVEY_H
00029 #define COMPATREFRACTIONSURVEY_H
00030 
00031 #include <QGpCoreTools.h>
00032 #include "CompatSrcHodochrone.h"
00033 #include "QGpCompatibilityDLLExport.h"
00034 
00035 namespace QGpCompatibility {
00036 
00037 /*
00038 class QGPCOMPATIBILITY_EXPORT CompatRefractionSurvey : public QVector<CompatSrcHodochrone>, public XMLClass
00039 {
00040   TRANSLATIONS( "CompatRefractionSurvey" );
00041 public:
00042   CompatRefractionSurvey() {}
00043   virtual ~CompatRefractionSurvey() {}
00044 
00045   int nSrc() const {return count();}
00046   void setNSrc(int n) {resize(n);}
00047   
00048   CompatSrcHodochrone& hodochrone(int is) {return operator[](is);}
00049   const CompatSrcHodochrone& hodochrone(int is) const {return operator[](is);}
00050 protected:
00051   virtual const QString& xml_tagName() const {return xmlRefractionSurveyTag;}
00052   static const QString xmlRefractionSurveyTag;
00053   virtual void xml_writeChildren(XML_WRITECHILDREN_ARGS) const;
00054   virtual XMLMember xml_member(XML_MEMBER_ARGS);
00055 };
00056 
00057 QGPCOMPATIBILITY_EXPORT QDataStream& operator<< (QDataStream& s, const CompatRefractionSurvey& p);
00058 QGPCOMPATIBILITY_EXPORT QDataStream& operator>> (QDataStream& s, CompatRefractionSurvey& p);
00059 */
00060 
00061 } // namespace QGpCompatibility
00062 
00063 #endif // COMPATREFRACTIONSURVEY_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines