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

static 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::window_base< oln::abstract::window< oln::window1d >, oln::window1d >, oln::abstract::window_base< oln::abstract::window< Exact >, Exact >, oln::abstract::window_base< oln::abstract::window< oln::window3d >, oln::window3d >, and oln::abstract::window_base< oln::abstract::window< oln::window2d >, oln::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 Tue Feb 20 20:25:23 2007 for Olena by  doxygen 1.5.1