Public Types | Public Member Functions | Private Attributes

mln::p_indexed_psite< S > Class Template Reference

Psite class for indexed site sets such as p_array. More...

#include <p_array.hh>

Inheritance diagram for mln::p_indexed_psite< S >:
Inheritance graph

List of all members.

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::indexindex () 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 elementsubj_ ()
const S * target_ () const
const siteto_site () const
void update_ () const

Private Attributes

util::index i_
element p_
const S * s_

Detailed Description

template<typename S>
class mln::p_indexed_psite< S >

Psite class for indexed site sets such as p_array.

.


Member Typedef Documentation

typedef Pseudo_Site<void> mln::Pseudo_Site< p_indexed_psite< S > >::category [inherited]
template<typename 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]
template<typename S>
typedef S mln::p_indexed_psite< S >::target
template<typename S>
typedef S mln::p_indexed_psite< S >::target_t

Constructor & Destructor Documentation

template<typename S >
mln::p_indexed_psite< S >::p_indexed_psite (  )  [inline]
template<typename S >
mln::p_indexed_psite< S >::p_indexed_psite ( const S &  s,
int  i 
) [inline]

Member Function Documentation

template<typename S >
void mln::p_indexed_psite< S >::change_index ( int  i  )  [inline]
template<typename S >
void mln::p_indexed_psite< S >::change_target ( const S &  newtarget  )  [inline]
template<typename S >
void mln::p_indexed_psite< S >::dec_index (  )  [inline]
bool mln::Pseudo_Site< p_indexed_psite< S > >::has_target (  )  const [inherited]
template<typename S >
void mln::p_indexed_psite< S >::inc_index (  )  [inline]
template<typename S >
const util::index & mln::p_indexed_psite< S >::index (  )  const [inline]
template<typename S >
bool mln::p_indexed_psite< S >::is_valid (  )  const [inline]
template<typename S >
mln::p_indexed_psite< S >::operator int (  )  const [inline]
template<typename S >
mln::p_indexed_psite< S >::operator unsigned (  )  const [inline]
template<typename S >
mln::p_indexed_psite< S >::operator util::index (  )  const [inline]
template<typename S >
const S::element & mln::p_indexed_psite< S >::subj_ (  )  [inline]
template<typename S >
const S * mln::p_indexed_psite< S >::target_ (  )  const [inline]
const site& mln::internal::pseudo_site_base_< const S::element & , p_indexed_psite< S > >::to_site (  )  const [inherited]
template<typename S >
void mln::p_indexed_psite< S >::update_ (  )  const [inline]

Member Data Documentation

template<typename S>
util::index mln::p_indexed_psite< S >::i_ [private]
template<typename S>
element mln::p_indexed_psite< S >::p_ [mutable, private]
template<typename S>
const S* mln::p_indexed_psite< S >::s_ [private]