1 #if !defined(__ASSOCIATIVEITERATOR_HPP) 2 #define __ASSOCIATIVEITERATOR_HPP 24 #if !defined(__COMMON_HPP) 28 #if !defined(__ITERATOR_HPP) 29 #include <Iterator.hpp> 43 template<
class KeyType,
class ElementType >
103 return (
this == &aRef);
119 virtual KeyType
getKey(
void )
125 #endif // if !defined(__ASSOCIATIVEITERATOR_HPP) AssociativeIterator(const AssociativeIterator &aRef)
Copy constructor.
Definition: AssociativeIterator.hpp:66
IteratorBoundsException is thrown when a Iterator has position before the begining or past the end po...
Definition: IteratorBoundsException.hpp:44
virtual ~AssociativeIterator(void)
Destructor.
Definition: AssociativeIterator.hpp:75
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
virtual KeyType getKey(void) const =0
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator ...
The AssociativeIterator that extends Iterator to include the interface for describing an associative ...
Definition: AssociativeIterator.hpp:44
The Iterator provides a way to access the elements of an collection type sequentially without exposin...
Definition: Iterator.hpp:44
bool operator==(const AssociativeIterator &aRef) const
Equality operator.
Definition: AssociativeIterator.hpp:101
AssociativeIterator(void)
Default constructor.
Definition: AssociativeIterator.hpp:54
AssociativeIterator & operator=(const AssociativeIterator &)
Assignment operator.
Definition: AssociativeIterator.hpp:90