oln::abstract::data_type_image_with_dim< Dim, Exact > Class Template Reference

#include <image_with_type_with_dim.hh>

Inheritance diagram for oln::abstract::data_type_image_with_dim< Dim, Exact >:

Inheritance graph
[legend]
Collaboration diagram for oln::abstract::data_type_image_with_dim< Dim, Exact >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef data_type_image< Exact > self_type
typedef Exact exact_type

Public Member Functions

exact_typeoperator= (self_type rhs)
 Perform a shallow copy between rhs and the current point, the points will not be duplicated but shared between the two images.

Static Public Member Functions

static std::string name ()

Detailed Description

template<unsigned Dim, class Exact>
class oln::abstract::data_type_image_with_dim< Dim, Exact >

This class when used in a function declaration, force the function to only accept images with a dimension equal to Dim.

Definition at line 156 of file image_with_type_with_dim.hh.


Member Function Documentation

template<unsigned Dim, class Exact>
exact_type& oln::abstract::data_type_image_with_dim< Dim, Exact >::operator= ( self_type  rhs  )  [inline]

Perform a shallow copy between rhs and the current point, the points will not be duplicated but shared between the two images.

See also:
image::clone()

Reimplemented from oln::abstract::data_type_image< Exact >.

Reimplemented in oln::abstract::vectorial_image_with_dim< Dim, Exact >, oln::abstract::non_vectorial_image_with_dim< Dim, Exact >, oln::abstract::binary_image_with_dim< Dim, Exact >, oln::abstract::integer_image_with_dim< Dim, Exact >, and oln::abstract::decimal_image_with_dim< Dim, Exact >.

Definition at line 173 of file image_with_type_with_dim.hh.

References mlc_hierarchy::any_with_diamond< E >::exact(), and mlc_hierarchy::any_with_diamond< Exact >::exact().

00174       {
00175         return this->exact().assign(rhs.exact());
00176       }


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