| 78 | } |
| 79 | |
| 80 | SharedBox Truckload::Iterator::getFirstBox() |
| 81 | { |
| 82 | // Return m_head's box (or nullptr if the list is empty) |
| 83 | m_current = m_head; |
| 84 | return m_current? m_current->m_box : nullptr; |
| 85 | } |
| 86 | |
| 87 | SharedBox Truckload::Iterator::getLastBox() |
| 88 | { |