|
Milena (Olena)
User documentation 2.0a Id
|
Site set in which sites are grouped by their associated value. More...
#include <p_vaccess.hh>
Inherits mln::internal::site_set_base_< S::site, p_vaccess< V, S > >, and mln::internal::site_set_impl< S >.
Public Types | |
| typedef p_double_piter< self_, typename vset::bkd_viter, typename S::bkd_piter > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef S::element | element |
| Element associated type. | |
| typedef p_double_piter< self_, typename vset::fwd_viter, typename S::fwd_piter > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef std::pair< V, element > | i_element |
| Insertion element associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef S | pset |
| Inner site set associated type. | |
| typedef p_double_psite< self_, S > | psite |
| Psite associated type. | |
| typedef V | value |
| Value associated type. | |
| typedef mln::value::set< V > | vset |
| Value_Set associated type. | |
Public Member Functions | |
| bool | has (const psite &p) const |
Test if p belongs to this site set. | |
| bool | has (const V &v, const typename S::psite &p) const |
Test if the couple (value v, psite p) belongs to this site set. | |
| void | insert (const i_element &v_e) |
Insert a pair v_e (value v, element e). | |
| void | insert (const V &v, const element &e) |
Insert e at value v. | |
| bool | is_valid () const |
| Test if this site set is valid. | |
| std::size_t | memory_size () const |
| Return the size of this site set in memory. | |
| const S & | operator() (const V &v) const |
Return the site set at value v. | |
| p_vaccess () | |
| Constructor. | |
| const mln::value::set< V > & | values () const |
| Give the set of values. | |
Site set in which sites are grouped by their associated value.
Definition at line 70 of file p_vaccess.hh.
| typedef p_double_piter<self_, typename vset ::bkd_viter, typename S ::bkd_piter> mln::p_vaccess< V, S >::bkd_piter |
Backward Site_Iterator associated type.
Definition at line 94 of file p_vaccess.hh.
| typedef S ::element mln::p_vaccess< V, S >::element |
Element associated type.
Definition at line 117 of file p_vaccess.hh.
| typedef p_double_piter<self_, typename vset ::fwd_viter, typename S ::fwd_piter> mln::p_vaccess< V, S >::fwd_piter |
Forward Site_Iterator associated type.
Definition at line 91 of file p_vaccess.hh.
| typedef std::pair<V, element> mln::p_vaccess< V, S >::i_element |
Insertion element associated type.
Definition at line 120 of file p_vaccess.hh.
| typedef fwd_piter mln::p_vaccess< V, S >::piter |
Site_Iterator associated type.
Definition at line 97 of file p_vaccess.hh.
| typedef S mln::p_vaccess< V, S >::pset |
Inner site set associated type.
Definition at line 85 of file p_vaccess.hh.
| typedef p_double_psite<self_, S> mln::p_vaccess< V, S >::psite |
Psite associated type.
Definition at line 88 of file p_vaccess.hh.
| typedef V mln::p_vaccess< V, S >::value |
Value associated type.
Definition at line 78 of file p_vaccess.hh.
| typedef mln::value::set<V> mln::p_vaccess< V, S >::vset |
Value_Set associated type.
Definition at line 81 of file p_vaccess.hh.
Constructor.
Definition at line 163 of file p_vaccess.hh.
Test if p belongs to this site set.
Definition at line 180 of file p_vaccess.hh.
|
inline |
Test if the couple (value v, psite p) belongs to this site set.
Definition at line 189 of file p_vaccess.hh.
Insert a pair v_e (value v, element e).
Definition at line 216 of file p_vaccess.hh.
|
inline |
Insert e at value v.
Definition at line 206 of file p_vaccess.hh.
|
inline |
Test if this site set is valid.
Definition at line 197 of file p_vaccess.hh.
|
inline |
Return the size of this site set in memory.
Definition at line 242 of file p_vaccess.hh.
|
inline |
Return the site set at value v.
Definition at line 234 of file p_vaccess.hh.
|
inline |
Give the set of values.
Definition at line 254 of file p_vaccess.hh.