ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SgCapturingCopy< CopyType > Class Template Reference

Supporting template class for "capturing" copies of the AST. More...

#include <Cxx_Grammar.h>

Inheritance diagram for SgCapturingCopy< CopyType >:
Collaboration diagram for SgCapturingCopy< CopyType >:

Public Member Functions

 SgCapturingCopy (std::vector< SgNode * > origList, const CopyType &base=CopyType())
 
virtual ~SgCapturingCopy ()
 
SgNodecopyAst (const SgNode *n)
 
const std::vector< SgNode * > & get_copyList ()
 

Protected Attributes

std::vector< SgNode * > origList
 
std::vector< SgNode * > copyList
 

Detailed Description

template<class CopyType>
class SgCapturingCopy< CopyType >

Supporting template class for "capturing" copies of the AST.

This class allows for retrieval of the clone of arbitrary source nodes underneath the copied node.

Definition at line 7891 of file Cxx_Grammar.h.

Constructor & Destructor Documentation

template<class CopyType >
SgCapturingCopy< CopyType >::SgCapturingCopy ( std::vector< SgNode * >  origList,
const CopyType &  base = CopyType() 
)
inline

Definition at line 7897 of file Cxx_Grammar.h.

template<class CopyType >
virtual SgCapturingCopy< CopyType >::~SgCapturingCopy ( )
inlinevirtual

Definition at line 7901 of file Cxx_Grammar.h.

Member Function Documentation

template<class CopyType >
SgNode* SgCapturingCopy< CopyType >::copyAst ( const SgNode n)
inline

Definition at line 7902 of file Cxx_Grammar.h.

References SgCapturingCopy< CopyType >::copyList.

template<class CopyType >
const std::vector<SgNode *>& SgCapturingCopy< CopyType >::get_copyList ( )
inline

Definition at line 7915 of file Cxx_Grammar.h.

References SgCapturingCopy< CopyType >::copyList.

Member Data Documentation

template<class CopyType >
std::vector<SgNode *> SgCapturingCopy< CopyType >::origList
protected

Definition at line 7894 of file Cxx_Grammar.h.

template<class CopyType >
std::vector<SgNode *> SgCapturingCopy< CopyType >::copyList
protected

The documentation for this class was generated from the following file: