/[ascend]/trunk/pygtk/variable.h
ViewVC logotype

Contents of /trunk/pygtk/variable.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 237 - (show annotations) (download) (as text)
Mon Jan 30 06:10:26 2006 UTC (14 years, 5 months ago) by johnpye
Original Path: trunk/pygtk/interface/variable.h
File MIME type: text/x-chdr
File size: 609 byte(s)
Incidence matrix now reports the mouseover-ed variable on the console
1 #ifndef SWIG_VARIABLE_H
2 #define SWIG_VARIABLE_H
3
4 #include <string>
5
6 #include "simulation.h"
7
8 extern "C"{
9 #include <utilities/ascConfig.h>
10 #include <solver/slv_types.h>
11 #include <solver/var.h>
12 }
13
14 /**
15 This is a wrapper for the var_variable type in ASCEND. This
16 type is used in reporting the variables in an instance, including
17 when looking for 'eligible' variables which can be fixed.
18 */
19 class Variable{
20 private:
21 Simulation *sim;
22 struct var_variable *var;
23
24 public:
25 Variable();
26 Variable(const Variable &old);
27 Variable(Simulation *sim, var_variable *var);
28
29 const std::string getName() const;
30 };
31
32 #endif

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22