ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sageFunctors.h File Reference

This file implements utility functors for using sage containers with STL functions: More...

#include "sageInterface.h"
#include "sageBuilder.h"
Include dependency graph for sageFunctors.h:

Go to the source code of this file.

Classes

struct  sg::ScopeSetter
 Functor setting the scope of a sage node to a specified (at Functor construction time) scope. More...
 
struct  sg::VarRefBuilder
 Functor building a variable reference from an initialized name. More...
 
struct  sg::InitNameCloner
 Functor copying an initialized name into a different scope. More...
 
struct  sg::SageInserter< SageSequenceContainer >
 Generic inserter for sage containers. More...
 

Namespaces

 sg
 

Constant Groups

 sg
 

Functions

template<class SageNode >
static SageNode * sg::cloneNode (const SageNode *n)
 returns a deep copy of a sage node More...
 
static void sg::_append (SgExprListExp &container, SgExpression *elem)
 unified interface for storing an element in a sage container More...
 
static void sg::_append (SgFunctionParameterList &container, SgInitializedName *elem)
 
template<class SageSequenceContainer >
SageInserter
< SageSequenceContainer > 
sg::sage_inserter (SageSequenceContainer &cont)
 generates a SageInserter, adding elements at the end of a sequence More...
 

Detailed Description

This file implements utility functors for using sage containers with STL functions:

  - ScopeSetter, VarRefBuilder, InitNameCloner, and SageInserter
    (a generic inserter for sage containers).

peter.nosp@m..pir.nosp@m.kelba.nosp@m.uer@.nosp@m.llnl..nosp@m.gov

Definition in file sageFunctors.h.