From: nilitonilito n. <nil...@ho...> - 2007-01-27 14:00:23
|
> >I need EventList::find to work well to finish the Sysex editor (delete > >button). If I understood well I would like to permit myself to code > >Event::operator==. Would it be ok? I didn't feel too confident in the first moment but after reading some documentation about operator== I think I managed to produce a clean and working code and I took the freedom to commit it. I had also to add in PosLen a method operator== because two events are equal if they have the same times too. Please remark that my code does not take into account the clone aspect (because I haven't fully understood it yet) and also the ns in PosLen (for the same reason) but for what I tested it was working well. The code for WaveEventBase::operator== remains to be made. Cheers Nil _________________________________________________________________ Découvrez le Blog heroic Fantaisy d'Eragon! http://eragon-heroic-fantasy.spaces.live.com/ |