Point site associated to a mln::p_faces. More...
#include <faces_psite.hh>
Public Types | |
typedef Pseudo_Site< void > | category |
typedef faces_psite< N, D, P > | exact_t |
typedef mln::metal::unqualif < q_site_ >::ret | site |
typedef p_faces< N, D, P > | target |
Public Member Functions | |
bool | has_target () const |
const site & | to_site () const |
faces_psite () | |
Construction and assignment. | |
faces_psite (const p_faces< N, D, P > &pf, const topo::n_face< N, D > &face) | |
faces_psite (const p_faces< N, D, P > &pf, unsigned face_id) | |
bool | is_valid () const |
Psite manipulators. | |
void | invalidate () |
Invalidate this psite. | |
const target & | site_set () const |
Site set manipulators. | |
const target * | target_ () const |
Get a pointer to the target site_set. | |
void | change_target (const target &new_target) |
Set the target site_set. | |
const P & | subj_ () |
Proxy manipulators. | |
topo::n_face< N, D > | face () const |
Face handle manipulators. | |
unsigned | n () const |
Return the dimension of the face of this psite. | |
unsigned | face_id () const |
Return the id of the face of this psite. | |
Private Attributes | |
const target * | pf_ |
Complex-related members. | |
topo::n_face< N, D > | face_ |
The handle of the face this psite is pointing towards. | |
| |
P | p_ |
void | update_ () |
Site-related members. |
Point site associated to a mln::p_faces.
N | The dimension of the face associated to this psite. | |
D | The dimension of the complex this psite belongs to. | |
P | The type of point associated to this psite. |
typedef Pseudo_Site<void> mln::Pseudo_Site< faces_psite< N, D, P > >::category [inherited] |
Reimplemented from mln::Site_Proxy< faces_psite< N, D, P > >.
typedef faces_psite< N, D, P > mln::Object< faces_psite< N, D, P > >::exact_t [inherited] |
typedef mln::metal::unqualif< q_site_ >::ret mln::internal::pseudo_site_base_< const P & , faces_psite< N, D, P > >::site [inherited] |
typedef p_faces<N, D, P> mln::faces_psite< N, D, P >::target |
mln::faces_psite< N, D, P >::faces_psite | ( | ) | [inline] |
Construction and assignment.
References mln::faces_psite< N, D, P >::invalidate().
mln::faces_psite< N, D, P >::faces_psite | ( | const p_faces< N, D, P > & | pf, | |
const topo::n_face< N, D > & | face | |||
) | [inline] |
References mln::faces_psite< N, D, P >::update_().
mln::faces_psite< N, D, P >::faces_psite | ( | const p_faces< N, D, P > & | pf, | |
unsigned | face_id | |||
) | [inline] |
References mln::faces_psite< N, D, P >::update_().
void mln::faces_psite< N, D, P >::change_target | ( | const target & | new_target | ) | [inline] |
Set the target site_set.
References mln::p_faces< N, D, P >::cplx(), mln::faces_psite< N, D, P >::face_, mln::faces_psite< N, D, P >::invalidate(), and mln::faces_psite< N, D, P >::pf_.
topo::n_face< N, D > mln::faces_psite< N, D, P >::face | ( | ) | const [inline] |
Face handle manipulators.
Return the face handle of this point site.
References mln::faces_psite< N, D, P >::face_.
Referenced by mln::operator!=(), and mln::operator==().
unsigned mln::faces_psite< N, D, P >::face_id | ( | ) | const [inline] |
Return the id of the face of this psite.
References mln::faces_psite< N, D, P >::face_.
bool mln::Pseudo_Site< faces_psite< N, D, P > >::has_target | ( | ) | const [inherited] |
void mln::faces_psite< N, D, P >::invalidate | ( | ) | [inline] |
Invalidate this psite.
References mln::faces_psite< N, D, P >::face_.
Referenced by mln::faces_psite< N, D, P >::change_target(), and mln::faces_psite< N, D, P >::faces_psite().
bool mln::faces_psite< N, D, P >::is_valid | ( | ) | const [inline] |
Psite manipulators.
Is this psite valid?
References mln::faces_psite< N, D, P >::face_.
Referenced by mln::p_faces< N, D, P >::has(), and mln::faces_psite< N, D, P >::update_().
unsigned mln::faces_psite< N, D, P >::n | ( | ) | const [inline] |
Return the dimension of the face of this psite.
References mln::faces_psite< N, D, P >::face_.
const p_faces< N, D, P > & mln::faces_psite< N, D, P >::site_set | ( | ) | const [inline] |
Site set manipulators.
Return the p_faces this site is built on. (shortcut for *target()).
References mln::faces_psite< N, D, P >::target_().
Referenced by mln::p_faces< N, D, P >::has(), mln::operator!=(), and mln::operator==().
const P & mln::faces_psite< N, D, P >::subj_ | ( | ) | [inline] |
Proxy manipulators.
Return the site corresponding to this psite.
References mln::faces_psite< N, D, P >::p_.
const p_faces< N, D, P > * mln::faces_psite< N, D, P >::target_ | ( | ) | const [inline] |
Get a pointer to the target site_set.
References mln::faces_psite< N, D, P >::pf_.
Referenced by mln::faces_psite< N, D, P >::site_set().
const site& mln::internal::pseudo_site_base_< const P & , faces_psite< N, D, P > >::to_site | ( | ) | const [inherited] |
void mln::faces_psite< N, D, P >::update_ | ( | ) | [inline, private] |
Site-related members.
Update the site corresponding to this psite.
References mln::faces_psite< N, D, P >::is_valid().
Referenced by mln::faces_psite< N, D, P >::faces_psite().
topo::n_face<N, D> mln::faces_psite< N, D, P >::face_ [private] |
The handle of the face this psite is pointing towards.
Referenced by mln::faces_psite< N, D, P >::change_target(), mln::faces_psite< N, D, P >::face(), mln::faces_psite< N, D, P >::face_id(), mln::faces_psite< N, D, P >::invalidate(), mln::faces_psite< N, D, P >::is_valid(), and mln::faces_psite< N, D, P >::n().
P mln::faces_psite< N, D, P >::p_ [private] |
Referenced by mln::faces_psite< N, D, P >::subj_().
const target* mln::faces_psite< N, D, P >::pf_ [private] |
Complex-related members.
The mln::p_faces this point site belongs to.
Referenced by mln::faces_psite< N, D, P >::change_target(), and mln::faces_psite< N, D, P >::target_().