| 293 | return Total1 < Total2; |
| 294 | } |
| 295 | bool operator> (const TimeCode& tc) const |
| 296 | { |
| 297 | uint64_t Total1 = ((uint64_t)GetHours()) << 16 |
| 298 | | ((uint64_t)GetMinutes()) << 8 |
| 299 | | ((uint64_t)GetSeconds()); |
| 300 | uint64_t Total2 = ((uint64_t)tc.GetHours()) << 16 |
| 301 | | ((uint64_t)tc.GetMinutes()) << 8 |
| 302 | | ((uint64_t)tc.GetSeconds()); |
| 303 | if (Total1 == Total2) |
| 304 | { |
| 305 | if (GetFramesMax() == tc.GetFramesMax()) |
| 306 | return GetFrames() > tc.GetFrames(); |
| 307 | uint64_t Mix1 = ((int64_t)GetFrames()) * (((int64_t)tc.GetFramesMax()) + 1); |
| 308 | uint64_t Mix2 = ((int64_t)tc.GetFrames()) * (((int64_t)GetFramesMax()) + 1); |
| 309 | return Mix1 > Mix2; |
| 310 | } |
| 311 | return Total1 > Total2; |
| 312 | } |
| 313 | bool operator<= (const TimeCode& tc) const |
| 314 | { |
| 315 | uint64_t Total1 = ((uint64_t)GetHours()) << 16 |
nothing calls this directly
no test coverage detected