中间件标准版5.1git,去除基础模块

IpoLineList.cpp 486B

123456789101112131415161718192021222324252627282930
  1. #include "StdAfx.h"
  2. #include "IpoLineList.h"
  3. CIpoLineList::CIpoLineList(void)
  4. {
  5. }
  6. CIpoLineList::~CIpoLineList(void)
  7. {
  8. Free();
  9. }
  10. /*****************************************************************
  11. **【函数名称】 Free
  12. **【函数功能】 释放所有IPO线路信息
  13. **【参数】
  14. **【返回值】
  15. ****************************************************************/
  16. void CIpoLineList::Free( void )
  17. {
  18. while(m_nCount > 0)
  19. {
  20. IpoLine* pLine = RemoveHead();
  21. ASSERT(pLine != NULL);
  22. delete pLine;
  23. }
  24. }