#include <Engine.h>
Public Types | |
typedef Engine | Type_t |
Static Public Member Functions | |
static const Engine & | apply (const Engine &e, const 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.
typedef Engine NewEngineEngine< Engine, SubDomain >::Type_t |
static const Engine& NewEngineEngine< Engine, SubDomain >::apply | ( | const Engine & | e, | |
const SubDomain & | ||||
) | [inline, static] |