#include <p_vertices_psite.hh>
Public Types | |
typedef Pseudo_Site< void > | category |
typedef p_vertices_psite< G, F > | exact_t |
typedef p_vertices< G, F > ::graph_element::id_t | id_t |
typedef mln::metal::unqualif < q_site_ >::ret | site |
typedef p_vertices< G, F > | target |
typedef p_vertices< G, F > | target_t |
Public Member Functions | |
const p_vertices< G, F > ::graph_element & | element () const |
Explicit conversion towards the graph element (vertex or edge). | |
bool | has_target () const |
void | invalidate () |
Invalidate this psite. | |
bool | is_valid () const |
Check whether it is valid. | |
operator const typename p_vertices< G, F >::graph_element & () const | |
Conversion towards the graph element (vertex or edge). | |
operator typename p_vertices< G, F >::graph_element::id_t () const | |
Convertion towards the graph element Id. | |
operator unsigned () const | |
Convertion towards the graph element Id. | |
const p_vertices< G, F > ::graph_element & | p_hook_ () const |
Return the underlying element. | |
p_vertices_psite () | |
p_vertices_psite (const p_vertices< G, F > &s) | |
p_vertices_psite (const p_vertices< G, F > &s, unsigned id) | |
const p_vertices< G, F >::site & | subj_ () |
const site & | to_site () const |
const util::vertex< G > & | v () const |
void | change_target (const p_vertices< G, F > &new_target) |
Setters. | |
void | update_id (unsigned elt_id) |
Update the underlying element's id. | |
const p_vertices< G, F > * | target_ () const |
Getters. | |
const p_vertices< G, F > & | site_set () const |
Return the site set (the target). | |
const p_vertices< G, F >::graph_t & | graph () const |
Return the graph associated to the target of this psite. | |
id_t | id () const |
Return the id of the graph element designated by this psite. | |
Protected Attributes | |
p_vertices< G, F >::graph_element | elt_ |
const p_vertices< G, F > * | s_ |
p_vertices< G, F >::site | site_ |
Private Types | |
typedef p_vertices_psite< G, F > | self_ |
typedef internal::graph_psite_base < p_vertices< G, F >, self_ > | super_ |
typedef Pseudo_Site<void> mln::Pseudo_Site< p_vertices_psite< G, F > >::category [inherited] |
Reimplemented from mln::Site_Proxy< p_vertices_psite< G, F > >.
typedef p_vertices_psite< G, F > mln::Object< p_vertices_psite< G, F > >::exact_t [inherited] |
typedef p_vertices< G, F > ::graph_element::id_t mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::id_t [inherited] |
typedef p_vertices_psite<G,F> mln::p_vertices_psite< G, F >::self_ [private] |
typedef mln::metal::unqualif< q_site_ >::ret mln::internal::pseudo_site_base_< const p_vertices< G, F >::site & , p_vertices_psite< G, F > >::site [inherited] |
typedef internal::graph_psite_base<p_vertices<G,F>, self_> mln::p_vertices_psite< G, F >::super_ [private] |
typedef p_vertices< G, F > mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::target [inherited] |
typedef p_vertices<G,F> mln::p_vertices_psite< G, F >::target_t |
mln::p_vertices_psite< G, F >::p_vertices_psite | ( | ) | [inline] |
mln::p_vertices_psite< G, F >::p_vertices_psite | ( | const p_vertices< G, F > & | s | ) | [inline] |
mln::p_vertices_psite< G, F >::p_vertices_psite | ( | const p_vertices< G, F > & | s, | |
unsigned | id | |||
) | [inline] |
void mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::change_target | ( | const p_vertices< G, F > & | new_target | ) | [inherited] |
Setters.
Change the targe site set.
const p_vertices< G, F > ::graph_element& mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::element | ( | ) | const [inherited] |
Explicit conversion towards the graph element (vertex or edge).
const p_vertices< G, F > ::graph_t& mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::graph | ( | ) | const [inherited] |
Return the graph associated to the target of this psite.
bool mln::Pseudo_Site< p_vertices_psite< G, F > >::has_target | ( | ) | const [inherited] |
id_t mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::id | ( | ) | const [inherited] |
Return the id of the graph element designated by this psite.
Referenced by mln::operator!=(), and mln::operator==().
void mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::invalidate | ( | ) | [inherited] |
Invalidate this psite.
bool mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::is_valid | ( | ) | const [inherited] |
Check whether it is valid.
mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::operator const typename p_vertices< G, F > ::graph_element & | ( | ) | const [inherited] |
Conversion towards the graph element (vertex or edge).
mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::operator typename p_vertices< G, F > ::graph_element::id_t | ( | ) | const [inherited] |
Convertion towards the graph element Id.
mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::operator unsigned | ( | ) | const [inherited] |
Convertion towards the graph element Id.
const p_vertices< G, F > ::graph_element& mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::p_hook_ | ( | ) | const [inherited] |
Return the underlying element.
const p_vertices< G, F > & mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::site_set | ( | ) | const [inherited] |
Return the site set (the target).
const p_vertices< G, F > ::site& mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::subj_ | ( | ) | [inherited] |
const p_vertices< G, F > * mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::target_ | ( | ) | const [inherited] |
const site& mln::internal::pseudo_site_base_< const p_vertices< G, F >::site & , p_vertices_psite< G, F > >::to_site | ( | ) | const [inherited] |
void mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::update_id | ( | unsigned | elt_id | ) | [inherited] |
Update the underlying element's id.
This element can be an edge, a vertex...
const util::vertex< G > & mln::p_vertices_psite< G, F >::v | ( | ) | const [inline] |
p_vertices< G, F > ::graph_element mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::elt_ [protected, inherited] |
Referenced by mln::p_vertices_psite< G, F >::v().
const p_vertices< G, F > * mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::s_ [protected, inherited] |
p_vertices< G, F > ::site mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::site_ [protected, inherited] |