oln::abstract::data_type_image_with_dim< Dim, Exact > Struct 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_type & operator= (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

std::string name ()

Detailed Description

template<unsigned Dim, class Exact>
struct 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::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.

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


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