////////////////////////////////////////////////////////////////////////// Lookup -- TODO: figure out how I can implement const and non-const versions without duplicating code. //////////////////////////////////////////////////////////////////////////
| 120 | // without duplicating code. |
| 121 | /////////////////////////////////////////////////////////////////////////////// |
| 122 | const iFCOIter* cFCOSetImpl::Lookup(const cFCOName& name) const |
| 123 | { |
| 124 | const cFCOIterImpl* pIter = CreateIterator(this); |
| 125 | if (!pIter->SeekToFCO(name)) |
| 126 | { |
| 127 | pIter->DestroyIter(); |
| 128 | pIter = NULL; |
| 129 | } |
| 130 | return pIter; |
| 131 | } |
| 132 | |
| 133 | iFCOIter* cFCOSetImpl::Lookup(const cFCOName& name) |
| 134 | { |
no test coverage detected