Psite class for indexed site sets such as p_array. More...
#include <p_array.hh>

Public Types | |
| typedef Pseudo_Site< void > | category |
| typedef S::element | element |
| typedef p_indexed_psite< S > | exact_t |
| typedef mln::metal::unqualif < q_site_ >::ret | site |
| typedef S | target |
| typedef S | target_t |
Public Member Functions | |
| void | change_index (int i) |
| void | change_target (const S &newtarget) |
| void | dec_index () |
| bool | has_target () const |
| void | inc_index () |
| const util::index & | index () const |
| bool | is_valid () const |
| operator int () const | |
| operator unsigned () const | |
| operator util::index () const | |
| p_indexed_psite (const S &s, int i) | |
| p_indexed_psite () | |
| const element & | subj_ () |
| const S * | target_ () const |
| const site & | to_site () const |
| void | update_ () const |
Private Attributes | |
| util::index | i_ |
| element | p_ |
| const S * | s_ |
Psite class for indexed site sets such as p_array.
.
Definition at line 183 of file p_array.hh.
typedef Pseudo_Site<void> mln::Pseudo_Site< p_indexed_psite< S > >::category [inherited] |
Reimplemented from mln::Site_Proxy< p_indexed_psite< S > >.
Definition at line 66 of file pseudo_site.hh.
| typedef S ::element mln::p_indexed_psite< S >::element |
Definition at line 188 of file p_array.hh.
typedef p_indexed_psite< S > mln::Object< p_indexed_psite< S > >::exact_t [inherited] |
typedef mln::metal::unqualif< q_site_ >::ret mln::internal::pseudo_site_base_< const S::element & , p_indexed_psite< S > >::site [inherited] |
Definition at line 57 of file pseudo_site_base.hh.
| typedef S mln::p_indexed_psite< S >::target |
Definition at line 192 of file p_array.hh.
| typedef S mln::p_indexed_psite< S >::target_t |
Definition at line 194 of file p_array.hh.
| mln::p_indexed_psite< S >::p_indexed_psite | ( | ) | [inline] |
Definition at line 508 of file p_array.hh.
| mln::p_indexed_psite< S >::p_indexed_psite | ( | const S & | s, | |
| int | i | |||
| ) | [inline] |
Definition at line 516 of file p_array.hh.
References mln::p_indexed_psite< S >::update_().
| void mln::p_indexed_psite< S >::change_index | ( | int | i | ) | [inline] |
Definition at line 534 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::update_().
| void mln::p_indexed_psite< S >::change_target | ( | const S & | newtarget | ) | [inline] |
Definition at line 561 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::s_.
| void mln::p_indexed_psite< S >::dec_index | ( | ) | [inline] |
Definition at line 543 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::update_().
| bool mln::Pseudo_Site< p_indexed_psite< S > >::has_target | ( | ) | const [inherited] |
| void mln::p_indexed_psite< S >::inc_index | ( | ) | [inline] |
Definition at line 552 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::update_().
| const util::index & mln::p_indexed_psite< S >::index | ( | ) | const [inline] |
Definition at line 526 of file p_array.hh.
References mln::p_indexed_psite< S >::i_.
Referenced by mln::p_array< P >::change(), mln::p_set< P >::has(), mln::p_queue_fast< P >::has(), mln::p_queue< P >::has(), mln::p_line2d::has(), mln::p_array< P >::has(), and mln::index_of_in().
| bool mln::p_indexed_psite< S >::is_valid | ( | ) | const [inline] |
Definition at line 570 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::s_.
Referenced by mln::p_indexed_psite< S >::subj_(), and mln::p_indexed_psite< S >::update_().
| mln::p_indexed_psite< S >::operator int | ( | ) | const [inline] |
Definition at line 611 of file p_array.hh.
References mln::p_indexed_psite< S >::i_.
| mln::p_indexed_psite< S >::operator unsigned | ( | ) | const [inline] |
Definition at line 618 of file p_array.hh.
References mln::p_indexed_psite< S >::i_.
| mln::p_indexed_psite< S >::operator util::index | ( | ) | const [inline] |
Definition at line 604 of file p_array.hh.
References mln::p_indexed_psite< S >::i_.
| const S::element & mln::p_indexed_psite< S >::subj_ | ( | ) | [inline] |
Definition at line 586 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, mln::p_indexed_psite< S >::is_valid(), mln::p_indexed_psite< S >::p_, and mln::p_indexed_psite< S >::s_.
| const S * mln::p_indexed_psite< S >::target_ | ( | ) | const [inline] |
Definition at line 578 of file p_array.hh.
References mln::p_indexed_psite< S >::s_.
Referenced by mln::p_set< P >::has(), mln::p_queue_fast< P >::has(), mln::p_queue< P >::has(), mln::p_line2d::has(), mln::p_array< P >::has(), and mln::index_of_in().
| const site& mln::internal::pseudo_site_base_< const S::element & , p_indexed_psite< S > >::to_site | ( | ) | const [inherited] |
| void mln::p_indexed_psite< S >::update_ | ( | ) | const [inline] |
Definition at line 596 of file p_array.hh.
References mln::p_indexed_psite< S >::i_, mln::p_indexed_psite< S >::is_valid(), and mln::p_indexed_psite< S >::p_.
Referenced by mln::p_indexed_psite< S >::change_index(), mln::p_indexed_psite< S >::dec_index(), mln::p_indexed_psite< S >::inc_index(), and mln::p_indexed_psite< S >::p_indexed_psite().
util::index mln::p_indexed_psite< S >::i_ [private] |
Definition at line 226 of file p_array.hh.
Referenced by mln::p_indexed_psite< S >::change_index(), mln::p_indexed_psite< S >::change_target(), mln::p_indexed_psite< S >::dec_index(), mln::p_indexed_psite< S >::inc_index(), mln::p_indexed_psite< S >::index(), mln::p_indexed_psite< S >::is_valid(), mln::p_indexed_psite< S >::operator int(), mln::p_indexed_psite< S >::operator unsigned(), mln::p_indexed_psite< S >::operator util::index(), mln::p_indexed_psite< S >::subj_(), and mln::p_indexed_psite< S >::update_().
element mln::p_indexed_psite< S >::p_ [mutable, private] |
Definition at line 227 of file p_array.hh.
Referenced by mln::p_indexed_psite< S >::subj_(), and mln::p_indexed_psite< S >::update_().
const S* mln::p_indexed_psite< S >::s_ [private] |
Definition at line 225 of file p_array.hh.
Referenced by mln::p_indexed_psite< S >::change_target(), mln::p_indexed_psite< S >::is_valid(), mln::p_indexed_psite< S >::subj_(), and mln::p_indexed_psite< S >::target_().
1.7.1