Go to the documentation of this file.00001 #ifndef FUNCTION_H_INCLUDED_
00002 #define FUNCTION_H_INCLUDED_
00003
00004 #include <vector>
00005 #include <string>
00006
00007 #include "rose.h"
00008
00009 #include "definition.h"
00010
00011 namespace risc {
00012
00013 class Function: public Definition {
00014
00015 public:
00016
00020 explicit Function(SgFunctionDefinition *ast_node);
00021
00026 SgFunctionDefinition* get_ast_node();
00027
00031 virtual std::string get_ast_type_name();
00032
00036 std::string get_name();
00037
00038 private:
00042 Function(const Function &f);
00043 };
00044
00045 typedef std::vector<Function*> FunctionVector;
00046 typedef std::vector<Function*>::iterator FunctionVectorIter;
00047 typedef std::vector<Function*>::const_iterator FunctionVectorConstIter;
00048
00049 };
00050
00051 #endif
00052
00053