FreePOOMA
2.4.1
|
Apply the ConformTag to the leaves of the tree. More...
#include <Array.h>
Public Types | |
typedef bool | Type_t |
Static Public Member Functions | |
static Type_t | apply (const Array< Dim, T, EngineTag > &array, const ConformTag< Dim > &ct) |
Apply the ConformTag to the leaves of the tree.
Check to see if a given Array conforms.
First we have the case where the rank of the Array is the same as the rank of the ConformTag. Just loop over all of the dimensions, making sure that the size of each fits with the size of the left hand side.
typedef bool LeafFunctor< Array< Dim, T, EngineTag >, ConformTag< Dim > >::Type_t |
static Type_t LeafFunctor< Array< Dim, T, EngineTag >, ConformTag< Dim > >::apply | ( | const Array< Dim, T, EngineTag > & | array, |
const ConformTag< Dim > & | ct | ||
) | [inline, static] |
References conforms(), and Array< Dim, T, EngineTag >::domain().