FreePOOMA  2.4.1
Public Types | Public Member Functions
Region< 1, T > Class Template Reference

Region<1> is a 1D specialization of Region<N>; for the 1D case, there are only a restricted set of constructors available. More...

#include <Region.h>

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

List of all members.

Public Types

enum  { domain = DT_t::domain }
enum  { dimensions = DT_t::dimensions, sliceDimensions = DT_t::sliceDimensions }
enum  { loopAware = DT_t::loopAware }
enum  { singleValued = DT_t::singleValued }
enum  { unitStride = DT_t::unitStride }
enum  { wildcard = DT_t::wildcard }
typedef Base_t::iterator iterator
typedef Base_t::const_iterator const_iterator
 Iterator typedefs.
typedef Base_t::blockIterator blockIterator
typedef Base_t::const_blockIterator const_blockIterator
 Block iterator typedefs.
typedef DT_t::Element_t Element_t
typedef DT_t::Domain_t Domain_t
typedef DT_t::OneDomain_t OneDomain_t
typedef DT_t::BlockDomain_t BlockDomain_t
typedef DT_t::AskDomain_t AskDomain_t
typedef DT_t::AddResult_t AddResult_t
typedef DT_t::MultResult_t MultResult_t
typedef DT_t::Storage_t Storage_t

Public Member Functions

 Region ()
 Region (const Pooma::NoInit &e)
 Region (const Region< 1, T > &a)
template<class T1 >
 Region (const T1 &a)
 Region (Element_t n)
 Region (Element_t m, Element_t n)
 Region (Element_t m, Element_t n, Element_t)
template<class T1 >
Region< 1, T > & operator= (const T1 &newdom)
Region< 1, T > & operator= (const Region< 1, T > &newdom)
const OneDomain_toperator[] (int d) const
 return the Nth element of this domain, using []
OneDomain_toperator[] (int d)
 return the Nth element of this domain, using []

Detailed Description

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

Region<1> is a 1D specialization of Region<N>; for the 1D case, there are only a restricted set of constructors available.

For the special case of Region<1>, the following constructors are defined:


Member Typedef Documentation

template<class T >
typedef Base_t::iterator Region< 1, T >::iterator
template<class T >
typedef Base_t::const_iterator Region< 1, T >::const_iterator

Iterator typedefs.

An N-dimensional iterator is a forward iterator, it works only with operator++ (it does not have operator--).

Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.

template<class T >
typedef Base_t::blockIterator Region< 1, T >::blockIterator
template<class T >
typedef Base_t::const_blockIterator Region< 1, T >::const_blockIterator

Block iterator typedefs.

All domains use the DomainBlockIterator class to iterate through blocks defined by the domain points. A block iterator is a forward iterator, it works only with operator++.

Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.

template<class T >
typedef DT_t::Element_t Region< 1, T >::Element_t
template<class T >
typedef DT_t::Domain_t Region< 1, T >::Domain_t
template<class T >
typedef DT_t::OneDomain_t Region< 1, T >::OneDomain_t
template<class T >
typedef DT_t::BlockDomain_t Region< 1, T >::BlockDomain_t
template<class T >
typedef DT_t::AskDomain_t Region< 1, T >::AskDomain_t
template<class T >
typedef DT_t::AddResult_t Region< 1, T >::AddResult_t
template<class T >
typedef DT_t::MultResult_t Region< 1, T >::MultResult_t
template<class T >
typedef DT_t::Storage_t Region< 1, T >::Storage_t

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 

Constructor & Destructor Documentation

template<class T >
Region< 1, T >::Region ( ) [inline]
template<class T >
Region< 1, T >::Region ( const Pooma::NoInit e) [inline]
template<class T >
Region< 1, T >::Region ( const Region< 1, T > &  a) [inline]
template<class T >
template<class T1 >
Region< 1, T >::Region ( const T1 &  a) [inline, explicit]
template<class T >
Region< 1, T >::Region ( Element_t  n) [inline]
template<class T >
Region< 1, T >::Region ( Element_t  m,
Element_t  n 
) [inline]
template<class T >
Region< 1, T >::Region ( Element_t  m,
Element_t  n,
Element_t   
) [inline]

Member Function Documentation

template<class T >
template<class T1 >
Region<1,T>& Region< 1, T >::operator= ( const T1 &  newdom) [inline]
template<class T >
Region<1,T>& Region< 1, T >::operator= ( const Region< 1, T > &  newdom) [inline]
template<class T >
const OneDomain_t& Region< 1, T >::operator[] ( int  d) const [inline]

return the Nth element of this domain, using []

Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.

template<class T >
OneDomain_t& Region< 1, T >::operator[] ( int  d) [inline]

return the Nth element of this domain, using []

Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.


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