コード例 #1
0
ファイル: reclists.hpp プロジェクト: DeejStar/openmw
    virtual ~CellList()
    {
      for (IntCells::iterator it = intCells.begin(); it!=intCells.end(); ++it)
        delete it->second;

      for (ExtCells::iterator it = extCells.begin(); it!=extCells.end(); ++it)
          delete it->second;
    }
コード例 #2
0
ファイル: reclists.hpp プロジェクト: am0s/openmw
    ~CellList()
    {
      for (IntCells::iterator it = intCells.begin(); it!=intCells.end(); ++it)
        delete it->second;

      for (ExtCells::iterator it = extCells.begin(); it!=extCells.end(); ++it)
      {
        ExtCellsCol& col = it->second;
        for (ExtCellsCol::iterator it = col.begin(); it!=col.end(); ++it)
        {
          delete it->second;
        }
      }
    }
コード例 #3
0
ファイル: reclists.hpp プロジェクト: DeejStar/openmw
 virtual void listIdentifier (std::vector<std::string>& identifier) const
 {
     for (IntCells::const_iterator iter (intCells.begin()); iter!=intCells.end(); ++iter)
         identifier.push_back (iter->first);
 }