Otawa
0.10
|
This iterator is used for reading all properties of a property list. More...
#include <otawa/prop/PropList.h>
Public Member Functions | |
Iter (const PropList &list) | |
Build a property iterator. More... | |
Iter (const PropList *list) | |
Build a property iterator. More... | |
void | next (void) |
Go to the next property. More... | |
bool | ended (void) const |
Test if there is still a property to examine. More... | |
Property * | item (void) const |
Get the current property. More... | |
bool | operator== (const AbstractIdentifier *id) const |
Equality overload for testing if a property is equals to an identifier. More... | |
bool | operator!= (const AbstractIdentifier *id) const |
Equality overload for testing if a property is equals to an identifier. More... | |
bool | operator== (const AbstractIdentifier &id) const |
Equality overload for testing if a property is equals to an identifier. More... | |
bool | operator!= (const AbstractIdentifier &id) const |
Equality overload for testing if a property is equals to an identifier. More... | |
operator bool (void) const | |
operator Property * (void) const | |
Iter & | operator++ (void) |
Iter & | operator++ (int) |
Property * | operator* (void) const |
Property * | operator-> (void) const |
Private Attributes | |
Property * | prop |
This iterator is used for reading all properties of a property list.
|
inline |
Build a property iterator.
list | Property list to traverse. |
|
inline |
Build a property iterator.
list | Property list to traverse. |
|
inline |
Test if there is still a property to examine.
References prop.
Referenced by otawa::display::GraphVizItem::attributes(), otawa::PropList::Getter::ended(), and otawa::display::GraphVizItem::getPropertiesString().
|
inline |
Get the current property.
References prop.
Referenced by otawa::PropList::Getter::item(), operator!=(), and operator==().
|
inline |
Go to the next property.
References otawa::Property::next(), and prop.
Referenced by otawa::PropList::Getter::next().
|
inherited |
|
inherited |
|
inline |
Equality overload for testing if a property is equals to an identifier.
References otawa::Property::id(), and item().
|
inline |
Equality overload for testing if a property is equals to an identifier.
References otawa::Property::id(), and item().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Equality overload for testing if a property is equals to an identifier.
References otawa::Property::id(), and item().
|
inline |
Equality overload for testing if a property is equals to an identifier.
References otawa::Property::id(), and item().