/** * Adds data from the specified object, unless already present in * this one. */ void Complement(const TrafficList &add) { if (IsEmpty() && !add.IsEmpty()) *this = add; }
bool IsDetected() const { return status.available || !traffic.IsEmpty(); }