|
Milena (Olena)
User documentation 2.0a Id
|
p_mutable_array_of is a mutable array of site sets. More...
#include <p_mutable_array_of.hh>
Inherits mln::internal::site_set_base_< S::site, p_mutable_array_of< S > >, mlc_is_aS, and check_t.
Public Types | |
| typedef p_double_piter< self_, mln_bkd_eiter(array_), 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(array_), 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 this set validity so returns always true. | |
| 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 (const version). | |
| S & | operator[] (unsigned i) |
Return the i-th site set (mutable version). | |
| p_mutable_array_of () | |
| Constructor without arguments. | |
| void | reserve (unsigned n) |
Reserve memory for n elements. | |
p_mutable_array_of is a mutable array of site sets.
Parameter S is the type of the contained site sets.
Definition at line 76 of file p_mutable_array_of.hh.
| typedef p_double_piter<self_, mln_bkd_eiter(array_), typename S ::bkd_piter> mln::p_mutable_array_of< S >::bkd_piter |
Backward Site_Iterator associated type.
Definition at line 99 of file p_mutable_array_of.hh.
| typedef S mln::p_mutable_array_of< S >::element |
Element associated type.
Definition at line 85 of file p_mutable_array_of.hh.
| typedef p_double_piter<self_, mln_fwd_eiter(array_), typename S ::fwd_piter> mln::p_mutable_array_of< S >::fwd_piter |
Forward Site_Iterator associated type.
Definition at line 94 of file p_mutable_array_of.hh.
| typedef S mln::p_mutable_array_of< S >::i_element |
Insertion element associated type.
Definition at line 121 of file p_mutable_array_of.hh.
| typedef fwd_piter mln::p_mutable_array_of< S >::piter |
Site_Iterator associated type.
Definition at line 102 of file p_mutable_array_of.hh.
| typedef p_double_psite<self_, element> mln::p_mutable_array_of< S >::psite |
Psite associated type.
Definition at line 89 of file p_mutable_array_of.hh.
|
inline |
Constructor without arguments.
Definition at line 175 of file p_mutable_array_of.hh.
|
inline |
Clear this set.
Definition at line 241 of file p_mutable_array_of.hh.
|
inline |
Test if p belongs to this point set.
Definition at line 190 of file p_mutable_array_of.hh.
|
inline |
|
inline |
Test this set validity so returns always true.
Definition at line 198 of file p_mutable_array_of.hh.
|
inline |
Return the size of this site set in memory.
Definition at line 258 of file p_mutable_array_of.hh.
|
inline |
Give the number of elements (site sets) of this composite.
Definition at line 233 of file p_mutable_array_of.hh.
|
inline |
Return the i-th site set (const version).
Definition at line 215 of file p_mutable_array_of.hh.
|
inline |
Return the i-th site set (mutable version).
Definition at line 224 of file p_mutable_array_of.hh.
|
inline |
Reserve memory for n elements.
Definition at line 182 of file p_mutable_array_of.hh.