Public Types | Public Member Functions | Protected Attributes | Private Types

mln::p_vertices_psite< G, F > Class Template Reference

#include <p_vertices_psite.hh>

Inheritance diagram for mln::p_vertices_psite< G, F >:
Inheritance graph

List of all members.

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 >::sitesubj_ ()
const siteto_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_

Detailed Description

template<typename G, typename F>
class mln::p_vertices_psite< G, F >

Definition at line 53 of file p_vertices_psite.hh.


Member Typedef Documentation

typedef Pseudo_Site<void> mln::Pseudo_Site< p_vertices_psite< G, F > >::category [inherited]

Reimplemented from mln::Site_Proxy< p_vertices_psite< G, F > >.

Definition at line 66 of file pseudo_site.hh.

typedef p_vertices_psite< G, F > mln::Object< p_vertices_psite< G, F > >::exact_t [inherited]

Definition at line 173 of file object.hh.

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]

Definition at line 60 of file graph_psite_base.hh.

template<typename G, typename F>
typedef p_vertices_psite<G,F> mln::p_vertices_psite< G, F >::self_ [private]

Definition at line 56 of file p_vertices_psite.hh.

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]

Definition at line 57 of file pseudo_site_base.hh.

template<typename G, typename F>
typedef internal::graph_psite_base<p_vertices<G,F>, self_> mln::p_vertices_psite< G, F >::super_ [private]

Definition at line 57 of file p_vertices_psite.hh.

typedef p_vertices< G, F > mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::target [inherited]

Definition at line 55 of file graph_psite_base.hh.

template<typename G, typename F>
typedef p_vertices<G,F> mln::p_vertices_psite< G, F >::target_t

Definition at line 61 of file p_vertices_psite.hh.


Constructor & Destructor Documentation

template<typename G , typename F >
mln::p_vertices_psite< G, F >::p_vertices_psite (  )  [inline]

Definition at line 116 of file p_vertices_psite.hh.

template<typename G , typename F >
mln::p_vertices_psite< G, F >::p_vertices_psite ( const p_vertices< G, F > &  s  )  [inline]

Definition at line 122 of file p_vertices_psite.hh.

template<typename G , typename F >
mln::p_vertices_psite< G, F >::p_vertices_psite ( const p_vertices< G, F > &  s,
unsigned  id 
) [inline]

Definition at line 129 of file p_vertices_psite.hh.


Member Function Documentation

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]

Getters.

Return the target (the site set).

Referenced by mln::operator!=(), and mln::operator==().

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...

template<typename G , typename F >
const util::vertex< G > & mln::p_vertices_psite< G, F >::v (  )  const [inline]

Member Data Documentation

p_vertices< G, F > ::graph_element mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::elt_ [protected, inherited]

Definition at line 124 of file graph_psite_base.hh.

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]

Definition at line 122 of file graph_psite_base.hh.

p_vertices< G, F > ::site mln::internal::graph_psite_base< p_vertices< G, F > , p_vertices_psite< G, F > >::site_ [protected, inherited]

Definition at line 123 of file graph_psite_base.hh.