| 54 | } |
| 55 | |
| 56 | Sc::ElementSimInteraction* Sc::ElementSim::ElementInteractionIterator::getNext() |
| 57 | { |
| 58 | while(mInteractions!=mInteractionsLast) |
| 59 | { |
| 60 | Interaction* it = *mInteractions++; |
| 61 | if(interactionHasElement(it, mElement)) |
| 62 | return static_cast<ElementSimInteraction*>(it); |
| 63 | } |
| 64 | return NULL; |
| 65 | } |
| 66 | |
| 67 | Sc::ElementSimInteraction* Sc::ElementSim::ElementInteractionReverseIterator::getNext() |
| 68 | { |
no test coverage detected