1 #ifndef ROSE_ANALYSIS_DEBUGGING_UTILS_H
2 #define ROSE_ANALYSIS_DEBUGGING_UTILS_H
14 virtual std::string
str(std::string indent=
"")=0;
23 virtual std::string
toDOT(std::string graphName)=0;
78 virtual std::streamsize
xsputn(
const char * s, std::streamsize n);
122 void exitFunc(std::string funcName);
126 std::string
addImage(std::string ext=
".gif");
136 std::string
addDOT(std::string dot);
138 void addDOT(std::string imgFName, std::string graphName, std::string dot, std::ostream& ret);
145 void init(std::string title, std::string workDir, std::string fName=
"debug");
149 void exitFunc(std::string funcName);
153 std::string
addImage(std::string ext=
".gif");
165 std::string
addDOT(std::string dot);
170 std::string
escape(std::string s);