Go to the documentation of this file.00001 #ifndef METHOD_H_INCLUDED_
00002 #define METHOD_H_INCLUDED_
00003
00004 #include <vector>
00005
00006 #include "rose.h"
00007 #include "function.h"
00008 #include "event.h"
00009
00010 namespace risc {
00011
00012 class Method: public Function {
00013
00014 public:
00015
00019 explicit Method(SgFunctionDefinition *ast_node);
00020
00021 EventVector static_sensitivity_list_;
00022
00026 void print_event_list();
00027
00028 private:
00032 Method(const Method &m);
00033 };
00034
00035 typedef std::vector<Method*> MethodVector;
00036 typedef std::vector<Method*>::iterator MethodVectorIter;
00037 typedef std::vector<Method*>::const_iterator MethodVectorConstIter;
00038
00039 };
00040
00041 #endif
00042
00043