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.
.
typedef Pseudo_Site<void> mln::Pseudo_Site< p_indexed_psite< S >  >::category [inherited] | 
        
Reimplemented from mln::Site_Proxy< p_indexed_psite< S > >.
| typedef S ::element mln::p_indexed_psite< S >::element | 
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] | 
        
| typedef S mln::p_indexed_psite< S >::target | 
| typedef S mln::p_indexed_psite< S >::target_t | 
| mln::p_indexed_psite< S >::p_indexed_psite | ( | ) |  [inline] | 
        
| mln::p_indexed_psite< S >::p_indexed_psite | ( | const S & | s, | |
| int | i | |||
| ) |  [inline] | 
        
References mln::p_indexed_psite< S >::update_().
| void mln::p_indexed_psite< S >::change_index | ( | int | i | ) |  [inline] | 
        
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] | 
        
References mln::p_indexed_psite< S >::i_, and mln::p_indexed_psite< S >::s_.
| void mln::p_indexed_psite< S >::dec_index | ( | ) |  [inline] | 
        
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] | 
        
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] | 
        
| bool mln::p_indexed_psite< S >::is_valid | ( | ) |  const [inline] | 
        
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] | 
        
References mln::p_indexed_psite< S >::i_.
| mln::p_indexed_psite< S >::operator unsigned | ( | ) |  const [inline] | 
        
References mln::p_indexed_psite< S >::i_.
| mln::p_indexed_psite< S >::operator util::index | ( | ) |  const [inline] | 
        
References mln::p_indexed_psite< S >::i_.
| const S::element & mln::p_indexed_psite< S >::subj_ | ( | ) |  [inline] | 
        
| const S * mln::p_indexed_psite< S >::target_ | ( | ) |  const [inline] | 
        
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] | 
        
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] | 
        
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] | 
        
Referenced by mln::p_indexed_psite< S >::subj_(), and mln::p_indexed_psite< S >::update_().
const S* mln::p_indexed_psite< S >::s_ [private] | 
        
 1.7.1