1 2 /////////////////////////////////////////////////////////// 3 // // 4 // SAGA // 5 // // 6 // System for Automated Geoscientific Analyses // 7 // // 8 // Tool Library // 9 // RivFlow // 10 // // 11 //-------------------------------------------------------// 12 // // 13 // GridComb.h // 14 // // 15 // Copyright (C) 2014 by // 16 // Christian Alwardt // 17 // // 18 //-------------------------------------------------------// 19 // // 20 // This file is part of 'SAGA - System for Automated // 21 // Geoscientific Analyses'. SAGA is free software; you // 22 // can redistribute it and/or modify it under the terms // 23 // of the GNU General Public License as published by the // 24 // Free Software Foundation, either version 2 of the // 25 // License, or (at your option) any later version. // 26 // // 27 // SAGA is distributed in the hope that it will be // 28 // useful, but WITHOUT ANY WARRANTY; without even the // 29 // implied warranty of MERCHANTABILITY or FITNESS FOR A // 30 // PARTICULAR PURPOSE. See the GNU General Public // 31 // License for more details. // 32 // // 33 // You should have received a copy of the GNU General // 34 // Public License along with this program; if not, // 35 // write to the Free Software Foundation, Inc., // 36 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, // 37 // USA. // 38 // // 39 //-------------------------------------------------------// 40 // // 41 // e-mail: alwardt@ifsh.de // 42 // // 43 // contact: Christian Alwardt // 44 // Institute for Peace Research // 45 // and Security Policy (IFSH) // 46 // University of Hamburg // 47 // Germany // 48 // // 49 /////////////////////////////////////////////////////////// 50 51 /////////////////////////////////////////////////////////// 52 // // 53 // RivTool 0.1 // 54 // // 55 /////////////////////////////////////////////////////////// 56 57 //--------------------------------------------------------- 58 #ifndef HEADER_INCLUDED__GridComb_H 59 #define HEADER_INCLUDED__GridComb_H 60 61 //--------------------------------------------------------- 62 #include <saga_api/saga_api.h> 63 64 //--------------------------------------------------------- 65 //######################################################### 66 67 class CGridComb : public CSG_Tool_Grid 68 { 69 public: ////// public members and functions: ////////////// 70 71 CGridComb(void); // constructor 72 73 74 protected: /// protected members and functions: /////////// 75 76 virtual bool On_Execute (void); // always overwrite this function 77 78 79 private: ///// private members and functions: ///////////// 80 81 int sY, eY; 82 int NX, NY; 83 int m_pFvA; //Auswahlplatzhalter ob Wasserentnahme oder Wassernutzung ber�cksichtigt werden soll 84 85 CSG_String m_pDataFolder; 86 CSG_String SPath; 87 88 CSG_Grid *m_pRefGrid; 89 CSG_Grid *m_pGridComb; 90 CSG_Grid *m_pDomW; 91 CSG_Grid *m_pElecW; 92 CSG_Grid *m_pLiveW; 93 CSG_Grid *m_pManW; 94 CSG_Grid *m_pIrrW; 95 96 bool SaveParameters(); 97 98 }; 99 100 101 /////////////////////////////////////////////////////////// 102 // // 103 // // 104 // // 105 /////////////////////////////////////////////////////////// 106 107 //--------------------------------------------------------- 108 #endif // #ifndef HEADER_INCLUDED__GridComb_H 109