#include <Loc.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 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 | |
Loc () | |
Loc (const Loc< 1 > &a) | |
Loc (const Pooma::NoInit &a) | |
template<class T1 > | |
Loc (const T1 &a) | |
template<class T1 , class T2 > | |
Loc (const T1 &a, const T2 &b) | |
template<class T1 , class T2 , class T3 > | |
Loc (const T1 &a, const T2 &b, const T3 &c) | |
template<class T > | |
Loc< 1 > & | operator= (const T &newdom) |
Loc< 1 > & | operator= (const Loc< 1 > &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 [] | |
template<class Out > | |
void | print (Out &o) const |
print a domain to a stream, in the format "[" first:last:stride, first:last:stride, . |
For the special case of Loc<1>, the following constructors are defined:
typedef DT_t::Domain_t Loc< 1 >::Domain_t |
Reimplemented from Domain< 1, DomainTraits< Loc< 1 > > >.
typedef DT_t::OneDomain_t Loc< 1 >::OneDomain_t |
Reimplemented from Domain< 1, DomainTraits< Loc< 1 > > >.
typedef DT_t::BlockDomain_t Loc< 1 >::BlockDomain_t |
typedef DT_t::AskDomain_t Loc< 1 >::AskDomain_t |
Reimplemented from DomainBase< DomainTraits< Loc< 1 > > >.
typedef DT_t::AddResult_t Loc< 1 >::AddResult_t |
typedef DT_t::MultResult_t Loc< 1 >::MultResult_t |
Reimplemented from DomainBase< DomainTraits< Loc< 1 > > >.
Reimplemented from DomainBase< DomainTraits< Loc< 1 > > >.
References setDomain().
Loc< 1 >::Loc | ( | const Pooma::NoInit & | a | ) | [inline] |
References setDomain().
References CTAssert, PAssert, and setDomain().
Loc< 1 >::Loc | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c | |||
) | [inline] |
References CTAssert, PAssert, and setDomain().
References setDomain().
References setDomain().
const OneDomain_t& Loc< 1 >::operator[] | ( | int | d | ) | const [inline] |
return the Nth element of this domain, using []
Reimplemented from Domain< 1, DomainTraits< Loc< 1 > > >.
OneDomain_t& Loc< 1 >::operator[] | ( | int | d | ) | [inline] |
return the Nth element of this domain, using []
Reimplemented from Domain< 1, DomainTraits< Loc< 1 > > >.
void Loc< 1 >::print | ( | Out & | o | ) | const [inline] |
print a domain to a stream, in the format "[" first:last:stride, first:last:stride, .
.. first:last:stride "]"
Reimplemented from DomainBase< DomainTraits< Loc< 1 > > >.
References DomainBase< DomainTraits< Loc< Dim > > >::unwrap().
Referenced by operator<<().