////////////////////////////////////////////////////////////////////////// Clear -- remove all elements from the set... //////////////////////////////////////////////////////////////////////////
| 96 | // Clear -- remove all elements from the set... |
| 97 | /////////////////////////////////////////////////////////////////////////////// |
| 98 | void cFCOSetImpl::Clear() |
| 99 | { |
| 100 | // release our grip on all the fcos. |
| 101 | std::set<cFCONode>::iterator i; |
| 102 | for (i = mFCOSet.begin(); i != mFCOSet.end(); ++i) |
| 103 | { |
| 104 | i->mpFCO->Release(); |
| 105 | } |
| 106 | |
| 107 | mFCOSet.clear(); |
| 108 | } |
| 109 | |
| 110 | /////////////////////////////////////////////////////////////////////////////// |
| 111 | // IsEmpty -- Anything in the set? |