ROSE 0.11.145.192
Public Types | Public Member Functions | Public Attributes | List of all members
legacy::SageInserter< SageSequenceContainer > Struct Template Reference

Description

template<class SageSequenceContainer>
struct legacy::SageInserter< SageSequenceContainer >

Generic inserter for sage containers.

Template Parameters
SageSequenceContainer,asage container that supports appending an element

forwards actual insert to function family _append

Definition at line 113 of file sageFunctors.h.

#include <sageInterface/sageFunctors.h>

Inheritance diagram for legacy::SageInserter< SageSequenceContainer >:
Inheritance graph
[legend]
Collaboration diagram for legacy::SageInserter< SageSequenceContainer >:
Collaboration graph
[legend]

Public Types

typedef SageSequenceContainer Container
 

Public Member Functions

 SageInserter (Container &cont)
 
template<class SageElem >
SageInserteroperator= (SageElem *elem)
 
SageInserteroperator* ()
 
SageInserteroperator++ ()
 
SageInserteroperator++ (int)
 

Public Attributes

Container & container
 

Member Typedef Documentation

◆ Container

template<class SageSequenceContainer >
typedef SageSequenceContainer legacy::SageInserter< SageSequenceContainer >::Container

Definition at line 115 of file sageFunctors.h.

Constructor & Destructor Documentation

◆ SageInserter()

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

Definition at line 120 of file sageFunctors.h.

Member Function Documentation

◆ operator=()

template<class SageSequenceContainer >
template<class SageElem >
SageInserter & legacy::SageInserter< SageSequenceContainer >::operator= ( SageElem *  elem)
inline

Definition at line 126 of file sageFunctors.h.

◆ operator*()

template<class SageSequenceContainer >
SageInserter & legacy::SageInserter< SageSequenceContainer >::operator* ( )
inline

Definition at line 132 of file sageFunctors.h.

◆ operator++() [1/2]

template<class SageSequenceContainer >
SageInserter & legacy::SageInserter< SageSequenceContainer >::operator++ ( )
inline

Definition at line 133 of file sageFunctors.h.

◆ operator++() [2/2]

template<class SageSequenceContainer >
SageInserter & legacy::SageInserter< SageSequenceContainer >::operator++ ( int  )
inline

Definition at line 134 of file sageFunctors.h.

Member Data Documentation

◆ container

template<class SageSequenceContainer >
Container& legacy::SageInserter< SageSequenceContainer >::container

Definition at line 117 of file sageFunctors.h.


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