void cAppliBATCH_MICMAC::act(const ElResParseDir & aRPD) { std::string aName (aRPD.name()); std::string aNameLoc = aName.substr(mDirIm.size(),aName.size()); if (! mAutomArg1->Match(aNameLoc)) return; for ( std::list<string>::iterator itP=mCurB->PatternCommandeBatch().begin(); itP != mCurB->PatternCommandeBatch().end(); itP++ ) { bool aReplace = mAutomArg1->Replace(*itP); ELISE_ASSERT(aReplace,"Cannot Replace in cAppliBATCH_MICMAC::act"); ExecCom(mAutomArg1->LastReplaced()); } }
void act(const ElResParseDir & res) { if (res.is_dir()) return; code_file(res.name(),_coder); }