Program Listing for File copyGraph.h

Program Listing for File copyGraph.h#

Return to documentation for file (src/midend/astDump/copyGraph.h)

#ifndef COPYGRAPH_H
#define COPYGRAPH_H

//#include "rose.h"
#include <set>
#include <string>

// Run this before copy
ROSE_DLL_API std::set<SgNode*> getAllNodes();
std::set<SgNode*> getAllNodes( SgNode* node );

// Run this after copy, using the data structure produced before
void graphNodesAfterCopy(const std::set<SgNode*>& nodesBeforeCopy, std::string filename);

#endif // COPYGRAPH_H