#include <Region.h>
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_t & | operator[] (int d) const |
return the Nth element of this domain, using [] | |
OneDomain_t & | operator[] (int d) |
return the Nth element of this domain, using [] |
For the special case of Region<1>, the following constructors are defined:
typedef Base_t::iterator Region< 1, T >::iterator |
Reimplemented from Domain< 1, DomainTraits< Region< 1, 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 > > >.
typedef Base_t::blockIterator Region< 1, T >::blockIterator |
Reimplemented from Domain< 1, DomainTraits< Region< 1, 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 > > >.
typedef DT_t::Domain_t Region< 1, T >::Domain_t |
Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.
typedef DT_t::OneDomain_t Region< 1, T >::OneDomain_t |
Reimplemented from Domain< 1, DomainTraits< Region< 1, T > > >.
typedef DT_t::BlockDomain_t Region< 1, T >::BlockDomain_t |
typedef DT_t::AskDomain_t Region< 1, T >::AskDomain_t |
Reimplemented from DomainBase< DomainTraits< Region< 1, T > > >.
typedef DT_t::AddResult_t Region< 1, T >::AddResult_t |
typedef DT_t::MultResult_t Region< 1, T >::MultResult_t |
Reimplemented from DomainBase< DomainTraits< Region< 1, T > > >.
Reimplemented from DomainBase< DomainTraits< Region< 1, T > > >.
Region< 1, T >::Region | ( | const Pooma::NoInit & | e | ) | [inline] |
References DomainBase< DomainTraits< Region< Dim, T > > >::domain_m, and setDomain().
References DomainBase< DomainTraits< Region< Dim, T > > >::domain_m, and setDomain().
References DomainBase< DomainTraits< Region< Dim, T > > >::domain_m, and setDomain().
Region<1,T>& Region< 1, T >::operator= | ( | const T1 & | newdom | ) | [inline] |
Region<1,T>& Region< 1, T >::operator= | ( | const Region< 1, T > & | newdom | ) | [inline] |
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 > > >.
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 > > >.