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

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


Protected Member Functions

exact_typeadd_ (const dpoint_type &dp)
 Add a point to the window.
  • dp The new point.


 windownd ()
 Construct a window.

 windownd (unsigned size)
 Construct a w_window of 'size' elements.
  • size The number of elements to reserve for the window.



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< window< Exact >, Exact >.

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

Definition at line 71 of file windownd.hh.


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.

  • dp The new point.

Add a new member to the window.

Definition at line 91 of file windownd.hh.

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 Thu Apr 15 20:15:19 2004 for Olena by doxygen 1.3.6-20040222