| 547 | typename mem_manager |
| 548 | > |
| 549 | bool sequence_kernel_2<T,mem_manager>:: |
| 550 | move_next ( |
| 551 | ) const |
| 552 | { |
| 553 | if (at_start_ && sequence_size>0) |
| 554 | { |
| 555 | move_to_pos(current_node,current_pos,0,sequence_size); |
| 556 | current_enumeration_node = current_node; |
| 557 | current_enumeration_pos = 0; |
| 558 | } |
| 559 | else if (current_enumeration_node!=0) |
| 560 | { |
| 561 | ++current_enumeration_pos; |
| 562 | if (current_enumeration_pos<sequence_size) |
| 563 | { |
| 564 | current_enumeration_node = current_enumeration_node->right; |
| 565 | } |
| 566 | else |
| 567 | { |
| 568 | // we have reached the end of the sequence |
| 569 | current_enumeration_node = 0; |
| 570 | } |
| 571 | } |
| 572 | |
| 573 | at_start_ = false; |
| 574 | return (current_enumeration_node!=0); |
| 575 | } |
| 576 | |
| 577 | // ---------------------------------------------------------------------------------------- |
| 578 | // ---------------------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected