aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::CompleteProjections4MultiDimInitialize< GUM_SCALAR *> Struct Template Reference

a class used to register complete projections over pointers typesThis class is of course completely redundant with function pointerCompleteProjections4MultiDimInit. More...

#include <completeProjections4MultiDim.h>

Public Member Functions

void init ()
 

Detailed Description

template<typename GUM_SCALAR>
struct gum::CompleteProjections4MultiDimInitialize< GUM_SCALAR *>

a class used to register complete projections over pointers types

This class is of course completely redundant with function pointerCompleteProjections4MultiDimInit.

Its aim is to enable different implementations of the projections for multidims depending in whether these multidim contain pointers or not. Actually, C++ allows partial specialization of templated classes (e.g., create different implementations for C<T> and C<T*>) but it does not allows partial specialization for functions. Hence, by creating a class the primary purpose of which is to run function completeProjections4MultiDimInit or pointerCompleteProjections4MultiDimInit, we allow this partial specialization to obtain.

Definition at line 547 of file completeProjections4MultiDim.h.

Member Function Documentation

◆ init()

template<typename GUM_SCALAR >
void gum::CompleteProjections4MultiDimInitialize< GUM_SCALAR *>::init ( )
inline

Definition at line 548 of file completeProjections4MultiDim.h.

548 { pointerCompleteProjections4MultiDimInit< GUM_SCALAR >(); };

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