$extrastylesheet
#include <mln/core/site_set/p_set_of.hh>
Public Member Functions | |
p_set_of () | |
q_box | bbox () const |
void | clear () |
bool | has (const psite &p) const |
void | insert (const S &s) |
bool | is_empty () const |
bool | is_valid () const |
std::size_t | memory_size () const |
unsigned | nelements () const |
const S & | operator[] (unsigned i) const |
const util::set< S > & | set_hook_ () 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_ |
util::set< S > | s_ |
Public Types | |
typedef p_double_piter< self_, mln_bkd_eiter(set_), typename S::bkd_piter > | bkd_piter |
typedef Site_Set< void > | category |
typedef S | element |
typedef p_set_of< S > | exact_t |
typedef p_double_piter< self_, mln_fwd_eiter(set_), typename S::fwd_piter > | fwd_piter |
typedef S | i_element |
typedef fwd_piter | piter |
typedef p_double_psite< self_, element > | psite |
typedef const mln::box < typename S::site > & | q_box |
typedef subject< S::site >::ret | site |
Related Functions | |
(Note that these are not member functions.) | |
template<typename S > | |
std::ostream & | operator<< (std::ostream &ostr, const p_set_of< S > &s) |
p_set_of is a set of site sets.
Parameter S
is the type of the contained site sets.
Definition at line 72 of file p_set_of.hh.
mln::p_set_of< S >::p_set_of | ( | ) |
Constructor without arguments.
|
inherited |
void mln::p_set_of< S >::clear | ( | ) |
Clear this set.
bool mln::p_set_of< S >::has | ( | const psite & | p | ) | const |
Test if p
belongs to this point set.
void mln::p_set_of< S >::insert | ( | const S & | s | ) |
Insert a site set s
.
|
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_set_of< S >::is_valid | ( | ) | const |
Test if this set of runs is valid.
std::size_t mln::p_set_of< S >::memory_size | ( | ) | const |
Return the size of this site set in memory.
unsigned mln::p_set_of< S >::nelements | ( | ) | const |
Give the number of elements (site sets) of this composite.
const S& mln::p_set_of< S >::operator[] | ( | unsigned | i | ) | const |
Return the i-th
site set.
const util::set<S>& mln::p_set_of< S >::set_hook_ | ( | ) | const |
Hook to the set of runs.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
related |
|
protectedinherited |
Definition at line 87 of file site_set_impl.hh.
|
protected |
Set of site sets.
Definition at line 148 of file p_set_of.hh.
typedef p_double_piter<self_, mln_bkd_eiter(set_), typename S ::bkd_piter> mln::p_set_of< S >::bkd_piter |
Backward Site_Iterator associated type.
Definition at line 96 of file p_set_of.hh.
|
inherited |
Definition at line 74 of file core/concept/site_set.hh.
typedef S mln::p_set_of< S >::element |
Element associated type.
Definition at line 82 of file p_set_of.hh.
|
inherited |
typedef p_double_piter<self_, mln_fwd_eiter(set_), typename S ::fwd_piter> mln::p_set_of< S >::fwd_piter |
Forward Site_Iterator associated type.
Definition at line 91 of file p_set_of.hh.
typedef S mln::p_set_of< S >::i_element |
Insertion element associated type.
Definition at line 114 of file p_set_of.hh.
typedef fwd_piter mln::p_set_of< S >::piter |
Site_Iterator associated type.
Definition at line 99 of file p_set_of.hh.
typedef p_double_psite<self_, element> mln::p_set_of< S >::psite |
Psite associated type.
Definition at line 86 of file p_set_of.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.