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

Documentation class for mln::Value_Set. More...

#include <value_set.hh>

Inheritance diagram for mln::doc::Value_Set< E >:

Inheritance graph

List of all members.

Public Types

typedef void bkd_viter
 Backward Value_Iterator associated type.
typedef void fwd_viter
 Forward Value_Iterator associated type.
typedef void value
 Value associated type.

Public Member Functions

bool has (const value &v) const
 Test if v belongs to this set of values.
unsigned index_of (const value &v) const
 Give the index of value v in this set.
unsigned nvalues () const
 Give the number of values in this set.
value operator[] (unsigned i) const
 Give the i-th value of this set.


Detailed Description

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

Documentation class for mln::Value_Set.

See also:
mln::Value_Set

Member Typedef Documentation

template<typename E >
typedef void mln::doc::Value_Set< E >::bkd_viter

Backward Value_Iterator associated type.

template<typename E >
typedef void mln::doc::Value_Set< E >::fwd_viter

Forward Value_Iterator associated type.

template<typename E >
typedef void mln::doc::Value_Set< E >::value

Value associated type.


Member Function Documentation

template<typename E >
bool mln::doc::Value_Set< E >::has ( const value v  )  const

Test if v belongs to this set of values.

Parameters:
[in] v A value.
Returns:
True if v is an element of the set of values.

template<typename E >
unsigned mln::doc::Value_Set< E >::index_of ( const value v  )  const

Give the index of value v in this set.

template<typename E >
unsigned mln::doc::Value_Set< E >::nvalues (  )  const

Give the number of values in this set.

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

Give the i-th value of this set.


Generated on Tue Jul 14 16:32:56 2009 for Milena (Olena) by  doxygen 1.5.9