oln::abstract::window< Exact > Struct Template Reference

Window. More...

#include <window.hh>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef struct_elt< Exact > super_type
 Set super type.

typedef Exact exact_type
 Set exact type.

typedef struct_elt_traits<
Exact >::dpoint_type 
dpoint_type
 The associate image's type of dpoint (move point).


Static Public Member Functions

std::string name ()
 Return the name of the type.


Protected Member Functions

exact_typeadd_dp (const abstract::dpoint< dpoint_type > &dp)
 Add a point to the window.

 window ()
 Do nothing, used only by sub-classes.


Friends

class struct_elt< exact_type >

Detailed Description

template<class Exact>
struct oln::abstract::window< Exact >

Window.

A window is a set of points and this class defines how to deal with.

Definition at line 62 of file window.hh.


Member Typedef Documentation

template<class Exact>
typedef struct_elt_traits<Exact>::dpoint_type oln::abstract::window< Exact >::dpoint_type
 

The associate image's type of dpoint (move point).

Warning:
Prefer the macros oln_dpoint_type(Pointable) and oln_dpoint_type_(Pointable) (the same without the 'typename' keyword)

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

Reimplemented in oln::abstract::windownd< Exact >, oln::window1d, oln::window2d, oln::window3d, oln::abstract::window_base< window< Exact >, Exact >, oln::abstract::window_base< window< window3d >, window3d >, oln::abstract::window_base< window< window2d >, window2d >, oln::abstract::window_base< window< window1d >, window1d >, oln::abstract::windownd< window1d >, oln::abstract::windownd< window3d >, and oln::abstract::windownd< window2d >.

Definition at line 72 of file window.hh.


Member Function Documentation

template<class Exact>
exact_type& oln::abstract::window< Exact >::add_dp const abstract::dpoint< dpoint_type > &  dp  )  [inline, protected]
 

Add a point to the window.

Add a new member to the window.

Definition at line 91 of file window.hh.

00092       {
00093         return this->exact().add_(dp.exact());
00094       }


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