Blender V2.61 - r43446
|
#include <region1d.h>
Public Member Functions | |
const Array1D & | array () const |
Subscript | offset () const |
Subscript | dim () const |
Subscript | offset (Subscript i) const |
Subscript | dim (Subscript i) const |
Region1D (Array1D &A, Subscript i1, Subscript i2) | |
Region1D (Array1D &A, const Index1D &I) | |
Region1D (Region1D< Array1D > &A, Subscript i1, Subscript i2) | |
Region1D< Array1D > | operator() (Subscript i1, Subscript i2) |
Region1D< Array1D > | operator() (const Index1D &I) |
T & | operator() (Subscript i) |
const T & | operator() (Subscript i) const |
Region1D< Array1D > & | operator= (const Region1D< Array1D > &R) |
Region1D< Array1D > & | operator= (const const_Region1D< Array1D > &R) |
Region1D< Array1D > & | operator= (const T &t) |
Region1D< Array1D > & | operator= (const Array1D &R) |
Protected Types | |
typedef Array1D::element_type | T |
Protected Attributes | |
Array1D & | A_ |
Subscript | offset_ |
Subscript | dim_ |
Definition at line 48 of file region1d.h.
typedef Array1D::element_type TNT::Region1D< Array1D >::T [protected] |
Definition at line 56 of file region1d.h.
TNT::Region1D< Array1D >::Region1D | ( | Array1D & | A, |
Subscript | i1, | ||
Subscript | i2 | ||
) | [inline] |
Definition at line 81 of file region1d.h.
References assert, TNT::Array1D< T >::dim(), TNT::Region1D< Array1D >::dim_, TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
TNT::Region1D< Array1D >::Region1D | ( | Array1D & | A, |
const Index1D & | I | ||
) | [inline] |
Definition at line 92 of file region1d.h.
References assert, TNT::Array1D< T >::dim(), TNT::Region1D< Array1D >::dim_, TNT::Index1D::lbound(), TNT::Region1D< Array1D >::offset_, TNT_BASE_OFFSET, and TNT::Index1D::ubound().
TNT::Region1D< Array1D >::Region1D | ( | Region1D< Array1D > & | A, |
Subscript | i1, | ||
Subscript | i2 | ||
) | [inline] |
Definition at line 103 of file region1d.h.
References assert, TNT::Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::dim_, TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
const Array1D& TNT::Region1D< Array1D >::array | ( | ) | const [inline] |
Definition at line 59 of file region1d.h.
References TNT::Region1D< Array1D >::offset_.
Subscript TNT::Region1D< Array1D >::dim | ( | Subscript | i | ) | const [inline] |
Definition at line 72 of file region1d.h.
References assert, TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
Subscript TNT::Region1D< Array1D >::dim | ( | ) | const [inline] |
Definition at line 62 of file region1d.h.
Referenced by TNT::Region1D< Array1D >::operator()(), TNT::Region1D< Array1D >::operator=(), and TNT::Region1D< Array1D >::Region1D().
Subscript TNT::Region1D< Array1D >::offset | ( | Subscript | i | ) | const [inline] |
Definition at line 64 of file region1d.h.
References assert, TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
Subscript TNT::Region1D< Array1D >::offset | ( | ) | const [inline] |
Definition at line 61 of file region1d.h.
References TNT::Region1D< Array1D >::dim_.
T& TNT::Region1D< Array1D >::operator() | ( | Subscript | i | ) | [inline] |
Definition at line 146 of file region1d.h.
References TNT::Region1D< Array1D >::A_, assert, TNT::Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
const T& TNT::Region1D< Array1D >::operator() | ( | Subscript | i | ) | const [inline] |
Definition at line 155 of file region1d.h.
References TNT::Region1D< Array1D >::A_, assert, TNT::Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
Region1D<Array1D> TNT::Region1D< Array1D >::operator() | ( | const Index1D & | I | ) | [inline] |
Definition at line 132 of file region1d.h.
References TNT::Region1D< Array1D >::A_, assert, TNT::Region1D< Array1D >::dim(), TNT::Index1D::lbound(), TNT::Region1D< Array1D >::offset_, TNT_BASE_OFFSET, and TNT::Index1D::ubound().
Region1D<Array1D> TNT::Region1D< Array1D >::operator() | ( | Subscript | i1, |
Subscript | i2 | ||
) | [inline] |
Definition at line 117 of file region1d.h.
References TNT::Region1D< Array1D >::A_, assert, TNT::Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::offset_, and TNT_BASE_OFFSET.
Region1D<Array1D>& TNT::Region1D< Array1D >::operator= | ( | const const_Region1D< Array1D > & | R | ) | [inline] |
Definition at line 183 of file region1d.h.
References assert, TNT::const_Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::dim(), i, N, R, and TNT_BASE_OFFSET.
Region1D<Array1D>& TNT::Region1D< Array1D >::operator= | ( | const Region1D< Array1D > & | R | ) | [inline] |
Definition at line 165 of file region1d.h.
References assert, TNT::Region1D< Array1D >::dim(), i, N, R, and TNT_BASE_OFFSET.
Region1D<Array1D>& TNT::Region1D< Array1D >::operator= | ( | const T & | t | ) | [inline] |
Definition at line 201 of file region1d.h.
References TNT::Region1D< Array1D >::dim(), i, N, and TNT_BASE_OFFSET.
Region1D<Array1D>& TNT::Region1D< Array1D >::operator= | ( | const Array1D & | R | ) | [inline] |
Definition at line 216 of file region1d.h.
References assert, TNT::Array1D< T >::dim(), TNT::Region1D< Array1D >::dim(), i, N, R, and TNT_BASE_OFFSET.
Array1D& TNT::Region1D< Array1D >::A_ [protected] |
Definition at line 52 of file region1d.h.
Referenced by TNT::Region1D< Array1D >::operator()().
Subscript TNT::Region1D< Array1D >::dim_ [protected] |
Definition at line 54 of file region1d.h.
Referenced by TNT::Region1D< Array1D >::offset(), and TNT::Region1D< Array1D >::Region1D().
Subscript TNT::Region1D< Array1D >::offset_ [protected] |
Definition at line 53 of file region1d.h.
Referenced by TNT::Region1D< Array1D >::array(), TNT::Region1D< Array1D >::dim(), TNT::Region1D< Array1D >::offset(), TNT::Region1D< Array1D >::operator()(), and TNT::Region1D< Array1D >::Region1D().