Dune Core Modules (2.3.1)
sllist.hh
Go to the documentation of this file.
269 class SLListIterator : public Dune::ForwardIteratorFacade<SLListIterator<T,A>, T, T&, std::size_t>
369 class SLListConstIterator : public Dune::ForwardIteratorFacade<SLListConstIterator<T,A>, const T, const T&, std::size_t>
431 class SLListModifyIterator : public Dune::ForwardIteratorFacade<SLListModifyIterator<T,A>, T, T&, std::size_t>
Base class for stl conformant forward iterators.
Definition: iteratorfacades.hh:142
void push_front(const MemberType &item)
Add a new entry to the beginning of the list.
Definition: sllist.hh:702
bool equals(const SLListConstIterator< T, A > &other) const
Equality test for the iterator facade.
Definition: sllist.hh:409
void push_back(const MemberType &item)
Add a new entry to the end of the list.
Definition: sllist.hh:658
ModifyIterator endModify()
Get an iterator capable of deleting and inserting elements.
Definition: sllist.hh:795
T & dereference() const
Dereferencing function for the iterator facade.
Definition: sllist.hh:293
void insertAfter(const T &v) const
Insert an element in the underlying list after the current position.
Definition: sllist.hh:341
A::template rebind< Element >::other Allocator
The allocator to use.
Definition: sllist.hh:63
SLListIterator< T, A > iterator
The mutable iterator of the list.
Definition: sllist.hh:68
void deleteNext() const
Delete the entry after the current position.
Definition: sllist.hh:352
bool equals(const SLListModifyIterator< T, A > &other) const
Equality test for the iterator facade.
Definition: sllist.hh:323
T & dereference() const
Dereferencing function for the iterator facade.
Definition: sllist.hh:453
int size() const
Get the number of elements the list contains.
Definition: sllist.hh:771
std::ostream & operator<<(std::ostream &s, const array< T, N > &e)
Output operator for array.
Definition: array.hh:159
const_iterator begin() const
Get an iterator pointing to the first element in the list.
Definition: sllist.hh:783
iterator end()
Get an iterator pointing to the end of the list.
Definition: sllist.hh:789
SLList(const SLList< T1, A1 > &other)
Copy constructor with type conversion.
Definition: sllist.hh:600
bool equals(const SLListModifyIterator< T, A > &other) const
Test whether another iterator is equal.
Definition: sllist.hh:485
ModifyIterator beginModify()
Get an iterator capable of deleting and inserting elements.
Definition: sllist.hh:802
SLList< T, A > & operator=(const SLList< T, A > &other)
Assignment operator.
Definition: sllist.hh:650
SLListConstIterator< T, A > const_iterator
The constant iterator of the list.
Definition: sllist.hh:73
bool equals(const SLListConstIterator< T, A > &other) const
Equality test for the iterator facade.
Definition: sllist.hh:303
bool equals(const SLListConstIterator< T, A > &other) const
Test whether another iterator is equal.
Definition: sllist.hh:463
SLListModifyIterator< T, A > ModifyIterator
The type of the iterator capable of deletion and insertion.
Definition: sllist.hh:102
const_iterator end() const
Get an iterator pointing to the end of the list.
Definition: sllist.hh:809
void insert(const T &v)
Insert an element at the current position.
Definition: sllist.hh:512
void increment()
Increment function for the iterator facade.
Definition: sllist.hh:331
void remove()
Delete the entry at the current position.
Definition: sllist.hh:525
const T & dereference() const
Dereferencing function for the facade.
Definition: sllist.hh:399
void increment()
Increment function for the iterator facade.
Definition: sllist.hh:493
void increment()
Increment function for the iterator facade.
Definition: sllist.hh:417
bool equals(const SLListIterator< T, A > &other) const
Test whether another iterator is equal.
Definition: sllist.hh:474
iterator begin()
Get an iterator pointing to the first element in the list.
Definition: sllist.hh:777
bool equals(const SLListIterator< T, A > &other) const
Equality test for the iterator facade.
Definition: sllist.hh:313
EnableIfInterOperable< T1, T2, bool >::type operator==(const ForwardIteratorFacade< T1, V1, R1, D > &lhs, const ForwardIteratorFacade< T2, V2, R2, D > &rhs)
Checks for equality.
Definition: iteratorfacades.hh:231
EnableIfInterOperable< T1, T2, bool >::type operator!=(const ForwardIteratorFacade< T1, V1, R1, D > &lhs, const ForwardIteratorFacade< T2, V2, R2, D > &rhs)
Checks for inequality.
Definition: iteratorfacades.hh:253
This file implements iterator facade classes for writing stl conformant iterators.
STL namespace.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)