DomainTraits< Region< 1, T > > Struct Template Reference

DomainTraits<Region<Dim,T>>: The traits for an 1-dimensional Region domain. More...

#include <DomainTraits.Region.h>

Inheritance diagram for DomainTraits< Region< 1, T > >:

Inheritance graph
[legend]
Collaboration diagram for DomainTraits< Region< 1, T > >:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { domain = Base_t::domain }
enum  { dimensions = Base_t::dimensions, sliceDimensions = 1 }
enum  { loopAware = false }
enum  { singleValued = false }
enum  { unitStride = true }
enum  { wildcard = false }
typedef DomainTraitsDomain
< Region< 1, T >, T, 1 > 
Base_t
typedef Base_t::Element_t Element_t
typedef Base_t::Domain_t Domain_t
typedef Region< 1, T > OneDomain_t
typedef Region< 1, T > BlockDomain_t
typedef Region< 1, T > AskDomain_t
typedef Region< 1, T > AddResult_t
typedef Region< 1, T > MultResult_t
typedef Element_t Storage_t [2]
typedef Element_t IteratorStorage_t [2]

Static Public Member Functions

static Element_t first (const Storage_t &d)
static Element_t last (const Storage_t &d)
static Element_t stride (const Storage_t &d)
static Element_t length (const Storage_t &d)
static Element_t min (const Storage_t &d)
static Element_t max (const Storage_t &d)
static bool empty (const Storage_t &d)
static int loop (const Storage_t &)
static Element_t elem (const Storage_t &d, int n)
static OneDomain_tgetDomain (Domain_t &d, int)
static const OneDomain_tgetDomain (const Domain_t &d, int)
static void initializeStorage (Storage_t &dom)
template<class DT >
static void setDomain (Storage_t &dom, const DT &newdom)
static void setDomain (Storage_t &dom, Element_t begval, Element_t endval)
static void setLoop (Storage_t &, int)
template<class UT , class DT >
static void setWildcardDomain (Storage_t &dom, const UT &u, const DT &newdom)
template<class DT >
static bool isLessThan (const Storage_t &dom, const DT &newdom)
template<class DT >
static bool isEqualTo (const Storage_t &dom, const DT &newdom)
template<class DT >
static void addAccum (Storage_t &dom, const DT &newdom)
template<class DT >
static void subtractAccum (Storage_t &dom, const DT &newdom)
template<class DT >
static void multiplyAccum (Storage_t &dom, const DT &newdom)
template<class DT >
static void divideAccum (Storage_t &dom, const DT &newdom)
static void initializeIterator (const Storage_t &d, IteratorStorage_t &i)
static void initializeIterator (const Storage_t &d1, const Storage_t &d2, IteratorStorage_t &i)
static void copyIterator (IteratorStorage_t d, IteratorStorage_t &i)
static Element_t currentIterator (IteratorStorage_t i)
static bool compareIterator (IteratorStorage_t a, IteratorStorage_t b)
static void incrementIterator (IteratorStorage_t &i)
static void decrementIterator (IteratorStorage_t &i)


Detailed Description

template<class T>
struct DomainTraits< Region< 1, T > >

DomainTraits<Region<Dim,T>>: The traits for an 1-dimensional Region domain.

Member Typedef Documentation

template<class T >
typedef DomainTraitsDomain<Region<1,T>, T, 1> DomainTraits< Region< 1, T > >::Base_t

template<class T >
typedef Base_t::Element_t DomainTraits< Region< 1, T > >::Element_t

template<class T >
typedef Base_t::Domain_t DomainTraits< Region< 1, T > >::Domain_t

template<class T >
typedef Region<1,T> DomainTraits< Region< 1, T > >::OneDomain_t

template<class T >
typedef Region<1,T> DomainTraits< Region< 1, T > >::BlockDomain_t

template<class T >
typedef Region<1,T> DomainTraits< Region< 1, T > >::AskDomain_t

template<class T >
typedef Region<1,T> DomainTraits< Region< 1, T > >::AddResult_t

template<class T >
typedef Region<1,T> DomainTraits< Region< 1, T > >::MultResult_t

