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

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

#include <Grid.h>

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

 Grid ()
 Grid (const Grid< 1 > &a)
template<class T1 >
 Grid (const T1 &a)
 Grid (char a)
 Grid (unsigned char a)
 Grid (short a)
 Grid (unsigned short a)
 Grid (int a)
 Grid (unsigned int a)
 Grid (long a)
 Grid (unsigned long a)
template<class T1 , class T2 >
 Grid (const T1 &m, const T2 &n)
template<class T1 , class T2 , class T3 >
 Grid (const T1 &m, const T2 &n, const T3 &s)
 ~Grid ()
template<class T >
Grid< 1 > & operator= (const T &newdom)
Grid< 1 > & operator= (const Grid< 1 > &newdom)
template<class Out >
void print (Out &o) const
 print a domain to a stream, in the format "[" first:last:stride, first:last:stride, ...

Detailed Description

template<>
class Grid< 1 >

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

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


Member Typedef Documentation

typedef DT_t::Domain_t Grid< 1 >::Domain_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

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

Member Function Documentation

template<class T >
Grid<1>& Grid< 1 >::operator= ( const T &  newdom) [inline]
Grid<1>& Grid< 1 >::operator= ( const Grid< 1 > &  newdom) [inline]
template<class Out >
void Grid< 1 >::print ( Out &  o) const

print a domain to a stream, in the format "[" first:last:stride, first:last:stride, ...

first:last:stride "]"

Reimplemented from DomainBase< DomainTraits< Grid< 1 > > >.

References DomainBase< DomainTraits< Grid< Dim > > >::begin(), and DomainBase< DomainTraits< Grid< Dim > > >::end().


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