oln::abstract::behavior< Exact > Class Template Reference

#include <behavior.hh>

Inheritance diagram for oln::abstract::behavior< Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::abstract::behavior< Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef behavior< Exact > self_type
typedef mlc::exact_vt< self_type,
Exact >::ret 
exact_type

Public Member Functions

template<class I> void adapt_border (oln::abstract::image< I > &im, coord border_size) const
 Adapt the border of an image.


Protected Member Functions

 behavior ()
 CTor.


Detailed Description

template<class Exact>
class oln::abstract::behavior< Exact >

Behavior hierarchy.

The aim of this one is to describe how an algorithm should work on borders.

Definition at line 47 of file olena/oln/core/abstract/behavior.hh.


Member Typedef Documentation

template<class Exact>
typedef mlc::exact_vt< self_type , Exact >::ret oln::abstract::behavior< Exact >::exact_type
 

The exact type.

Reimplemented in oln::mirror_behavior< Exact >, oln::value_behavior< T, Exact >, and oln::replicate_behavior< Exact >.

Definition at line 53 of file olena/oln/core/abstract/behavior.hh.

template<class Exact>
typedef behavior<Exact> oln::abstract::behavior< Exact >::self_type
 

The self type.

Reimplemented in oln::mirror_behavior< Exact >, oln::value_behavior< T, Exact >, and oln::replicate_behavior< Exact >.

Definition at line 51 of file olena/oln/core/abstract/behavior.hh.


Constructor & Destructor Documentation

template<class Exact>
oln::abstract::behavior< Exact >::behavior  )  [inline, protected]
 

CTor.

Do nothing, used only by sub-classes.

Definition at line 71 of file olena/oln/core/abstract/behavior.hh.

00071 {};


Member Function Documentation

template<class Exact>
template<class I>
void oln::abstract::behavior< Exact >::adapt_border oln::abstract::image< I > &  im,
coord  border_size
const [inline]
 

Adapt the border of an image.

Adapt the border of an image regarding the kind of behavior wanted.

Definition at line 61 of file olena/oln/core/abstract/behavior.hh.

00062       {
00063         mlc_dispatch(adapt_border)(im, border_size);
00064       };


The documentation for this class was generated from the following file:
Generated on Thu Apr 15 20:14:44 2004 for Olena by doxygen 1.3.6-20040222