00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CLIPSGLOBAL_H
00021 #define CLIPSGLOBAL_H
00022
00023 #include <clipsmm/value.h>
00024 #include <clipsmm/environmentobject.h>
00025
00026 namespace CLIPS {
00027
00031 class Global : public EnvironmentObject
00032 {
00033 public:
00034 typedef CLIPSPointer<Global> pointer;
00035
00036 Global( Environment& environment, void* cobj = NULL );
00037
00038 static Global::pointer create( Environment& environment, void* cobj = NULL );
00039
00040 ~Global();
00041
00042 std::string name();
00043
00044 std::string formatted();
00045
00046 std::string module_name();
00047
00048 Values value();
00049
00050 void set_value( const Values& values );
00051
00052 void reset_value();
00053
00054
00055
00056 bool is_watched();
00057
00058 void set_watch( bool watch=true );
00059
00060 bool is_deletable();
00061
00062 Global::pointer next();
00063
00064 bool undefine();
00065
00066 };
00067
00068 }
00069
00070 #endif