void engine::parse_goal_from_config( readonly_context &context, const config &cfg, std::back_insert_iterator<std::vector< goal_ptr > > b ) { engine_ptr eng = context.get_engine_by_cfg(cfg); if (eng){ //do not override that method in subclasses which cannot create goals eng->do_parse_goal_from_config(cfg, b); } }