#include <LeftDomain.h>
Public Types | |
enum | { dimensions = Dim } |
typedef LeftDomain< Dim > | Domain_t |
typedef LeftDomain< 1 > | OneDomain_t |
typedef int | Element_t |
Public Member Functions | |
LeftDomain () | |
LeftDomain (const LeftDomain< Dim > &d) | |
template<class T1 > | |
LeftDomain (const T1 &a) | |
template<class T1 , class T2 > | |
LeftDomain (const T1 &a, const T2 &b) | |
template<class T1 , class T2 , class T3 > | |
LeftDomain (const T1 &a, const T2 &b, const T3 &c) | |
template<class T1 , class T2 , class T3 , class T4 > | |
LeftDomain (const T1 &a, const T2 &b, const T3 &c, const T4 &d) | |
template<class T1 , class T2 , class T3 , class T4 , class T5 > | |
LeftDomain (const T1 &a, const T2 &b, const T3 &c, const T4 &d, const T5 &e) | |
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 > | |
LeftDomain (const T1 &a, const T2 &b, const T3 &c, const T4 &d, const T5 &e, const T6 &f) | |
template<class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 > | |
LeftDomain (const T1 &a, const T2 &b, const T3 &c, const T4 &d, const T5 &e, const T6 &f, const T7 &g) | |
~LeftDomain () | |
OneDomain_t | operator[] (int n) const |
void | setDomain (const LeftDomain< Dim > &d) |
template<class T > | |
DomainTraits< T >::Element_t | first (const T &u) const |
int | first (int u) const |
template<class T > | |
DomainTraits< T >::Element_t | length (const T &u) const |
int | length (int u) const |
template<class T > | |
DomainTraits< T >::Element_t | stride (const T &u) const |
int | stride (int) const |
LeftDomain< Dim > & | operator= (const LeftDomain< Dim > &d) |
Wildcards are useful when constructing new domains based on some other 'reference' domain, which is done when doing things like making a new view of an Array. Wildcard domains use the reference domain to determine what the 'final' domain should be. LeftDomain refers to 'use the left endpoint of the reference domain, with newly provided right endpoint, as the new domain values'.
LeftDomain can be used as one of the arguments to the 'combineSlice' or 'fillSlice' routines in the NewDomain combiners, in which case the user- supplied reference domain is used with the 'setWildcardDomain' method of the domain being filled to get the final domain settings.
Wildcard domains in general can also be used in the constructors for regular domain objects. If they are given, they indicate that those dimensions should not be initialized, which can be helpful to avoid extra unneeded work when the domain will be filled with new values very soon.
typedef LeftDomain<Dim> LeftDomain< Dim >::Domain_t |
typedef LeftDomain<1> LeftDomain< Dim >::OneDomain_t |
typedef int LeftDomain< Dim >::Element_t |
LeftDomain< Dim >::LeftDomain | ( | ) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const LeftDomain< Dim > & | d | ) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a | ) | [inline, explicit] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c, | |||
const T4 & | d | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c, | |||
const T4 & | d, | |||
const T5 & | e | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c, | |||
const T4 & | d, | |||
const T5 & | e, | |||
const T6 & | f | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::LeftDomain | ( | const T1 & | a, | |
const T2 & | b, | |||
const T3 & | c, | |||
const T4 & | d, | |||
const T5 & | e, | |||
const T6 & | f, | |||
const T7 & | g | |||
) | [inline] |
References CTAssert.
LeftDomain< Dim >::~LeftDomain | ( | ) | [inline] |
OneDomain_t LeftDomain< Dim >::operator[] | ( | int | n | ) | const [inline] |
void LeftDomain< Dim >::setDomain | ( | const LeftDomain< Dim > & | d | ) | [inline] |
DomainTraits<T>::Element_t LeftDomain< Dim >::first | ( | const T & | u | ) | const [inline] |
Referenced by LeftDomain< Dim >::length().
int LeftDomain< Dim >::first | ( | int | u | ) | const [inline] |
DomainTraits<T>::Element_t LeftDomain< Dim >::length | ( | const T & | u | ) | const [inline] |
References CTAssert.
int LeftDomain< Dim >::length | ( | int | u | ) | const [inline] |
References CTAssert, and LeftDomain< Dim >::first().
DomainTraits<T>::Element_t LeftDomain< Dim >::stride | ( | const T & | u | ) | const [inline] |
int LeftDomain< Dim >::stride | ( | int | ) | const [inline] |
LeftDomain<Dim>& LeftDomain< Dim >::operator= | ( | const LeftDomain< Dim > & | d | ) | [inline] |