QGpCompatibility/CompatSrcHodochrone.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 COMPATSRCHODOCHRONE_H
00029 #define COMPATSRCHODOCHRONE_H
00030 
00031 #include <QGpCoreTools.h>
00032 #include <QGpCoreWave.h>
00033 #include "QGpCompatibilityDLLExport.h"
00034 
00035 namespace QGpCompatibility {
00036 
00037 /*
00038 class QGPCOMPATIBILITY_EXPORT CompatSrcHodochrone : public QVector<ArrivalTime>, public XMLClass
00039 {
00040   TRANSLATIONS( "CompatSrcHodochrone" );
00041 public:
00042   CompatSrcHodochrone() {}
00043   virtual ~CompatSrcHodochrone() {}
00044 
00045   void setNRec(int n) {resize(n);}
00046   int nRec() const {return count();}
00047 
00048   ArrivalTime& receiver(int iArr) {return operator[](iArr);}
00049   const ArrivalTime& receiver(int iArr) const {return operator[](iArr);}
00050 
00051   Point& source() {return _src;}
00052   double& distance(int iArr) {return receiver(iArr).distance();}
00053   double& time(int iArr) {return receiver(iArr).time();}
00054   double& timeDev(int iArr) {return receiver(iArr).timeDev();}
00055 
00056   QString& log() {return _log;}
00057 protected:
00058   QString _log;
00059   Point _src;
00060 protected:
00061   virtual const QString& xml_tagName() const {return xmlSrcHodochroneTag;}
00062   static const QString xmlSrcHodochroneTag;
00063   virtual void xml_writeChildren(XML_WRITECHILDREN_ARGS) const;
00064   virtual XMLMember xml_member(XML_MEMBER_ARGS);
00065   void xml_writeProperties(XML_WRITEPROPERTIES_ARGS) const;
00066   bool xml_setProperty(XML_SETPROPERTY_ARGS);
00067 };
00068 */
00069 
00070 } // namespace QGpCompatibility
00071 
00072 #endif // COMPATSRCHODOCHRONE_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines