#include <id2element.hh>
Public Types | |
typedef Function_v2v< void > | category |
typedef E | exact_t |
typedef void | mutable_result |
typedef Elt | result |
Public Member Functions | |
id2element (const Graph< G > &g) | |
id2element () | |
Elt | operator() (unsigned id) const |
Public Attributes | |
G | g_ |
Definition at line 46 of file id2element.hh.
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited] |
Reimplemented from mln::Function< E >.
Reimplemented in mln::Function_v2b< E >, mln::Function_v2b< f_box2d_t >, mln::Function_v2b< mln::fun::v2b::lnot< V > >, mln::Function_v2b< mln::fun::p2b::antilogy >, mln::Function_v2b< mln::fun::p2b::has< I > >, mln::Function_v2b< mln::fun::p2b::tautology >, mln::Function_v2b< keep_specific_colors >, mln::Function_v2b< my_box2d >, mln::Function_v2b< mln::topo::is_simple_cell< I > >, mln::Function_v2b< mln::world::inter_pixel::dim2::is_edge >, mln::Function_v2b< mln::world::inter_pixel::dim2::is_row_odd >, mln::Function_v2b< mln::world::inter_pixel::dim2::is_pixel >, mln::Function_v2b< mln::fun::v2b::threshold< V > >, mln::Function_v2b< mln::world::inter_pixel::is_separator >, mln::Function_v2b< mln::topo::is_n_face< N > >, mln::Function_v2b< not_to_remove >, mln::Function_v2b< mln::fun::p2b::chess >, mln::Function_v2b< f_box1d_t >, mln::Function_v2b< mln::world::inter_pixel::dim2::is_dot >, mln::Function_v2b< mln::fun::p2b::big_chess< B > >, mln::Function_v2b< mln::world::inter_pixel::is_pixel >, and mln::Function_v2b< f_box3d_t >.
Definition at line 93 of file function.hh.
typedef E mln::Object< E >::exact_t [inherited] |
typedef void mln::Function_v2v< E >::mutable_result [inherited] |
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()().