★ wanayoo — archive 1999 http://corelinux.sourceforge.net/classref/AssociativeIterator.htmlNouvelle recherche | Portail wanayoo

template< class KeyType, class ElementType > class corelinux::AssociativeIterator: public Iterator<ElementType>

The AssociativeIterator that extends Iterator to include the interface for describing an associative collection type without exposing its underlying representation.

Inheritance:


Public Methods

[more] AssociativeIterator( const AssociativeIterator &aRef )
Copy constructor
[more] AssociativeIterator( void )
Default constructor
[more]virtual KeyType getKey( void ) const throw(IteratorBoundsException)
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator
[more]AssociativeIterator& operator=( const AssociativeIterator & )
Assignment operator
[more]bool operator==( const AssociativeIterator & aRef ) const
Equality operator
[more]virtual ~AssociativeIterator( void )
Destructor


Inherited from Iterator:

Public Methods

ovirtual ElementType getElement( void ) const throw(IteratorBoundsException)
ovirtual bool isValid( void ) const
ovirtual void setFirst( void )
ovirtual void setLast( void ) throw(IteratorBoundsException)
ovirtual void setNext( void ) throw(IteratorBoundsException)
ovirtual void setPrevious( void ) throw(IteratorBoundsException)


Inherited from CoreLinuxObject:

Public Methods

obool operator!=( CoreLinuxObjectCref ) const


Documentation

The AssociativeIterator that extends Iterator to include the interface for describing an associative collection type without exposing its underlying representation. The implementation requires a template arguments that describes the KeyType and ElementType being iterated over.
o AssociativeIterator( void )
Default constructor

o AssociativeIterator( const AssociativeIterator &aRef )
Copy constructor
Parameters:
AssociativeIterator - const reference

ovirtual ~AssociativeIterator( void )
Destructor

oAssociativeIterator& operator=( const AssociativeIterator & )
Assignment operator
Returns:
AssociativeIterator reference
Parameters:
AssociativeIterator - const reference

obool operator==( const AssociativeIterator & aRef ) const
Equality operator
Returns:
bool - true if instances are equal
Parameters:
AssociativeIterator - const reference

ovirtual KeyType getKey( void ) const throw(IteratorBoundsException)
getKey returns the KeyType instance that is currently pointed to by the AssociativeIterator
Throws:
IteratorBoundsException if the AssociativeIterator is not positioned correctly.
Returns:
KeyType


Direct child classes:
CoreLinuxAssociativeIterator



This page was generated with the help of DOC++.