NewEngineEngine< Engine, SubDomain > Struct Template Reference

NewEngineEngine<Engine,SubDomain> NewEngineDomain<Engine,SubDomain>. More...

#include <Engine.h>

List of all members.

Public Types

typedef Engine Type_t

Static Public Member Functions

static const Engine & apply (const Engine &e, const SubDomain &)


Detailed Description

template<class Engine, class SubDomain>
struct NewEngineEngine< Engine, SubDomain >

NewEngineEngine<Engine,SubDomain> NewEngineDomain<Engine,SubDomain>.

These two traits classes allow you to modify the engine and domain that get passed to the view engine that results from a subset operation. This indirection allows you to define view operations without requiring that the view engine knows about the engine you start with (for example, BrickView shouldn't have to know about patch engines that contain it).

The natural location for these functors is inside the NewEngine traits class, but defining them separately allows us to provide the default behaviour: just forward the engine and domain through.


Member Typedef Documentation

template<class Engine, class SubDomain >
typedef Engine NewEngineEngine< Engine, SubDomain >::Type_t


Member Function Documentation

template<class Engine, class SubDomain >
static const Engine& NewEngineEngine< Engine, SubDomain >::apply ( const Engine &  e,
const SubDomain &   
) [inline, static]


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

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