CHROMA
Classes | Namespaces | Macros | Functions
objfunctor.h File Reference

Generic functor class. More...

#include "typelist.h"
#include "typetraits.h"
#include <typeinfo>
#include <memory>

Go to the source code of this file.

Classes

struct  Chroma::Private::FunctorImplBase< R >
 
class  Chroma::FunctorImpl< R, NullType >
 
class  Chroma::FunctorImpl< R, TYPELIST_1(P1)>
 
class  Chroma::FunctorImpl< R, TYPELIST_2(P1, P2)>
 
class  Chroma::FunctorImpl< R, TYPELIST_3(P1, P2, P3)>
 
class  Chroma::FunctorImpl< R, TYPELIST_4(P1, P2, P3, P4)>
 
class  Chroma::FunctorImpl< R, TYPELIST_5(P1, P2, P3, P4, P5)>
 
class  Chroma::FunctorHandler< ParentFunctor, Fun >
 
class  Chroma::MemFunHandler< ParentFunctor, PointerToObj, PointerToMemFn >
 
class  Chroma::ObjectFunctor< R, TList >
 
struct  Chroma::Private::BinderFirstTraits< ObjectFunctor< R, TList > >
 
class  Chroma::BinderFirst< OriginalFunctor >
 
class  Chroma::Chainer< Fun1, Fun2 >
 

Namespaces

 Chroma
 Asqtad Staggered-Dirac operator.
 
 Chroma::Private
 

Macros

#define DEFINE_CLONE_FUNCTORIMPL(Cls)    virtual Cls* DoClone() const { return new Cls(*this); }
 

Functions

template<class Fctor >
Private::BinderFirstTraits< Fctor >::BoundFunctorType Chroma::BindFirst (const Fctor &fun, typename Fctor::Parm1 bound)
 
template<class Fun1 , class Fun2 >
Fun2 Chroma::Chain (const Fun1 &fun1, const Fun2 &fun2)
 

Detailed Description

Generic functor class.

Definition in file objfunctor.h.

Macro Definition Documentation

◆ DEFINE_CLONE_FUNCTORIMPL

#define DEFINE_CLONE_FUNCTORIMPL (   Cls)     virtual Cls* DoClone() const { return new Cls(*this); }

Definition at line 50 of file objfunctor.h.