ROSE 0.11.145.192
Classes | Functions
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  legacy::ScopeSetter
 Functor setting the scope of a sage node to a specified (at Functor construction time) scope. More...
 
struct  legacy::VarRefBuilder
 Functor building a variable reference from an initialized name. More...
 
struct  legacy::InitNameCloner
 Functor copying an initialized name into a different scope. More...
 
struct  legacy::SageInserter< SageSequenceContainer >
 Generic inserter for sage containers. More...
 

Functions

template<class SageSequenceContainer >
SageInserter< SageSequenceContainer > legacy::sage_inserter (SageSequenceContainer &cont)
 generates a SageInserter, adding elements at the end of a sequence
 

Detailed Description

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

Definition in file sageFunctors.h.

Function Documentation

◆ sage_inserter()

template<class SageSequenceContainer >
SageInserter< SageSequenceContainer > legacy::sage_inserter ( SageSequenceContainer &  cont)

generates a SageInserter, adding elements at the end of a sequence

Template Parameters
SageSequenceContainer,asage container that supports appending an element

Definition at line 141 of file sageFunctors.h.

References legacy::sage_inserter().

Referenced by legacy::sage_inserter().