Otawa  0.10
otawa::AlternativeProcessor::AlternativeSet Class Reference

Set of alternatives for an AlternativeProcessor. More...

#include <otawa/proc/AlternativeProcessor.h>

Inheritance diagram for otawa::AlternativeProcessor::AlternativeSet:
elm::genstruct::Vector< const Alternative * >

Public Member Functions

AlternativeSetadd (const Alternative &alt)
 Add an alternative to the set. More...
 
int count (void) const
 
int length (void) const
 
int capacity (void) const
 
bool isEmpty (void) const
 
const const Alternative *& get (int index) const
 
const Alternative *& item (int index)
 
void set (int index, const const Alternative *value)
 
void set (const Iterator &pos, const const Alternative *&item)
 
const Alternative *& operator[] (int index)
 
const const Alternative *& operator[] (int index) const
 
bool contains (const const Alternative *&value) const
 
bool containsAll (const C< const Alternative * > &items)
 
int indexOf (const const Alternative *&value, int start=0) const
 
int lastIndexOf (const const Alternative *&value, int start=-1) const
 
 operator bool (void) const
 
bool operator== (const Vector< const Alternative * > &v) const
 
bool operator!= (const Vector< const Alternative * > &v) const
 
const const Alternative *& first (void) const
 
const const Alternative *& last (void) const
 
Iterator find (const const Alternative *&item)
 
Iterator find (const const Alternative *&item, const Iterator &start)
 
const const Alternative *& top (void) const
 
void add (void)
 
void add (const const Alternative *&value)
 
void addAll (const C< const Alternative * > &items)
 
void removeAt (int index)
 
void remove (const const Alternative *&value)
 
void remove (const Iterator &iter)
 
void removeAll (const C< const Alternative * > &items)
 
void insert (int index, const const Alternative *&value)
 
void insert (const const Alternative *&item)
 
void clear (void)
 
void grow (int new_cap)
 
void setLength (int new_length)
 
table< const Alternative * > detach (void)
 
void copy (const Vector &vec)
 
void swallow (Vector< const Alternative * > &v)
 
void push (const const Alternative *&value)
 
const const Alternativepop (void)
 
void addFirst (const const Alternative *&item)
 
void addLast (const const Alternative *&item)
 
void removeFirst (void)
 
void removeLast (void)
 
void addAfter (const Iterator &pos, const const Alternative *&item)
 
void addBefore (const Iterator &pos, const const Alternative *&item)
 

Detailed Description

Set of alternatives for an AlternativeProcessor.

Member Function Documentation

void elm::genstruct::Vector< const Alternative * >::add ( void  )
inherited
void elm::genstruct::Vector< const Alternative * >::add ( const const Alternative * &  value)
inherited
AlternativeProcessor::AlternativeSet & otawa::AlternativeProcessor::AlternativeSet::add ( const Alternative alt)
inline

Add an alternative to the set.

Parameters
altAdded alternative.
Returns
Set itself (for chaining).

References otawa::sem::add().

void elm::genstruct::Vector< const Alternative * >::addAfter ( const Iterator &  pos,
const const Alternative * &  item 
)
inherited
void elm::genstruct::Vector< const Alternative * >::addAll ( const C< const Alternative * > &  items)
inherited
void elm::genstruct::Vector< const Alternative * >::addBefore ( const Iterator &  pos,
const const Alternative * &  item 
)
inherited
void elm::genstruct::Vector< const Alternative * >::addFirst ( const const Alternative * &  item)
inherited
void elm::genstruct::Vector< const Alternative * >::addLast ( const const Alternative * &  item)
inherited
int elm::genstruct::Vector< const Alternative * >::capacity ( void  ) const
inherited
void elm::genstruct::Vector< const Alternative * >::clear ( void  )
inherited
bool elm::genstruct::Vector< const Alternative * >::contains ( const const Alternative * &  value) const
inherited
bool elm::genstruct::Vector< const Alternative * >::containsAll ( const C< const Alternative * > &  items)
inherited
void elm::genstruct::Vector< const Alternative * >::copy ( const Vector< const Alternative * > &  vec)
inherited
int elm::genstruct::Vector< const Alternative * >::count ( void  ) const
inherited
table< const Alternative * > elm::genstruct::Vector< const Alternative * >::detach ( void  )
inherited
Iterator elm::genstruct::Vector< const Alternative * >::find ( const const Alternative * &  item)
inherited
Iterator elm::genstruct::Vector< const Alternative * >::find ( const const Alternative * &  item,
const Iterator &  start 
)
inherited
const const Alternative * & elm::genstruct::Vector< const Alternative * >::first ( void  ) const
inherited
const const Alternative * & elm::genstruct::Vector< const Alternative * >::get ( int  index) const
inherited
void elm::genstruct::Vector< const Alternative * >::grow ( int  new_cap)
inherited
int elm::genstruct::Vector< const Alternative * >::indexOf ( const const Alternative * &  value,
int  start = 0 
) const
inherited
void elm::genstruct::Vector< const Alternative * >::insert ( const const Alternative * &  item)
inherited
void elm::genstruct::Vector< const Alternative * >::insert ( int  index,
const const Alternative * &  value 
)
inherited
bool elm::genstruct::Vector< const Alternative * >::isEmpty ( void  ) const
inherited
const Alternative * & elm::genstruct::Vector< const Alternative * >::item ( int  index)
inherited
const const Alternative * & elm::genstruct::Vector< const Alternative * >::last ( void  ) const
inherited
int elm::genstruct::Vector< const Alternative * >::lastIndexOf ( const const Alternative * &  value,
int  start = -1 
) const
inherited
int elm::genstruct::Vector< const Alternative * >::length ( void  ) const
inherited
elm::genstruct::Vector< const Alternative * >::operator bool ( void  ) const
inherited
bool elm::genstruct::Vector< const Alternative * >::operator!= ( const Vector< const Alternative * > &  v) const
inherited
bool elm::genstruct::Vector< const Alternative * >::operator== ( const Vector< const Alternative * > &  v) const
inherited
const Alternative * & elm::genstruct::Vector< const Alternative * >::operator[] ( int  index)
inherited
const const Alternative * & elm::genstruct::Vector< const Alternative * >::operator[] ( int  index) const
inherited
const const Alternative * elm::genstruct::Vector< const Alternative * >::pop ( void  )
inherited
void elm::genstruct::Vector< const Alternative * >::push ( const const Alternative * &  value)
inherited
void elm::genstruct::Vector< const Alternative * >::remove ( const const Alternative * &  value)
inherited
void elm::genstruct::Vector< const Alternative * >::remove ( const Iterator &  iter)
inherited
void elm::genstruct::Vector< const Alternative * >::removeAll ( const C< const Alternative * > &  items)
inherited
void elm::genstruct::Vector< const Alternative * >::removeAt ( int  index)
inherited
void elm::genstruct::Vector< const Alternative * >::removeFirst ( void  )
inherited
void elm::genstruct::Vector< const Alternative * >::removeLast ( void  )
inherited
void elm::genstruct::Vector< const Alternative * >::set ( const Iterator &  pos,
const const Alternative * &  item 
)
inherited
void elm::genstruct::Vector< const Alternative * >::set ( int  index,
const const Alternative *  value 
)
inherited
void elm::genstruct::Vector< const Alternative * >::setLength ( int  new_length)
inherited
void elm::genstruct::Vector< const Alternative * >::swallow ( Vector< const Alternative * > &  v)
inherited
const const Alternative * & elm::genstruct::Vector< const Alternative * >::top ( void  ) const
inherited

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