mln::value::value_array< T, V > Struct Template Reference

Generic array class over indexed by a value set with type T. More...

#include <value_array.hh>

List of all members.

Public Member Functions

const V & operator() (const T &v) const
 }
const V & operator[] (unsigned i) const
 }
 value_array ()
 Constructors.
const mln::value::set< T > & vset () const
 }


Detailed Description

template<typename T, typename V>
struct mln::value::value_array< T, V >

Generic array class over indexed by a value set with type T.

Constructor & Destructor Documentation

template<typename T, typename V>
mln::value::value_array< T, V >::value_array (  )  [inline]

Constructors.

{


Member Function Documentation

template<typename T, typename V>
const V & mln::value::value_array< T, V >::operator() ( const T &  v  )  const [inline]

}

Access elements through a value of T. {

template<typename T, typename V>
const V & mln::value::value_array< T, V >::operator[] ( unsigned  i  )  const [inline]

}

Access elements through array indexes. {

template<typename T, typename V>
const mln::value::set< T > & mln::value::value_array< T, V >::vset (  )  const [inline]

}

Reference to the set of T.


Generated on Thu Sep 9 19:33:23 2010 for Milena (Olena) by  doxygen 1.5.6