| 90 | } |
| 91 | |
| 92 | bool |
| 93 | BundleEvent::operator==(BundleEvent const& evt) const |
| 94 | { |
| 95 | if (!(*this) && !evt) |
| 96 | return true; |
| 97 | if (!(*this) || !evt) |
| 98 | return false; |
| 99 | return GetType() == evt.GetType() && GetBundle() == evt.GetBundle() && GetOrigin() == evt.GetOrigin(); |
| 100 | } |
| 101 | |
| 102 | std::ostream& |
| 103 | operator<<(std::ostream& os, BundleEvent::Type eventType) |