CACAO
Public Types | Public Member Functions | Private Attributes
LoopList Class Reference

Public Types

typedef std::vector
< LoopContainer * >::iterator 
iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
void insert (LoopContainer *loop)
 Inserts the specified loop if it is not already contained in this list. More...
 
void erase (LoopContainer *loop)
 Removes the specified loop from the list if the list contains it. More...
 
void sort ()
 Sort the loops in this list according to their depth in the loop hierarchy. More...
 
iterator find (LoopContainer *loop)
 Searches this list for the specified loop and returns an iterator to the found element. More...
 

Private Attributes

std::vector< LoopContainer * > _loops
 

Detailed Description

Definition at line 40 of file LoopList.hpp.

Member Typedef Documentation

typedef std::vector<LoopContainer*>::iterator LoopList::iterator

Definition at line 46 of file LoopList.hpp.

Member Function Documentation

iterator LoopList::begin ( )
inline

Definition at line 48 of file LoopList.hpp.

iterator LoopList::end ( )
inline

Definition at line 49 of file LoopList.hpp.

void LoopList::erase ( LoopContainer loop)
inline

Removes the specified loop from the list if the list contains it.

Definition at line 80 of file LoopList.hpp.

iterator LoopList::find ( LoopContainer loop)
inline

Searches this list for the specified loop and returns an iterator to the found element.

Definition at line 70 of file LoopList.hpp.

void LoopList::insert ( LoopContainer loop)
inline

Inserts the specified loop if it is not already contained in this list.

Definition at line 73 of file LoopList.hpp.

void LoopList::sort ( )
inline

Sort the loops in this list according to their depth in the loop hierarchy.

The first loop will have the highest depth.

Definition at line 87 of file LoopList.hpp.

Field Documentation

std::vector<LoopContainer*> LoopList::_loops
private

Definition at line 42 of file LoopList.hpp.


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