00001 /* 00002 Last changed Time-stamp: <2005-12-15 19:52:09 raim> 00003 $Id: variableIndex.h,v 1.9 2005/12/15 19:54:06 raimc Exp $ 00004 */ 00005 /* 00006 * 00007 * This library is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU Lesser General Public License as published 00009 * by the Free Software Foundation; either version 2.1 of the License, or 00010 * any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF 00014 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. The software and 00015 * documentation provided hereunder is on an "as is" basis, and the 00016 * authors have no obligations to provide maintenance, support, 00017 * updates, enhancements or modifications. In no event shall the 00018 * authors be liable to any party for direct, indirect, special, 00019 * incidental or consequential damages, including lost profits, arising 00020 * out of the use of this software and its documentation, even if the 00021 * authors have been advised of the possibility of such damage. See 00022 * the GNU Lesser General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU Lesser General Public License 00025 * along with this library; if not, write to the Free Software Foundation, 00026 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00027 * 00028 * The original code contained here was initially developed by: 00029 * 00030 * Andrew Finney 00031 * 00032 * Contributor(s): 00033 * Rainer Machne 00034 */ 00035 00036 #ifndef _VARIABLEINDEX_H_ 00037 #define _VARIABLEINDEX_H_ 00038 00040 typedef enum variableType 00041 { 00042 ODE_VARIABLE, 00043 ASSIGNMENT_VARIABLE, 00044 CONSTANT, 00045 ALGEBRAIC_VARIABLE 00046 } variableType_t; 00047 00049 struct variableIndex 00050 { 00051 variableType_t type; 00052 int type_index; 00053 int index ; 00054 } ; 00055 00056 #endif 00057 /* _VARIABLEINDEX_H_ */