Blender V2.61 - r43446

TNT::Region2D< Array2D > Class Template Reference

#include <region2d.h>

List of all members.

Public Types

typedef Array2D::value_type T
typedef Subscript size_type
typedef T value_type
typedef T element_type
typedef Tpointer
typedef Titerator
typedef Treference
typedef const Tconst_iterator
typedef const Tconst_reference

Public Member Functions

Array2Darray ()
const Array2Darray () const
Subscript lbound () const
Subscript num_rows () const
Subscript num_cols () const
Subscript offset (Subscript i) const
Subscript dim (Subscript i) const
 Region2D (Array2D &A, Subscript i1, Subscript i2, Subscript j1, Subscript j2)
 Region2D (Array2D &A, const Index1D &I, const Index1D &J)
 Region2D (Region2D< Array2D > &A, Subscript i1, Subscript i2, Subscript j1, Subscript j2)
Region2D< Array2Doperator() (Subscript i1, Subscript i2, Subscript j1, Subscript j2)
Region2D< Array2Doperator() (const Index1D &I, const Index1D &J)
Toperator() (Subscript i, Subscript j)
const Toperator() (Subscript i, Subscript j) const
Region2D< Array2D > & operator= (const Region2D< Array2D > &R)
Region2D< Array2D > & operator= (const const_Region2D< Array2D > &R)
Region2D< Array2D > & operator= (const Array2D &R)
Region2D< Array2D > & operator= (const T &scalar)

Protected Attributes

Array2DA_
Subscript offset_ [2]
Subscript dim_ [2]

Detailed Description

template<class Array2D>
class TNT::Region2D< Array2D >

Definition at line 46 of file region2d.h.


Member Typedef Documentation

template<class Array2D>
typedef const T* TNT::Region2D< Array2D >::const_iterator

Definition at line 62 of file region2d.h.

template<class Array2D>
typedef const T& TNT::Region2D< Array2D >::const_reference

Definition at line 63 of file region2d.h.

template<class Array2D>
typedef T TNT::Region2D< Array2D >::element_type

Definition at line 58 of file region2d.h.

template<class Array2D>
typedef T* TNT::Region2D< Array2D >::iterator

Definition at line 60 of file region2d.h.

template<class Array2D>
typedef T* TNT::Region2D< Array2D >::pointer

Definition at line 59 of file region2d.h.

template<class Array2D>
typedef T& TNT::Region2D< Array2D >::reference

Definition at line 61 of file region2d.h.

template<class Array2D>
typedef Subscript TNT::Region2D< Array2D >::size_type

Definition at line 56 of file region2d.h.

template<class Array2D>
typedef Array2D::value_type TNT::Region2D< Array2D >::T

Definition at line 55 of file region2d.h.

template<class Array2D>
typedef T TNT::Region2D< Array2D >::value_type

Definition at line 57 of file region2d.h.


Constructor & Destructor Documentation

template<class Array2D>
TNT::Region2D< Array2D >::Region2D ( Array2D A,
Subscript  i1,
Subscript  i2,
Subscript  j1,
Subscript  j2 
) [inline]
template<class Array2D>
TNT::Region2D< Array2D >::Region2D ( Array2D A,
const Index1D I,
const Index1D J 
) [inline]

Member Function Documentation

template<class Array2D>
Array2D& TNT::Region2D< Array2D >::array ( ) [inline]

Definition at line 65 of file region2d.h.

References TNT::Region2D< Array2D >::A_.

template<class Array2D>
const Array2D& TNT::Region2D< Array2D >::array ( ) const [inline]

Definition at line 66 of file region2d.h.

References TNT::Region2D< Array2D >::A_.

template<class Array2D>
Subscript TNT::Region2D< Array2D >::dim ( Subscript  i) const [inline]
template<class Array2D>
Subscript TNT::Region2D< Array2D >::lbound ( ) const [inline]
template<class Array2D>
Subscript TNT::Region2D< Array2D >::num_cols ( ) const [inline]

Definition at line 69 of file region2d.h.

References TNT::Region2D< Array2D >::dim_.

Referenced by TNT::Region2D< Array2D >::operator=().

template<class Array2D>
Subscript TNT::Region2D< Array2D >::num_rows ( ) const [inline]

Definition at line 68 of file region2d.h.

References TNT::Region2D< Array2D >::dim_.

Referenced by TNT::Region2D< Array2D >::operator=().

template<class Array2D>
Subscript TNT::Region2D< Array2D >::offset ( Subscript  i) const [inline]
template<class Array2D>
Region2D<Array2D> TNT::Region2D< Array2D >::operator() ( const Index1D I,
const Index1D J 
) [inline]
template<class Array2D>
const T& TNT::Region2D< Array2D >::operator() ( Subscript  i,
Subscript  j 
) const [inline]
template<class Array2D>
Region2D<Array2D> TNT::Region2D< Array2D >::operator() ( Subscript  i1,
Subscript  i2,
Subscript  j1,
Subscript  j2 
) [inline]
template<class Array2D>
T& TNT::Region2D< Array2D >::operator() ( Subscript  i,
Subscript  j 
) [inline]
template<class Array2D>
Region2D<Array2D>& TNT::Region2D< Array2D >::operator= ( const Array2D R) [inline]
template<class Array2D>
Region2D<Array2D>& TNT::Region2D< Array2D >::operator= ( const Region2D< Array2D > &  R) [inline]
template<class Array2D>
Region2D<Array2D>& TNT::Region2D< Array2D >::operator= ( const T scalar) [inline]

Member Data Documentation


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