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

Definition at line 36 of file concept/doc/dpoint.hh.


Member Typedef Documentation

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

Coordinate associated type.

Definition at line 56 of file concept/doc/dpoint.hh.

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

Dpsite associated type.

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

Definition at line 52 of file concept/doc/dpoint.hh.

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

Site associated type.

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

Definition at line 47 of file concept/doc/dpoint.hh.


Member Enumeration Documentation

template<typename E >
anonymous enum
Enumerator:
dim 

Dimension of the space.

Invariant:
dim > 0

Definition at line 42 of file concept/doc/dpoint.hh.


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.