$extrastylesheet
#include <mln/core/site_set/p_vaccess.hh>
Public Member Functions | |
p_vaccess () | |
p_vaccess (const V &vset) | |
q_box | bbox () const |
void | clear () |
bool | has (const psite &p) const |
bool | has (const V &v, const typename S::psite &p) const |
void | insert (const i_element &v_e) |
void | insert (const V &v, const element &e) |
bool | is_empty () const |
bool | is_valid () const |
std::size_t | memory_size () const |
const S & | operator() (const V &v) const |
const mln::value::set< V > & | values () const |
Protected Member Functions | |
void | update_bbox_ (const typename S::site &p) |
void | update_bbox_ (const Site_Set< S > &s) |
void | update_nsites_ (const T &) |
Protected Attributes | |
accu::shape::bbox< typename S::site > | bb_ |
std::vector< S > | ps_ |
mln::value::set< V > | vs_ |
Public Types | |
typedef p_double_piter< self_, typename vset::bkd_viter, typename S::bkd_piter > | bkd_piter |
typedef Site_Set< void > | category |
typedef S::element | element |
typedef p_vaccess< V, S > | exact_t |
typedef p_double_piter< self_, typename vset::fwd_viter, typename S::fwd_piter > | fwd_piter |
typedef std::pair< V, element > | i_element |
typedef fwd_piter | piter |
typedef S | pset |
typedef p_double_psite< self_, S > | psite |
typedef const mln::box < typename S::site > & | q_box |
typedef subject< S::site >::ret | site |
typedef vset | t_eligible_values_set |
typedef V | value |
typedef mln::value::set< V > | vset |
Site set in which sites are grouped by their associated value.
Definition at line 72 of file p_vaccess.hh.
mln::p_vaccess< V, S >::p_vaccess | ( | ) |
Constructor.
mln::p_vaccess< V, S >::p_vaccess | ( | const V & | vset | ) |
|
inherited |
void mln::p_vaccess< V, S >::clear | ( | ) |
bool mln::p_vaccess< V, S >::has | ( | const psite & | p | ) | const |
Test if p
belongs to this site set.
bool mln::p_vaccess< V, S >::has | ( | const V & | v, |
const typename S::psite & | p | ||
) | const |
Test if the couple (value v
, psite p
) belongs to this site set.
void mln::p_vaccess< V, S >::insert | ( | const i_element & | v_e | ) |
Insert a pair v_e
(value v, element e).
void mln::p_vaccess< V, S >::insert | ( | const V & | v, |
const element & | e | ||
) |
Insert e
at value v
.
|
inherited |
Test if the site set is empty.
This final method dispatches to is_empty_ whose default implementation relies on the 'nsites' method.
bool mln::p_vaccess< V, S >::is_valid | ( | ) | const |
Test if this site set is valid.
std::size_t mln::p_vaccess< V, S >::memory_size | ( | ) | const |
Return the size of this site set in memory.
const S& mln::p_vaccess< V, S >::operator() | ( | const V & | v | ) | const |
Return the site set at value v
.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
const mln::value::set<V>& mln::p_vaccess< V, S >::values | ( | ) | const |
Give the set of values.
|
protectedinherited |
Definition at line 87 of file site_set_impl.hh.
|
protected |
Definition at line 154 of file p_vaccess.hh.
|
protected |
Definition at line 153 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 96 of file p_vaccess.hh.
|
inherited |
Definition at line 74 of file core/concept/site_set.hh.
typedef S ::element mln::p_vaccess< V, S >::element |
Element associated type.
Definition at line 119 of file p_vaccess.hh.
|
inherited |
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 93 of file p_vaccess.hh.
typedef std::pair<V, element> mln::p_vaccess< V, S >::i_element |
Insertion element associated type.
Definition at line 122 of file p_vaccess.hh.
typedef fwd_piter mln::p_vaccess< V, S >::piter |
Site_Iterator associated type.
Definition at line 99 of file p_vaccess.hh.
typedef S mln::p_vaccess< V, S >::pset |
Inner site set associated type.
Definition at line 87 of file p_vaccess.hh.
typedef p_double_psite<self_, S> mln::p_vaccess< V, S >::psite |
Psite associated type.
Definition at line 90 of file p_vaccess.hh.
|
inherited |
Definition at line 79 of file site_set_impl.hh.
|
inherited |
Site associated type.
Definition at line 58 of file site_set_base.hh.
typedef vset mln::p_vaccess< V, S >::t_eligible_values_set |
Definition at line 84 of file p_vaccess.hh.
typedef V mln::p_vaccess< V, S >::value |
Value associated type.
Definition at line 80 of file p_vaccess.hh.
typedef mln::value::set<V> mln::p_vaccess< V, S >::vset |
Value_Set associated type.
Definition at line 83 of file p_vaccess.hh.