PPL Logo

DefaultEntry< T, PUP_EVERY_ELEMENT > Class Template Reference

This is the interface used to perform the accumulate operation on an Entry. More...

#include <msa-common.h>


Static Public Member Functions

template<typename U>
static void accumulate (T &a, const U &b)
static T getIdentity ()
static bool pupEveryElement ()


Detailed Description

template<class T, bool PUP_EVERY_ELEMENT = false>
class DefaultEntry< T, PUP_EVERY_ELEMENT >

This is the interface used to perform the accumulate operation on an Entry.

T is the data type. It may be a primitive one or a class. T must support the default constructor, assignment, += operator if you use accumulate, typecast from int 0, 1, and pup.

Definition at line 49 of file msa-common.h.


Member Function Documentation

template<class T, bool PUP_EVERY_ELEMENT = false>
template<typename U>
static void DefaultEntry< T, PUP_EVERY_ELEMENT >::accumulate ( T &  a,
const U &  b 
) [inline, static]

Definition at line 52 of file msa-common.h.

template<class T, bool PUP_EVERY_ELEMENT = false>
static T DefaultEntry< T, PUP_EVERY_ELEMENT >::getIdentity (  )  [inline, static]

Definition at line 54 of file msa-common.h.

template<class T, bool PUP_EVERY_ELEMENT = false>
static bool DefaultEntry< T, PUP_EVERY_ELEMENT >::pupEveryElement (  )  [inline, static]

Definition at line 55 of file msa-common.h.


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

Generated on Mon Sep 21 08:22:33 2020 for Charm++ by  doxygen 1.5.5