00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 #ifndef __ACTION_LEVEL_H
00015 #define __ACTION_LEVEL_H
00016 
00017 #include <string>
00018 #include <map>
00019 #include <list>
00020 using namespace std;
00021 
00022 
00023 
00024 class action_level {
00025     int nr;
00026     class action *action;
00027     int level;
00028 public:
00029     action_level();
00030 
00031     
00032     const int getNr() const;
00033     void setNr(const int v);
00034     int operator<(const class action_level &ck) const;
00035 
00036     
00037     class action& getAction() const;
00038     void setAction(class action &v);
00039 
00040     
00041     const int getLevel() const;
00042     void setLevel(const int v);
00043 
00044     void save(class channel &ch);
00045     void load(class channel &ch);
00046     void xml(ofstream &f, int l=0, int r=0);
00047 };
00048 
00049 #endif // __ACTION_LEVEL_H