Public Types | Public Member Functions | Private Attributes

mln::util::ilcell< T > Struct Template Reference

Element of an item list. Store the data (key) used in soft_heap. More...

#include <soft_heap.hh>

List of all members.

Public Types

typedef util::tracked_ptr
< ilcell< T > > 
ilcell_t

Public Member Functions

 ilcell ()
 ilcell (const T &key, ilcell_t next=0)
const T & key () const
ilcell_t next () const
void set_key (const T &key)
void set_next (ilcell_t next)

Private Attributes

key_
ilcell_t next_

Detailed Description

template<typename T>
struct mln::util::ilcell< T >

Element of an item list. Store the data (key) used in soft_heap.

Definition at line 76 of file soft_heap.hh.


Member Typedef Documentation

template<typename T>
typedef util::tracked_ptr< ilcell<T> > mln::util::ilcell< T >::ilcell_t

Definition at line 78 of file soft_heap.hh.


Constructor & Destructor Documentation

template<typename T >
mln::util::ilcell< T >::ilcell (  )  [inline]

Definition at line 299 of file soft_heap.hh.

template<typename T>
mln::util::ilcell< T >::ilcell ( const T &  key,
ilcell_t  next = 0 
) [inline]

Definition at line 306 of file soft_heap.hh.


Member Function Documentation

template<typename T >
const T & mln::util::ilcell< T >::key (  )  const [inline]

Definition at line 324 of file soft_heap.hh.

References mln::util::ilcell< T >::key_.

template<typename T >
ilcell< T >::ilcell_t mln::util::ilcell< T >::next (  )  const [inline]

Definition at line 315 of file soft_heap.hh.

References mln::util::ilcell< T >::next_.

template<typename T>
void mln::util::ilcell< T >::set_key ( const T &  key  )  [inline]

Definition at line 342 of file soft_heap.hh.

References mln::util::ilcell< T >::key_.

template<typename T >
void mln::util::ilcell< T >::set_next ( ilcell_t  next  )  [inline]

Definition at line 333 of file soft_heap.hh.

References mln::util::ilcell< T >::next_.


Member Data Documentation

template<typename T>
T mln::util::ilcell< T >::key_ [private]

Definition at line 90 of file soft_heap.hh.

Referenced by mln::util::ilcell< T >::key(), and mln::util::ilcell< T >::set_key().

template<typename T>
ilcell_t mln::util::ilcell< T >::next_ [private]

Definition at line 91 of file soft_heap.hh.

Referenced by mln::util::ilcell< T >::next(), and mln::util::ilcell< T >::set_next().