All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
method.h
Go to the documentation of this file.
1 #ifndef METHOD_H_INCLUDED_
2 #define METHOD_H_INCLUDED_
3 
4 #include <vector>
5 
6 #include "rose.h"
7 
8 #include "class.h"
9 #include "function.h"
10 
11 namespace risc {
12 
13 class Event;
14 class Port;
15 
16 typedef std::vector<Event*> EventVector;
17 typedef std::vector<Port*> PortVector;
18 
19 class Method: public Function {
20 
21 public:
22 
26  explicit Method(SgFunctionDefinition *ast_node, Class *parent);
27 
30 
34  void print_event_list();
35 
36 private:
40  Method(const Method &m);
41 };
42 
43 typedef std::vector<Method*> MethodVector;
44 typedef std::vector<Method*>::iterator MethodVectorIter;
45 typedef std::vector<Method*>::const_iterator MethodVectorConstIter;
46 
47 }; // end namespace risc
48 
49 #endif /* METHOD_H_INCLUDED_ */
50 
51 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
std::vector< Method * >::iterator MethodVectorIter
Definition: method.h:44
Definition: method.h:19
EventVector static_event_sensitivity_list_
Definition: method.h:28
Definition: class.h:53
std::vector< Method * >::const_iterator MethodVectorConstIter
Definition: method.h:45
std::vector< Method * > MethodVector
Definition: method.h:43
void print_event_list()
Prints the static event list of the method.
Definition: method.cpp:10
std::vector< Port * > PortVector
Definition: class.h:44
PortVector static_port_sensitivity_list_
Definition: method.h:29
Definition: function.h:14
std::vector< Event * > EventVector
Definition: class.h:32
Method(SgFunctionDefinition *ast_node, Class *parent)
Default constructor.
Definition: method.cpp:6