のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

4.2のとき

     78 #if PLATFORM(ANDROID)
     79 void GlyphPageTreeNode::resetRoots()
     80 {
     81     if (roots) {
     82         HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end(); <=endを設定
                <==============================>型
     83         for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it) beginからendまで繰り返す。
                     <==============================>型

     84             it->second->resetChildren();
     85     }
     86     if (pageZeroRoot) {
     87         pageZeroRoot->resetChildren();
     88     }
     89 }
     90 
     91 void GlyphPageTreeNode::resetChildren()
     92 {
     93     HashMap<const FontData*, GlyphPageTreeNode*>::const_iterator end = m_children.end();
            <========================================>型
            
     94     for (HashMap<const FontData*, GlyphPageTreeNode*>::const_iterator it = m_children.begin(); it != end; ++it) {
                 <========================================>型
     95         pruneTreeFontData(static_cast<const SimpleFontData*>(it->first));
     96         pruneTreeCustomFontData(it->first);
     97     }
     98 }
     99 #endif