All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
event.h
Go to the documentation of this file.
1 #ifndef EVENT_H_INCLUDED_
2 #define EVENT_H_INCLUDED_
3 
4 #include <vector>
5 
6 #include "rose.h"
7 
8 #include "object.h"
9 
10 namespace risc {
11 
12 class Event: public Object {
13 
14 public:
15 
19  explicit Event(SgVariableDefinition *ast_node);
20 
25  virtual std::string get_ast_type_name();
26 
27 private:
31  Event(const Event &e);
32 };
33 
34 typedef std::vector<Event*> EventVector;
35 typedef std::vector<Event*>::iterator EventVectorIter;
36 typedef std::vector<Event*>::const_iterator EventVectorConstIter;
37 
38 }; // end namespace risc
39 
40 #endif /* EVENT_H_INCLUDED_ */
41 
42 
43 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
std::vector< Event * >::iterator EventVectorIter
Definition: event.h:35
Definition: object.h:10
Definition: event.h:12
virtual std::string get_ast_type_name()
Get function for the name of the ast type of the event.
Definition: event.cpp:9
std::vector< Event * > EventVector
Definition: class.h:32
Event(SgVariableDefinition *ast_node)
default constructor
Definition: event.cpp:3
std::vector< Event * >::const_iterator EventVectorConstIter
Definition: event.h:36