コード例 #1
0
void TextPlacementDelegator::resetState()
{
   // The first call to moveToNextString will have to initialize
   // m_impl->currentTextIndexInMap to 0 in order to process the
   // first text item, and -1 + 1 == 0.
   
   m_impl->textIndexCur = -1;
   m_impl->mapItCur = m_impl->mapItBegin;
   deleteAndClear(m_impl->textResults);
   m_impl->curPolicy->resetViewport();
   m_impl->overlapDetector.clear();
   m_impl->placedTexts.clear();
}
コード例 #2
0
ファイル: BasicExpression.cpp プロジェクト: davvid/SeExpr
void BasicExpression::clearVars() {
    deleteAndClear(varmap);
    funcmap.clear();
}