Polaris: DictionaryIter< T > Class Template Reference

DictionaryIter< T > Class Template Reference

file DictionaryIter.h A class to iterate through Dictionaries More...

#include <DictionaryIter.h>

Inheritance diagram for DictionaryIter< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

INLINE DictionaryIter (const Dictionary< T > &dict)
 create a new DictionaryIter.
INLINE ~DictionaryIter ()
 destroy an existing DictionaryIter.
INLINE T & current ()
 what is the current element.

Detailed Description

template<class T>
class DictionaryIter< T >

file DictionaryIter.h A class to iterate through Dictionaries

C Polaris

See also:
Dictionary.h

DictionaryIter.h

Description

The DictionaryIter class iterates over a Dictionary just like the KeyIterator class over any Map Collection. However, the DictionaryIter is equipped to handle the current() call.

.SEE ALSO Dictionary KeyIterator

Definition at line 28 of file DictionaryIter.h.


Constructor & Destructor Documentation

template<class T>
INLINE DictionaryIter< T >::DictionaryIter const Dictionary< T > &  dict  ) 
 

create a new DictionaryIter.

Definition at line 42 of file DictionaryIter.h.

References register_instance().

template<class T>
INLINE DictionaryIter< T >::~DictionaryIter  ) 
 

destroy an existing DictionaryIter.

Definition at line 52 of file DictionaryIter.h.

References unregister_instance().


Member Function Documentation

template<class T>
INLINE T & DictionaryIter< T >::current  ) 
 

what is the current element.

Definition at line 61 of file DictionaryIter.h.

References KeyIterator< String, T >::current_data().

Referenced by EvolutionGraph::_build(), _collect_candidates(), _make_nonlocals_modified_at_calls(), already_ip_ssa(), build_def_map(), build_in_out_sets(), EquivalenceDict::EquivalenceDict(), loop_invariant_vars(), operator<<(), Predicates::Predicates(), propagate_outermost_DOs(), relink_all_dptrs(), substitute_parameters(), and Symtab::Symtab().


The documentation for this class was generated from the following file:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:12 2005