|
Click
|
The iterator type for HashContainer. More...
#include <hashcontainer.hh>
Public Types | |
| typedef HashContainer_const_iterator< T, A > | inherited |
Public Types inherited from HashContainer_const_iterator< T, A > | |
| typedef HashContainer< T, A >::size_type | size_type |
| typedef HashContainer< T, A >::bucket_count_type | bucket_count_type |
| typedef T *(HashContainer_const_iterator::* | unspecified_bool_type) () const |
Public Member Functions | |
| HashContainer_iterator () | |
| Construct an uninitialized iterator. | |
| bool | can_insert () const |
| Return true iff elements can be inserted here. | |
| HashContainer< T, A > * | hashcontainer () const |
| Return the corresponding HashContainer. | |
Public Member Functions inherited from HashContainer_const_iterator< T, A > | |
| HashContainer_const_iterator () | |
| Construct an uninitialized iterator. | |
| T * | get () const |
| Return a pointer to the element, null if *this == end(). | |
| T * | operator-> () const |
| Return a pointer to the element, null if *this == end(). | |
| T & | operator* () const |
| Return a reference to the element. | |
| bool | live () const |
| Return true iff *this != end(). | |
| operator unspecified_bool_type () const | |
| Return true iff *this != end(). | |
| const HashContainer< T, A > * | hashcontainer () const |
| Return the corresponding HashContainer. | |
| bucket_count_type | bucket () const |
| Return the bucket number this iterator is in. | |
| void | operator++ () |
| Advance this iterator to the next element. | |
| void | operator++ (int) |
| Advance this iterator to the next element. | |
The iterator type for HashContainer.
|
inline |
Construct an uninitialized iterator.
|
inline |
Return true iff elements can be inserted here.
Specifically, returns true iff this iterator is valid to pass to HashContainer::insert_at() or HashContainer::set(). All live() iterators can_insert(), but some !live() iterators can_insert() as well.
|
inline |
Return the corresponding HashContainer.