Range< 1 > Class Template Reference

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

#include <Range.h>

Inheritance diagram for Range< 1 >:

Inheritance graph
[legend]
Collaboration diagram for Range< 1 >:

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 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

 Range ()
 Range (const Range< 1 > &a)
 Range (const Pooma::NoInit &a)
template<class T1 >
 Range (const T1 &a)
 Range (char a)
 Range (unsigned char a)
 Range (short a)
 Range (unsigned short a)
 Range (int a)
 Range (unsigned int a)
 Range (long a)
 Range (unsigned long a)
template<class T1 , class T2 >
 Range (const T1 &m, const T2 &n)
template<class T1 , class T2 , class T3 >
 Range (const T1 &m, const T2 &n, const T3 &s)
template<class T >
Range< 1 > & operator= (const T &newdom)
Range< 1 > & operator= (const Range< 1 > &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 Range< 1 >

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

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


Member Typedef Documentation

typedef DT_t::Element_t Range< 1 >::Element_t

typedef DT_t::Domain_t Range< 1 >::Domain_t

typedef DT_t::Storage_t Range< 1 >::Storage_t


Member Enumeration Documentation

anonymous enum

Enumerator:
domain 

anonymous enum

Enumerator:
dimensions 
sliceDimensions 

anonymous enum

Enumerator:
loopAware 

anonymous enum

Enumerator:
singleValued 

anonymous enum

Enumerator:
unitStride 

anonymous enum

Enumerator:
wildcard 


Constructor & Destructor Documentation

Range< 1 >::Range (  )  [inline]

Range< 1 >::Range ( const Range< 1 > &  a  )  [inline]

Range< 1 >::Range ( const Pooma::NoInit a  )  [inline]

template<class T1 >
Range< 1 >::Range ( const T1 &  a  )  [inline, explicit]

Range< 1 >::Range ( char  a  )  [inline]

Range< 1 >::Range ( unsigned char  a  )  [inline]

Range< 1 >::Range ( short  a  )  [inline]

Range< 1 >::Range ( unsigned short  a  )  [inline]

Range< 1 >::Range ( int  a  )  [inline]

Range< 1 >::Range ( unsigned int  a  )  [inline]

Range< 1 >::Range ( long  a  )  [inline]

Range< 1 >::Range ( unsigned long  a  )  [inline]

template<class T1 , class T2 >
Range< 1 >::Range ( const T1 &  m,
const T2 &  n 
) [inline]

template<class T1 , class T2 , class T3 >
Range< 1 >::Range ( const T1 &  m,
const T2 &  n,
const T3 &  s 
) [inline]


Member Function Documentation

template<class T >
Range<1>& Range< 1 >::operator= ( const T &  newdom  )  [inline]

Range<1>& Range< 1 >::operator= ( const Range< 1 > &  newdom  )  [inline]

const OneDomain_t& Range< 1 >::operator[] ( int  d  )  const [inline]

return the Nth element of this domain, using []

Reimplemented from Domain< 1, DomainTraits< Range< 1 > > >.

OneDomain_t& Range< 1 >::operator[] ( int  d  )  [inline]

return the Nth element of this domain, using []

Reimplemented from Domain< 1, DomainTraits< Range< 1 > > >.


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

Generated on Wed Mar 16 06:20:28 2011 for FreePOOMA by  doxygen 1.5.9