25 #ifndef _LOOP_LIST_HPP
26 #define _LOOP_LIST_HPP
46 typedef std::vector<LoopContainer*>::iterator
iterator;
89 std::sort(
_loops.begin(),
_loops.end(), depthGreaterThan);
void insert(LoopContainer *loop)
Inserts the specified loop if it is not already contained in this list.
Represents a single loop.
void sort()
Sort the loops in this list according to their depth in the loop hierarchy.
std::vector< LoopContainer * > _loops
void erase(LoopContainer *loop)
Removes the specified loop from the list if the list contains it.
iterator find(LoopContainer *loop)
Searches this list for the specified loop and returns an iterator to the found element.
std::vector< LoopContainer * >::iterator iterator