FreePOOMA  2.4.1
Public Types | Public Member Functions
Interval< 1 > Class Template Reference

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

#include <Interval.h>

Inheritance diagram for Interval< 1 >:
Inheritance graph
[legend]
Collaboration diagram for Interval< 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

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

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

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


Member Typedef Documentation

typedef DT_t::Storage_t Interval< 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

Interval< 1 >::Interval ( ) [inline]
Interval< 1 >::Interval ( const Interval< 1 > &  a) [inline]
Interval< 1 >::Interval ( const Pooma::NoInit a) [inline]
template<class T1 >
Interval< 1 >::Interval ( const T1 &  a) [inline, explicit]
Interval< 1 >::Interval ( char  a) [inline]
Interval< 1 >::Interval ( unsigned char  a) [inline]
Interval< 1 >::Interval ( short  a) [inline]
Interval< 1 >::Interval ( unsigned short  a) [inline]
Interval< 1 >::Interval ( int  a) [inline]
Interval< 1 >::Interval ( unsigned int  a) [inline]
Interval< 1 >::Interval ( long  a) [inline]
Interval< 1 >::Interval ( unsigned long  a) [inline]
template<class T1 , class T2 >
Interval< 1 >::Interval ( const T1 &  m,
const T2 &  n 
) [inline]
template<class T1 , class T2 , class T3 >
Interval< 1 >::Interval ( const T1 &  m,
const T2 &  n,
const T3 &  s 
) [inline]

Member Function Documentation

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

return the Nth element of this domain, using []

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

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

return the Nth element of this domain, using []

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


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