oln::morpho::attr::other_image< Dad, I, Exact > Class Template Reference

Metaclass used to change attribute behavior. More...

#include <attributes.hh>

Inheritance diagram for oln::morpho::attr::other_image< Dad, I, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::morpho::attr::other_image< Dad, I, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef other_image< Dad,
I, Exact > 
self_type
typedef oln::abstract::image<
typename mlc::exact< I
>::ret > 
im_type
typedef mlc::exact_vt< self_type,
Exact >::ret 
exact_type
typedef oln::morpho::attr::attr_traits<
exact_type >::value_type 
value_type
typedef oln::morpho::attr::attr_traits<
exact_type >::env_type 
env_type
typedef oln::morpho::attr::attr_traits<
exact_type >::lambda_type 
lambda_type
typedef change_exact< Dad,
typename mlc::exact_vt< other_image<
Dad, I, Exact >, Exact
>::ret >::ret 
super_type

Public Member Functions

 other_image ()
 Constructor.
 other_image (const lambda_type &lambda)
 lambda_type Constructor.
template<typename IM>
 other_image (const oln::abstract::image< IM > &, const typename mlc::exact< I >::ret::point_type &p, const env_type &e)
 Image Constructor.

Detailed Description

template<class Dad, class I, class Exact = mlc::final>
class oln::morpho::attr::other_image< Dad, I, Exact >

Metaclass used to change attribute behavior.

This class do the same job that its Dad parameter, but force it to work on other data.

Definition at line 501 of file morpho/attributes.hh.


Constructor & Destructor Documentation

template<class Dad, class I, class Exact = mlc::final>
oln::morpho::attr::other_image< Dad, I, Exact >::other_image (  )  [inline]

Constructor.

Dispatch to Dad constructor.

Definition at line 517 of file morpho/attributes.hh.

00517                      : super_type()
00518         {
00519         };

template<class Dad, class I, class Exact = mlc::final>
oln::morpho::attr::other_image< Dad, I, Exact >::other_image ( const lambda_type lambda  )  [inline]

lambda_type Constructor.

Dispatch to Dad constructor.

Definition at line 526 of file morpho/attributes.hh.

00526                                               : super_type(lambda)
00527         {
00528         };

template<class Dad, class I, class Exact = mlc::final>
template<typename IM>
oln::morpho::attr::other_image< Dad, I, Exact >::other_image ( const oln::abstract::image< IM > &  ,
const typename mlc::exact< I >::ret::point_type &  p,
const env_type e 
) [inline]

Image Constructor.

Dispatch to Dad constructor but substitute image argument with the image contained in the environment.

Definition at line 537 of file morpho/attributes.hh.

00539                                        : super_type(e.getImage(), p, e)
00540         {
00541         }


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