void Pose::set(const Motion &motion, MotionChannel::PosType custom_postype, MotionChannel::IsOpen custom_isopen, float keytime) { for(Motion::const_iterator i = motion.begin(); i != motion.end(); ++i) { for(MotionChannelVector::const_iterator j = i->second.begin(); j != i->second.end(); ++j) { set(i->first.c_str(), **j, custom_postype, custom_isopen, keytime); } } }