openModeller
Version 1.4.0
|
00001 /* ************************************** 00002 * GARP Modeling Package 00003 * 00004 * ************************************** 00005 * 00006 * Copyright (c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA. 00007 * Copyright (C), David R.B. Stockwell of Symbiotik Pty. Ltd. 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the license that is distributed with the software. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * license.txt file included with this software for more details. 00016 */ 00017 00018 // ============================================================================ 00019 // EnvCell.h: interface for the EnvCell class. 00020 // 00021 // ============================================================================ 00022 00023 #ifndef __ENVCELL_H__ 00024 #define __ENVCELL_H__ 00025 00026 #include "Utilities.h" 00027 00028 class EnvCell 00029 { 00030 public: 00031 int intCount; 00032 BYTE * values; 00033 00034 // coordinates 00035 int intPos; 00036 double x, y; 00037 00038 public: 00039 00040 EnvCell(); 00041 EnvCell(int ct, BYTE * val); 00042 EnvCell(int ct, BYTE * val, int pos, double x, double y); 00043 virtual ~EnvCell(); 00044 00045 void setSize(int newSize); 00046 int size(); 00047 void setValues(BYTE * newValues); 00048 BYTE * getValues(); 00049 00050 char * toXML(); 00051 00052 bool operator==(EnvCell oCell); 00053 bool operator!=(EnvCell oCell); 00054 }; 00055 00056 // ============================================================================ 00057 #endif // __ENVCELL_H__ 00058