IntersectDomain< T1, T2, T3, Dim > Struct Template Reference

IntersectDomain implements a basic template meta-program to intersect each dimension separately of the multidimensional domains. More...

#include <Intersect.h>

List of all members.

Public Types

enum  { strided }

Static Public Member Functions

static void intersect (const T1 &a, const T2 &b, T3 &c)


Detailed Description

template<class T1, class T2, class T3, int Dim>
struct IntersectDomain< T1, T2, T3, Dim >

IntersectDomain implements a basic template meta-program to intersect each dimension separately of the multidimensional domains.

It uses IntersectDomainSingle to do the single-domain intersection, telling that struct whether the domains have unit stride or not. A general version of IntersectDomain is defined, to intersect the domains in the 'Dim' dimension, and then a specialization is provided for Dim==1 that stops the metaprogram recursion.


Member Enumeration Documentation

template<class T1, class T2, class T3, int Dim>
anonymous enum

Enumerator:
strided 


Member Function Documentation

template<class T1, class T2, class T3, int Dim>
static void IntersectDomain< T1, T2, T3, Dim >::intersect ( const T1 &  a,
const T2 &  b,
T3 &  c 
) [inline, static]


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

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