template<class T >
typedef Element_t DomainTraits< Region< 1, T > >::Storage_t[2]

template<class T >
typedef Element_t DomainTraits< Region< 1, T > >::IteratorStorage_t[2]


Member Enumeration Documentation

template<class T >
anonymous enum

Enumerator:
domain 

template<class T >
anonymous enum

Enumerator:
dimensions 
sliceDimensions 

template<class T >
anonymous enum

Enumerator:
loopAware 

template<class T >
anonymous enum

Enumerator:
singleValued 

template<class T >
anonymous enum

Enumerator:
unitStride 

template<class T >
anonymous enum

Enumerator:
wildcard 


Member Function Documentation

template<class T >
static Element_t DomainTraits< Region< 1, T > >::first ( const Storage_t d  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::last ( const Storage_t d  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::stride ( const Storage_t d  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::length ( const Storage_t d  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::min ( const Storage_t d  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::max ( const Storage_t d  )  [inline, static]

template<class T >
static bool DomainTraits< Region< 1, T > >::empty ( const Storage_t d  )  [inline, static]

template<class T >
static int DomainTraits< Region< 1, T > >::loop ( const Storage_t  )  [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::elem ( const Storage_t d,
int  n 
) [inline, static]

template<class T >
static OneDomain_t& DomainTraits< Region< 1, T > >::getDomain ( Domain_t d,
int   
) [inline, static]

template<class T >
static const OneDomain_t& DomainTraits< Region< 1, T > >::getDomain ( const Domain_t d,
int   
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::initializeStorage ( Storage_t dom  )  [inline, static]

template<class T >
template<class DT >
static void DomainTraits< Region< 1, T > >::setDomain ( Storage_t dom,
const DT &  newdom 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::setDomain ( Storage_t dom,
Element_t  begval,
Element_t  endval 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::setLoop ( Storage_t ,
int   
) [inline, static]

template<class T >
template<class UT , class DT >
static void DomainTraits< Region< 1, T > >::setWildcardDomain ( Storage_t dom,
const UT &  u,
const DT &  newdom 
) [inline, static]

References CTAssert.

template<class T >
template<class DT >
static bool DomainTraits< Region< 1, T > >::isLessThan ( const Storage_t dom,
const DT &  newdom 
) [inline, static]

References CTAssert.

template<class T >
template<class DT >
static bool DomainTraits< Region< 1, T > >::isEqualTo ( const Storage_t dom,
const DT &  newdom 
) [inline, static]

References CTAssert.

template<class T >
template<class DT >
static void DomainTraits< Region< 1, T > >::addAccum ( Storage_t dom,
const DT &  newdom 
) [inline, static]

template<class T >
template<class DT >
static void DomainTraits< Region< 1, T > >::subtractAccum ( Storage_t dom,
const DT &  newdom 
) [inline, static]

template<class T >
template<class DT >
static void DomainTraits< Region< 1, T > >::multiplyAccum ( Storage_t dom,
const DT &  newdom 
) [inline, static]

template<class T >
template<class DT >
static void DomainTraits< Region< 1, T > >::divideAccum ( Storage_t dom,
const DT &  newdom 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::initializeIterator ( const Storage_t d,
IteratorStorage_t i 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::initializeIterator ( const Storage_t d1,
const Storage_t d2,
IteratorStorage_t i 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::copyIterator ( IteratorStorage_t  d,
IteratorStorage_t i 
) [inline, static]

template<class T >
static Element_t DomainTraits< Region< 1, T > >::currentIterator ( IteratorStorage_t  i  )  [inline, static]

template<class T >
static bool DomainTraits< Region< 1, T > >::compareIterator ( IteratorStorage_t  a,
IteratorStorage_t  b 
) [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::incrementIterator ( IteratorStorage_t i  )  [inline, static]

template<class T >
static void DomainTraits< Region< 1, T > >::decrementIterator ( IteratorStorage_t i  )  [inline, static]


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

Generated on Wed Mar 16 06:19:53 2011 for FreePOOMA by  doxygen 1.5.9