Public Types | Public Member Functions

mln::doc::Dpoint< E > Struct Template Reference

Documentation class for mln::Dpoint. More...

#include <dpoint.hh>

Inheritance diagram for mln::doc::Dpoint< E >:
Inheritance graph

List of all members.

Public Types

enum  { dim }
typedef void coord
typedef void dpoint
 Dpsite associated type.
typedef void point
 Site associated type.

Public Member Functions

coord operator[] (unsigned i) const
 Read-only access to the i-th coordinate value.

Detailed Description

template<typename E>
struct mln::doc::Dpoint< E >

Documentation class for mln::Dpoint.

See also:
mln::Dpoint

Member Typedef Documentation

template<typename E >
typedef void mln::doc::Dpoint< E >::coord

Coordinate associated type.

template<typename E >
typedef void mln::doc::Dpoint< E >::dpoint

Dpsite associated type.

Invariant:
This type has to derive from mln::Dpoint.
template<typename E >
typedef void mln::doc::Dpoint< E >::point

Site associated type.

Invariant:
This type has to derive from mln::Point.

Member Enumeration Documentation

template<typename E >
anonymous enum
Enumerator:
dim 

Dimension of the space.

Invariant:
dim > 0

Member Function Documentation

template<typename E >
coord mln::doc::Dpoint< E >::operator[] ( unsigned  i  )  const

Read-only access to the i-th coordinate value.

Parameters:
[in] i The coordinate index.
Precondition:
i < dim
Returns:
The value of the i-th coordinate.