| 90 | IC const typename CSSafeMapIterator::_REGISTRY& CSSafeMapIterator::objects() const { return (m_objects); } |
| 91 | |
| 92 | TEMPLATE_SPEZIALIZATION |
| 93 | template <typename _update_predicate> |
| 94 | IC u32 CSSafeMapIterator::update(const _update_predicate& predicate) |
| 95 | { |
| 96 | if (empty()) |
| 97 | return (0); |
| 98 | |
| 99 | start_timer(); |
| 100 | ++m_cycle_count; |
| 101 | _iterator I = next(); |
| 102 | VERIFY(I != m_objects.end()); |
| 103 | u32 i = 0; |
| 104 | for (; (I != m_objects.end()) && !time_over() && predicate(I, m_cycle_count, true); ++i) |
| 105 | { |
| 106 | update_next(); |
| 107 | predicate(I, m_cycle_count); |
| 108 | I = next(); |
| 109 | } |
| 110 | m_first_update = false; |
| 111 | return (i); |
| 112 | } |
| 113 | |
| 114 | TEMPLATE_SPEZIALIZATION |
| 115 | IC void CSSafeMapIterator::clear() |
no test coverage detected