Grid 0.7.0
ActionLevel< Field, Repr > Struct Template Reference

#include <ActionSet.h>

Public Types

typedef Action< Field > * ActPtr
typedef AccessTypes< Action, Repr >::VectorCollection action_collection
typedef AccessTypes< Action, Repr >::FieldTypeCollection action_hirep_types

Public Member Functions

 ActionLevel (unsigned int mul=1)
template<class GenField>
void push_back (Action< GenField > *ptr)
template<std::size_t I = 1, typename Callable, typename ... Args>
std::enable_if< I==std::tuple_size< action_collection >::value, void >::type apply (Callable, Repr &R, Args &...) const

Static Public Member Functions

template<class ActPtr>
static void resize (ActPtr ap, unsigned int n)

Data Fields

unsigned int multiplier
action_collection actions_hirep
std::vector< ActPtr > & actions

Detailed Description

template<class Field, class Repr = NoHirep>
struct ActionLevel< Field, Repr >

Definition at line 61 of file ActionSet.h.

Member Typedef Documentation

◆ ActPtr

template<class Field, class Repr = NoHirep>
typedef Action<Field>* ActionLevel< Field, Repr >::ActPtr

Definition at line 66 of file ActionSet.h.

◆ action_collection

template<class Field, class Repr = NoHirep>
typedef AccessTypes<Action,Repr>::VectorCollection ActionLevel< Field, Repr >::action_collection

Definition at line 70 of file ActionSet.h.

◆ action_hirep_types

template<class Field, class Repr = NoHirep>
typedef AccessTypes<Action,Repr>::FieldTypeCollection ActionLevel< Field, Repr >::action_hirep_types

Definition at line 71 of file ActionSet.h.

Constructor & Destructor Documentation

◆ ActionLevel()

template<class Field, class Repr = NoHirep>
ActionLevel< Field, Repr >::ActionLevel ( unsigned int mul = 1)
inlineexplicit

Definition at line 76 of file ActionSet.h.

References actions, actions_hirep, and multiplier.

Member Function Documentation

◆ push_back()

template<class Field, class Repr = NoHirep>
template<class GenField>
void ActionLevel< Field, Repr >::push_back ( Action< GenField > * ptr)
inline

◆ resize()

template<class Field, class Repr = NoHirep>
template<class ActPtr>
void ActionLevel< Field, Repr >::resize ( ActPtr ap,
unsigned int n )
inlinestatic

Definition at line 90 of file ActionSet.h.

◆ apply()

template<class Field, class Repr = NoHirep>
template<std::size_t I = 1, typename Callable, typename ... Args>
std::enable_if< I==std::tuple_size< action_collection >::value, void >::type ActionLevel< Field, Repr >::apply ( Callable ,
Repr & R,
Args & ... ) const
inline

Definition at line 96 of file ActionSet.h.

Field Documentation

◆ multiplier

template<class Field, class Repr = NoHirep>
unsigned int ActionLevel< Field, Repr >::multiplier

Definition at line 63 of file ActionSet.h.

Referenced by ActionLevel().

◆ actions_hirep

template<class Field, class Repr = NoHirep>
action_collection ActionLevel< Field, Repr >::actions_hirep

Definition at line 73 of file ActionSet.h.

Referenced by ActionLevel(), and push_back().

◆ actions

template<class Field, class Repr = NoHirep>
std::vector<ActPtr>& ActionLevel< Field, Repr >::actions

Definition at line 74 of file ActionSet.h.

Referenced by ActionLevel().


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