#include <id2element.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef id2element< G, Elt > | exact_t |
typedef void | mutable_result |
typedef Elt | result |
Public Member Functions | |
id2element () | |
id2element (const Graph< G > &g) | |
Elt | operator() (unsigned id) const |
Public Attributes | |
G | g_ |
Definition at line 46 of file id2element.hh.
typedef Function_v2v<void> mln::Function_v2v< id2element< G, Elt > >::category [inherited] |
Reimplemented from mln::Function< id2element< G, Elt > >.
Definition at line 126 of file function.hh.
typedef id2element< G, Elt > mln::Object< id2element< G, Elt > >::exact_t [inherited] |
typedef void mln::Function_v2v< id2element< G, Elt > >::mutable_result [inherited] |
Definition at line 127 of file function.hh.
typedef Elt mln::util::internal::id2element< G, Elt >::result |
Definition at line 48 of file id2element.hh.
mln::util::internal::id2element< G, Elt >::id2element | ( | ) | [inline] |
Definition at line 62 of file id2element.hh.
mln::util::internal::id2element< G, Elt >::id2element | ( | const Graph< G > & | g | ) | [inline] |
Definition at line 68 of file id2element.hh.
Elt mln::util::internal::id2element< G, Elt >::operator() | ( | unsigned | id | ) | const [inline] |
FIXME: cannot check whether the graph has its element since we must call the proper member according to the element type (has_v or has_e)!
Definition at line 76 of file id2element.hh.
References mln::util::internal::id2element< G, Elt >::g_.
G mln::util::internal::id2element< G, Elt >::g_ |
Definition at line 54 of file id2element.hh.
Referenced by mln::util::internal::id2element< G, Elt >::operator()().