$extrastylesheet
#include <mln/core/site_set/p_image.hh>
Public Member Functions | |
| p_image () | |
| p_image (const I &ima) | |
| void | clear () |
| bool | has (const psite &) const |
| const I & | image_hook_ () const |
| void | insert (const psite &p) |
| bool | is_empty () const |
| bool | is_valid () const |
| std::size_t | memory_size () const |
| unsigned | nsites () const |
| operator typename internal::p_image_site_set< I >::ret () const | |
| void | remove (const psite &p) |
| void | toggle (const psite &p) |
Public Types | |
| typedef S::bkd_piter | bkd_piter |
| typedef Site_Set< void > | category |
| typedef I::psite | element |
| typedef p_image< I > | exact_t |
| typedef S::fwd_piter | fwd_piter |
| typedef psite | i_element |
| typedef S::piter | piter |
| typedef I::psite | psite |
| typedef psite | r_element |
| typedef internal::p_image_site_set< I > ::ret | S |
| typedef subject< I::psite >::ret | site |
Site set based on an image of Booleans.
Definition at line 89 of file p_image.hh.
| mln::p_image< I >::p_image | ( | ) |
Constructor without argument.
| mln::p_image< I >::p_image | ( | const I & | ima | ) |
Constructor.
| void mln::p_image< I >::clear | ( | ) |
Clear this set.
| bool mln::p_image< I >::has | ( | const psite & | ) | const |
Test is the psite p belongs to this site set.
| const I& mln::p_image< I >::image_hook_ | ( | ) | const |
INTERNAL_API Hook to the image
| void mln::p_image< I >::insert | ( | const psite & | p | ) |
Insert a site p.
|
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_image< I >::is_valid | ( | ) | const |
Test if this site set is valid, i.e., initialized.
| std::size_t mln::p_image< I >::memory_size | ( | ) | const |
Return the size of this site set in memory.
| unsigned mln::p_image< I >::nsites | ( | ) | const |
Give the number of sites.
| mln::p_image< I >::operator typename internal::p_image_site_set< I >::ret | ( | ) | const |
Conversion towards the equivalent site set.
| void mln::p_image< I >::remove | ( | const psite & | p | ) |
Remove a site p.
| void mln::p_image< I >::toggle | ( | const psite & | p | ) |
Change the status in/out of a site p.
| typedef S ::bkd_piter mln::p_image< I >::bkd_piter |
Backward Site_Iterator associated type.
Definition at line 111 of file p_image.hh.
|
inherited |
Definition at line 74 of file core/concept/site_set.hh.
| typedef I ::psite mln::p_image< I >::element |
Element associated type.
Definition at line 101 of file p_image.hh.
|
inherited |
| typedef S ::fwd_piter mln::p_image< I >::fwd_piter |
Forward Site_Iterator associated type.
Definition at line 108 of file p_image.hh.
| typedef psite mln::p_image< I >::i_element |
Insertion element associated type.
Definition at line 137 of file p_image.hh.
| typedef S ::piter mln::p_image< I >::piter |
Site_Iterator associated type.
Definition at line 114 of file p_image.hh.
| typedef I ::psite mln::p_image< I >::psite |
Psite associated type.
Definition at line 105 of file p_image.hh.
| typedef psite mln::p_image< I >::r_element |
Removal element associated type.
Definition at line 143 of file p_image.hh.
| typedef internal::p_image_site_set<I>::ret mln::p_image< I >::S |
Equivalent site_set type.
Definition at line 94 of file p_image.hh.
|
inherited |
Site associated type.
Definition at line 58 of file site_set_base.hh.