oln::morpher::piece_morpher< const SrcType, Exact > Struct Template Reference

The specialized version for `const' images. More...

#include <piece_morpher.hh>

Inheritance diagram for oln::morpher::piece_morpher< const SrcType, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::morpher::piece_morpher< const SrcType, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef piece_morpher< const
SrcType, Exact > 
self_type
 The self type.
typedef image_id< self_type
>::exact_type 
exact_type
 The exact type of the morpher.
typedef super_piece_morpher<
const SrcType, exact_type
super_type
 The upper class.
typedef image_id< exact_type
>::point_type 
point_type
 The morpher point type.
typedef image_id< exact_type
>::dpoint_type 
dpoint_type
 The morpher dpoint type.
typedef image_id< exact_type
>::size_type 
size_type
 The morpher size type.
typedef image_id< exact_type
>::value_type 
value_type
 The morpher value type.

Public Member Functions

 piece_morpher (const SrcType &ima, const dpoint_type p, const size_type s)
 Construct a piece morpher.
 piece_morpher (const self_type &r)
 Construct a piece morpher from another one.
 piece_morpher ()
 Empty constructor.
const value_type at (const point_type &p) const
 Return the stored value at the point.

Static Public Member Functions

static std::string name ()
 Useful to debug.

Detailed Description

template<class SrcType, class Exact>
struct oln::morpher::piece_morpher< const SrcType, Exact >

The specialized version for `const' images.

Definition at line 259 of file piece_morpher.hh.


Constructor & Destructor Documentation

template<class SrcType, class Exact>
oln::morpher::piece_morpher< const SrcType, Exact >::piece_morpher ( const SrcType &  ima,
const dpoint_type  p,
const size_type  s 
) [inline]

Construct a piece morpher.

Definition at line 281 of file piece_morpher.hh.

00283         : super_type(ima, p, s)
00284       {}

template<class SrcType, class Exact>
oln::morpher::piece_morpher< const SrcType, Exact >::piece_morpher (  )  [inline]

Empty constructor.

Needed by mlc_hierarchy::any_with_diamond.

Definition at line 296 of file piece_morpher.hh.

00296 {}


Member Function Documentation

template<class SrcType, class Exact>
const value_type oln::morpher::piece_morpher< const SrcType, Exact >::at ( const point_type p  )  const [inline]

Return the stored value at the point.

Definition at line 304 of file piece_morpher.hh.

00305       {
00306         return this->ima_[p + this->p_];
00307       }


The documentation for this struct was generated from the following file:
Generated on Tue Feb 20 20:28:07 2007 for Olena by  doxygen 1.5.1