Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::graph_elt_neighborhood_if< G, S, I > Struct Template Reference

Elementary neighborhood_if on graph class. More...

#include <graph_elt_neighborhood_if.hh>

Inheritance diagram for mln::graph_elt_neighborhood_if< G, S, I >:
Inheritance graph

Public Types

typedef neighb_bkd_niter
< graph_elt_window_if< G, S, I > > 
bkd_niter
 Backward site iterator associated type.
 
typedef neighb_fwd_niter
< graph_elt_window_if< G, S, I > > 
fwd_niter
 Forward site iterator associated type.
 
typedef fwd_niter niter
 Site iterator associated type.
 

Public Member Functions

 graph_elt_neighborhood_if ()
 Constructors @{ Construct an invalid neighborhood.
 
 graph_elt_neighborhood_if (const Image< I > &mask)
 
const I & mask () const
 @}
 

Detailed Description

template<typename G, typename S, typename I>
struct mln::graph_elt_neighborhood_if< G, S, I >

Elementary neighborhood_if on graph class.

Definition at line 43 of file graph_elt_neighborhood_if.hh.

Member Typedef Documentation

typedef neighb_bkd_niter<graph_elt_window_if< G, S, I > > mln::neighb< graph_elt_window_if< G, S, I > >::bkd_niter
inherited

Backward site iterator associated type.

Definition at line 87 of file mln/core/neighb.hh.

typedef neighb_fwd_niter<graph_elt_window_if< G, S, I > > mln::neighb< graph_elt_window_if< G, S, I > >::fwd_niter
inherited

Forward site iterator associated type.

Definition at line 84 of file mln/core/neighb.hh.

typedef fwd_niter mln::neighb< graph_elt_window_if< G, S, I > >::niter
inherited

Site iterator associated type.

Definition at line 90 of file mln/core/neighb.hh.

Constructor & Destructor Documentation

template<typename G , typename S , typename I >
mln::graph_elt_neighborhood_if< G, S, I >::graph_elt_neighborhood_if ( )
inline

Constructors @{ Construct an invalid neighborhood.

Definition at line 67 of file graph_elt_neighborhood_if.hh.

template<typename G , typename S , typename I >
mln::graph_elt_neighborhood_if< G, S, I >::graph_elt_neighborhood_if ( const Image< I > &  mask)
inline
Parameters
[in]maskA graph image of Boolean.

Definition at line 74 of file graph_elt_neighborhood_if.hh.

Member Function Documentation

template<typename G , typename S , typename I >
const I & mln::graph_elt_neighborhood_if< G, S, I >::mask ( ) const
inline

@}

Return the graph image used as mask.

Definition at line 83 of file graph_elt_neighborhood_if.hh.