Otawa  0.10
otawa::ConfigIter Class Reference

Iterator on the configurations of a processor. More...

#include <otawa/proc/Registry.h>

Inheritance diagram for otawa::ConfigIter:
elm::PreIterator< ConfigIter, AbstractIdentifier * >

Public Member Functions

 ConfigIter (const AbstractRegistration &registration, bool all=true)
 
AbstractIdentifieritem (void) const
 
void next (void)
 
bool ended (void) const
 
 operator bool (void) const
 
 operator AbstractIdentifier * (void) const
 
ConfigIteroperator++ (void)
 
ConfigIteroperator++ (int)
 
AbstractIdentifieroperator* (void) const
 
AbstractIdentifieroperator-> (void) const
 

Private Member Functions

void step (void)
 

Private Attributes

const AbstractRegistrationreg
 
SLList< AbstractIdentifier * >
::Iterator 
iter
 
bool _all
 

Detailed Description

Iterator on the configurations of a processor.

Parameters
TProcessor class.

Constructor & Destructor Documentation

otawa::ConfigIter::ConfigIter ( const AbstractRegistration registration,
bool  all = true 
)
inline

References step().

Member Function Documentation

bool otawa::ConfigIter::ended ( void  ) const
inline

References reg.

AbstractIdentifier* otawa::ConfigIter::item ( void  ) const
inline

References iter.

void otawa::ConfigIter::next ( void  )
inline

References iter, and step().

elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator AbstractIdentifier * ( void  ) const
inherited
elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator bool ( void  ) const
inherited
AbstractIdentifier * elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator* ( void  ) const
inherited
ConfigIter & elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator++ ( int  )
inherited
ConfigIter & elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator++ ( void  )
inherited
AbstractIdentifier * elm::PreIterator< ConfigIter , AbstractIdentifier * >::operator-> ( void  ) const
inherited
void otawa::ConfigIter::step ( void  )
private

Member Data Documentation

bool otawa::ConfigIter::_all
private

Referenced by step().

SLList<AbstractIdentifier *>::Iterator otawa::ConfigIter::iter
private

Referenced by item(), next(), and step().

const AbstractRegistration* otawa::ConfigIter::reg
private

Referenced by ended(), and step().


The documentation for this class was generated from the following files: