oln::morpher::super_slicing_morpher< SrcType, Exact > Class Template Reference

Abstract slicing morpher class used for code factorization. More...

#include <slicing_morpher.hh>

Inheritance diagram for oln::morpher::super_slicing_morpher< SrcType, Exact >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef super_slicing_morpher<
SrcType, Exact > 
self_type
 The self type.
typedef image_id< self_type
>::exact_type 
exact_type
 The exact type of the morpher.
typedef abstract::generic_morpher<
SrcType, Exact > 
super_type
 The upper class.
typedef image_id< exact_type
>::size_type 
size_type
 The morpher size type.
typedef image_id< exact_type
>::impl_type 
impl_type
 The morpher underlying implementation.

Public Member Functions

const size_typesize () const
 Override the size method.
const impl_typeimpl () const
 Override the impl method.
impl_typeimpl ()
 Override the impl method.
coord get_slice () const
 Return the last coordinate' value.

Static Public Member Functions

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

Protected Member Functions

 super_slicing_morpher (const SrcType &ima, const coord slice)
 Default constructor.
 super_slicing_morpher ()
 Empty constructor.

Protected Attributes

coord slice_
 The last coordinate.
const size_type size_
 The size of the N-1 dimension image.
impl_type impl_
 Implementation type of the image. It can be an array, a std::vector, ...

Detailed Description

template<class SrcType, class Exact>
class oln::morpher::super_slicing_morpher< SrcType, Exact >

Abstract slicing morpher class used for code factorization.

Definition at line 149 of file slicing_morpher.hh.


Constructor & Destructor Documentation

template<class SrcType, class Exact>
oln::morpher::super_slicing_morpher< SrcType, Exact >::super_slicing_morpher ( const SrcType &  ima,
const coord  slice 
) [inline, protected]

Default constructor.

One can not use this constructor to instantiate this class since it is protected.

Definition at line 207 of file slicing_morpher.hh.

00208         : super_type(ima), slice_(slice), size_(image_size_dec(this->ima_.size())), impl_(size_)
00209       {}

template<class SrcType, class Exact>
oln::morpher::super_slicing_morpher< SrcType, Exact >::super_slicing_morpher (  )  [inline, protected]

Empty constructor.

Needed by mlc_hierarchy::any_with_diamond.

Todo:
create empty constructors for impl_, ...

Definition at line 217 of file slicing_morpher.hh.

00218         : super_type(), slice_(), size_(), impl_()
00219       {}


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