$extrastylesheet
#include <mln/core/internal/graph_psite_base.hh>
Public Member Functions | |
| const S::graph_element & | element () const |
| bool | has_target () const |
| void | invalidate () |
| bool | is_valid () const |
| operator const typename S::graph_element & () const | |
| operator typename S::graph_element::id_t () const | |
| operator unsigned () const | |
| const S::graph_element & | p_hook_ () const |
| const S::site & | subj_ () |
| const site & | to_site () const |
| void | change_target (const S &new_target) |
| void | update_id (unsigned elt_id) |
| const S * | target_ () const |
| const S & | site_set () const |
| const S::graph_t & | graph () const |
| id_t | id () const |
Protected Member Functions | |
| graph_psite_base () | |
| graph_psite_base (const S &s) | |
| graph_psite_base (const S &, unsigned id) | |
Protected Attributes | |
| S::graph_element | elt_ |
| const S * | s_ |
| S::site | site_ |
Public Types | |
| typedef Pseudo_Site< void > | category |
| typedef E | exact_t |
| typedef S::graph_element::id_t | id_t |
| typedef mln::metal::unqualif < q_site_ >::ret | site |
| typedef S | target |
Definition at line 48 of file graph_psite_base.hh.
|
protected |
Constructors.
|
protected |
t A site set.
|
protected |
t A site set.
id The id of the element associated to this psite. | void mln::internal::graph_psite_base< S, E >::change_target | ( | const S & | new_target | ) |
Setters.
Change the targe site set.
| const S::graph_element& mln::internal::graph_psite_base< S, E >::element | ( | ) | const |
Explicit conversion towards the graph element (vertex or edge).
| const S::graph_t& mln::internal::graph_psite_base< S, E >::graph | ( | ) | const |
Return the graph associated to the target of this psite.
|
inherited |
| id_t mln::internal::graph_psite_base< S, E >::id | ( | ) | const |
Return the id of the graph element designated by this psite.
| void mln::internal::graph_psite_base< S, E >::invalidate | ( | ) |
Invalidate this psite.
| bool mln::internal::graph_psite_base< S, E >::is_valid | ( | ) | const |
Check whether it is valid.
| mln::internal::graph_psite_base< S, E >::operator const typename S::graph_element & | ( | ) | const |
Conversion towards the graph element (vertex or edge).
| mln::internal::graph_psite_base< S, E >::operator typename S::graph_element::id_t | ( | ) | const |
Convertion towards the graph element Id.
| mln::internal::graph_psite_base< S, E >::operator unsigned | ( | ) | const |
Convertion towards the graph element Id.
| const S::graph_element& mln::internal::graph_psite_base< S, E >::p_hook_ | ( | ) | const |
INTERNAL_API Return the underlying element.
| const S& mln::internal::graph_psite_base< S, E >::site_set | ( | ) | const |
Return the site set (the target).
| const S ::site& mln::internal::graph_psite_base< S, E >::subj_ | ( | ) |
| const S* mln::internal::graph_psite_base< S, E >::target_ | ( | ) | const |
Getters.
Return the target (the site set).
|
inherited |
| void mln::internal::graph_psite_base< S, E >::update_id | ( | unsigned | elt_id | ) |
Update the underlying element's id.
This element can be an edge, a vertex...
|
protected |
Definition at line 126 of file graph_psite_base.hh.
|
protected |
Definition at line 124 of file graph_psite_base.hh.
|
protected |
Definition at line 125 of file graph_psite_base.hh.
|
inherited |
Definition at line 69 of file pseudo_site.hh.
|
inherited |
| typedef S::graph_element::id_t mln::internal::graph_psite_base< S, E >::id_t |
Definition at line 60 of file graph_psite_base.hh.
|
inherited |
Definition at line 59 of file pseudo_site_base.hh.
| typedef S mln::internal::graph_psite_base< S, E >::target |
Definition at line 55 of file graph_psite_base.hh.