| 117 | Object::~Object() = default; |
| 118 | |
| 119 | void Object::copyFrom(const Object& other) |
| 120 | { |
| 121 | if (&other == this) |
| 122 | return; |
| 123 | |
| 124 | if (type != other.type) |
| 125 | throw std::invalid_argument(Q_FUNC_INFO); |
| 126 | |
| 127 | symbol = other.symbol; |
| 128 | coords = other.coords; |
| 129 | rotation = other.rotation; |
| 130 | // map unchanged! |
| 131 | object_tags = other.object_tags; |
| 132 | output_dirty = true; |
| 133 | extent = other.extent; |
| 134 | } |
| 135 | |
| 136 | bool Object::equals(const Object* other, bool compare_symbol) const |
| 137 | { |
no test coverage detected