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

Window N dimensions. More...

#include <windownd.hh>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef window_base< window<
Exact >, Exact > 
super_type
 Set the super type.
typedef windownd< Exact > self_type
 Set the self type.
typedef Exact exact_type
 Set the 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_ (const dpoint_type &dp)
 Add a point to the window.
 windownd ()
 Construct a window.
 windownd (unsigned size)
 Construct a w_window of 'size' elements.

Friends

class window< exact_type >

Detailed Description

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

Window N dimensions.

A window is a set of points. This class defines how to deal with. These points have N dimensions.

Definition at line 59 of file windownd.hh.


Member Typedef Documentation

template<class Exact>
typedef struct_elt_traits<Exact>::dpoint_type oln::abstract::windownd< 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::window_base< Sup, Exact >.

Reimplemented in oln::window1d, oln::window2d, and oln::window3d.

Definition at line 71 of file windownd.hh.


Constructor & Destructor Documentation

template<class Exact>
oln::abstract::windownd< Exact >::windownd ( unsigned  size  )  [inline, protected]

Construct a w_window of 'size' elements.

Definition at line 111 of file windownd.hh.

00111                               : super_type(size)
00112       {}


Member Function Documentation

template<class Exact>
exact_type& oln::abstract::windownd< Exact >::add_ ( const dpoint_type dp  )  [inline, protected]

Add a point to the window.

Add a new member to the window.

Definition at line 91 of file windownd.hh.

Referenced by oln::window3d::add(), oln::window2d::add(), and oln::window1d::add().

00092       {
00093         if (dp.is_centered())
00094           this->centered_ = true;
00095         if (!(has_(dp)))
00096           this->dp_.push_back(dp);
00097         this->delta_update(dp);
00098         return this->exact();
00099       }


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