Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Search  

/home/mrm/Simex/src/se_formula.h

Go to the documentation of this file.
00001 #ifndef Se_Formula_Included
00002 #define Se_Formula_Included
00003 
00004 #include <gtk/gtk.h>
00005 
00006 #include "se_string.h"
00007 #include "se_object.h"
00008 #include "se_gtk_data_vector.h"
00009 #include "se_gtk_data.h"
00010 
00011 namespace Se{
00012 
00013 //declarations
00014 
00015 class Formula{
00016   
00017   Object *parent;
00018 
00019   String name;
00020   String formula;
00021 
00022   GtkWidget *my_name_input;
00023   GtkWidget *my_formula_input;
00024 
00025   Gtk_Data_Vector *my_data_vector; //used data
00026   Gtk_Data *my_data; //result
00027 
00028  public:
00029   //constructors
00030   Formula(String name, String formula,Object *parent/*,Data *the_data*/);
00031 
00032   //destructor
00033 
00034   //reset
00035 
00036   //equals
00037 
00038   //set
00039   void set_data(int i,String s);
00040 
00041   //get
00042 
00043   //display
00044 
00045   //operators
00046 
00047   //misc
00048   void build(int x,int y,GtkTable *table,bool is_name_editable);
00049   void new_input();
00050   void update();
00051 
00052   //callbacks
00053   static void name_input_callback(GtkWidget *widget,gpointer data);
00054   static void formula_input_callback(GtkWidget *widget,gpointer data);
00055   
00056   //friends
00057 
00058 };
00059 
00060 //string operator
00061 
00062 //other operators
00063   
00064 }
00065 #endif

Generated on Sat Jul 19 04:01:26 2003 for SIMEX by doxygen1.2.18