Otawa  0.10
otawa::pfg::BB::InstIter Class Reference

Iterator on the instructions of a basic block. More...

#include <otawa/cfg/PFG.h>

Inheritance diagram for otawa::pfg::BB::InstIter:
elm::PreIterator< InstIter, Inst * >

Public Member Functions

 InstIter (const BB *bb)
 
 InstIter (const InstIter &iter)
 
InstIteroperator= (const InstIter &iter)
 
bool ended (void) const
 
Institem (void) const
 
void next (void)
 
 operator bool (void) const
 
 operator Inst * (void) const
 
InstIteroperator++ (void)
 
InstIteroperator++ (int)
 
Instoperator* (void) const
 
Instoperator-> (void) const
 

Private Attributes

Instinst
 
Address top
 

Detailed Description

Iterator on the instructions of a basic block.

Constructor & Destructor Documentation

otawa::pfg::BB::InstIter::InstIter ( const BB bb)
inline
otawa::pfg::BB::InstIter::InstIter ( const InstIter iter)
inline

Member Function Documentation

bool otawa::pfg::BB::InstIter::ended ( void  ) const
inline
Inst* otawa::pfg::BB::InstIter::item ( void  ) const
inline
void otawa::pfg::BB::InstIter::next ( void  )
inline
elm::PreIterator< InstIter , Inst * >::operator bool ( void  ) const
inherited
elm::PreIterator< InstIter , Inst * >::operator Inst * ( void  ) const
inherited
Inst * elm::PreIterator< InstIter , Inst * >::operator* ( void  ) const
inherited
InstIter & elm::PreIterator< InstIter , Inst * >::operator++ ( int  )
inherited
InstIter & elm::PreIterator< InstIter , Inst * >::operator++ ( void  )
inherited
Inst * elm::PreIterator< InstIter , Inst * >::operator-> ( void  ) const
inherited
InstIter& otawa::pfg::BB::InstIter::operator= ( const InstIter iter)
inline

References inst, and top.

Member Data Documentation

Inst* otawa::pfg::BB::InstIter::inst
private

Referenced by operator=().

Address otawa::pfg::BB::InstIter::top
private

Referenced by operator=().


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