#include <bslstl_hashtablebucketiterator.h>
List of all members.
template<class VALUE_TYPE, class DIFFERENCE_TYPE>
class bslstl::HashTableBucketIterator< VALUE_TYPE, DIFFERENCE_TYPE >
Member Typedef Documentation
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Constructor & Destructor Documentation
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Create a default-constructed iterator referring to an empty list of nodes. All default-constructed iterators are non-dereferenceable and refer to the same empty list.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Create an iterator referring to the specified bucket
, initially pointing to the first node in that bucket
, or a past-the-end value if the bucket
is empty. Note that this constructor is an implementation detail and is not part of the C++ standard.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Create an iterator referring to the specified bucket
, initially pointing to the specified node
in that bucket. The behavior is undefined unless node
is part of bucket
, or node
is 0. Note that this constructor is an implementation detail and is not part of the C++ standard.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
IMPLICIT: Create an iterator at the same position as the specified original
iterator. Note that this constructor enables converting from modifiable to const
iterator types.
Member Function Documentation
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Copy the value of the specified rhs
of another (compatible) HashTableBucketIterator
type, (e.g., a mutable iterator of the same type) to this iterator. Return a reference to this modifiable object. Note that this method may be the copy-assignment operator (inhibiting the implicit declaration of a copy-assignment operator above), or may be an additional overload.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Move this iterator to the next element in the hash table bucket and return a reference providing modifiable access to this iterator. The behavior is undefined unless the iterator refers to a valid (not yet erased) element in a bucket. Note that this iterator is invalidated when the underlying hash table is rehashed.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Return a reference providing modifiable access to the element (of the template parameter VALUE_TYPE
) at which this iterator is positioned. The behavior is undefined unless the iterator refers to a valid (not yet erased) element in a hash table bucket. Note that this iterator is invalidated when the underlying hash table is rehashed.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Return the address of the element (of the template parameter VALUE_TYPE
) at which this iterator is positioned. The behavior is undefined unless the iterator refers to a valid (not yet erased) element a hash table bucket. Note that this iterator is invalidated when the underlying hash table is rehashed.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Return the address of the node holding the element at which this iterator is positioned, or 0 if this iterator is positioned after the end of a bucket. Note that this method is an implementation detail and is not part of the C++ standard.
template<class VALUE_TYPE , class DIFFERENCE_TYPE >
Return the address of the hash table bucket referred to by this iterator. Note that this method is an implementation detail intended for debugging purposes only, and is not part of the C++ standard.
The documentation for this class was generated from the following file: