PPL Logo

xi::details::perElemGenC< T, U, A > Class Template Reference

Apply fn_ on each Construct in the list l, passing it arg as the target. More...

#include <xi-AstNode.h>

Collaboration diagram for xi::details::perElemGenC< T, U, A >:

Collaboration graph
[legend]

Public Member Functions

 perElemGenC (list< T * > &l, A arg_, void(U::*fn_)(A), void(*between_)(A)=NULL)
void operator() (T *m)

Private Attributes

void(U::* fn )(A)
void(* between )(A)
arg

Detailed Description

template<typename T, typename U, typename A>
class xi::details::perElemGenC< T, U, A >

Apply fn_ on each Construct in the list l, passing it arg as the target.

If between_ is passed, do that to arg between each element.

Definition at line 114 of file xi-AstNode.h.


Constructor & Destructor Documentation

template<typename T, typename U, typename A>
xi::details::perElemGenC< T, U, A >::perElemGenC ( list< T * > &  l,
arg_,
void(U::*)(A)  fn_,
void(*)(A)  between_ = NULL 
) [inline]

Definition at line 120 of file xi-AstNode.h.


Member Function Documentation

template<typename T, typename U, typename A>
void xi::details::perElemGenC< T, U, A >::operator() ( T *  m  )  [inline]

Definition at line 124 of file xi-AstNode.h.

References xi::details::perElemGenC< T, U, A >::between.


Field Documentation

template<typename T, typename U, typename A>
void(U::* xi::details::perElemGenC< T, U, A >::fn)(A) [private]

template<typename T, typename U, typename A>
void(* xi::details::perElemGenC< T, U, A >::between)(A) [private]

template<typename T, typename U, typename A>
A xi::details::perElemGenC< T, U, A >::arg [private]

Definition at line 117 of file xi-AstNode.h.


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

Generated on Mon Sep 21 08:36:04 2020 for Charm++ by  doxygen 1.5.5