ViewFunctorTag< Domain > Struct Template Reference

NewEngine<Engine<Dim,T,ExpressionTag<Expr> >, Domain >Type_t is supposed to give the type of ExpressionEngine that you would get by taking views of all of the expressions leaves based on the domain Domain. More...

#include <ExpressionEngine.h>

Collaboration diagram for ViewFunctorTag< Domain >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ViewFunctorTag (const Domain &domain)

Public Attributes

const Domaindomain_m


Detailed Description

template<class Domain>
struct ViewFunctorTag< Domain >

NewEngine<Engine<Dim,T,ExpressionTag<Expr> >, Domain >Type_t is supposed to give the type of ExpressionEngine that you would get by taking views of all of the expressions leaves based on the domain Domain.

To accomplish this, we use the ViewFunctorTag, which contains the domain. All classes that can appear as leaves in Expressions that can go into an Expression-Engine should specialize a version of LeafFunctor for this tag that takes a view the leaf using the domain provided. We provide a specialization of this sort here for Scalars.


Constructor & Destructor Documentation

template<class Domain>
ViewFunctorTag< Domain >::ViewFunctorTag ( const Domain domain  )  [inline]


Member Data Documentation

template<class Domain>
const Domain& ViewFunctorTag< Domain >::domain_m


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

Generated on Wed Mar 16 06:20:43 2011 for FreePOOMA by  doxygen 1.5.9