#include <p_set_of.hh>
Inherits site_set_base_< S::site, p_set_of< S > >, and site_set_impl< S >.
Public Types | |
typedef p_double_piter< self_, mln_bkd_eiter(set_), typename S::bkd_piter > | bkd_piter |
Backward Site_Iterator associated type. | |
typedef S | element |
Element associated type. | |
typedef p_double_piter< self_, mln_fwd_eiter(set_), typename S::fwd_piter > | fwd_piter |
Forward Site_Iterator associated type. | |
typedef S | i_element |
Insertion element associated type. | |
typedef fwd_piter | piter |
Site_Iterator associated type. | |
typedef p_double_psite< self_, element > | psite |
Psite associated type. | |
Public Member Functions | |
void | clear () |
Clear this set. | |
bool | has (const psite &p) const |
Test if p belongs to this point set. | |
void | insert (const S &s) |
Insert a site set s . | |
bool | is_valid () const |
Test if this set of runs is valid. | |
std::size_t | memory_size () const |
Return the size of this site set in memory. | |
unsigned | nelements () const |
Give the number of elements (site sets) of this composite. | |
const S & | operator[] (unsigned i) const |
Return the i-th site set. | |
p_set_of () | |
Constructor without arguments. |
Parameter S
is the type of the contained site sets.
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.
typedef S mln::p_set_of< S >::element |
Element associated type.
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.
typedef S mln::p_set_of< S >::i_element |
Insertion element associated type.
typedef fwd_piter mln::p_set_of< S >::piter |
Site_Iterator associated type.
typedef p_double_psite<self_, element> mln::p_set_of< S >::psite |
Psite associated type.
mln::p_set_of< S >::p_set_of | ( | ) | [inline] |
Constructor without arguments.
void mln::p_set_of< S >::clear | ( | ) | [inline] |
Clear this set.
bool mln::p_set_of< S >::has | ( | const psite & | p | ) | const [inline] |
void mln::p_set_of< S >::insert | ( | const S & | s | ) | [inline] |
Insert a site set s
.
bool mln::p_set_of< S >::is_valid | ( | ) | const [inline] |
Test if this set of runs is valid.
std::size_t mln::p_set_of< S >::memory_size | ( | ) | const [inline] |
Return the size of this site set in memory.
unsigned mln::p_set_of< S >::nelements | ( | ) | const [inline] |
Give the number of elements (site sets) of this composite.
const S & mln::p_set_of< S >::operator[] | ( | unsigned | i | ) | const [inline] |
Return the i-th
site set.