| 8 | const char* Annotation::_typeStrings[7] = { "None", "Dot", "Polygon", "Spline", "PointSet", "Measurement", "Rectangle"}; |
| 9 | |
| 10 | Annotation::Annotation() : |
| 11 | _type(Annotation::Type::NONE), |
| 12 | _coordinates() |
| 13 | { |
| 14 | } |
| 15 | |
| 16 | std::string Annotation::getTypeAsString() const { |
| 17 | return _typeStrings[static_cast<int>(_type)]; |
nothing calls this directly
no outgoing calls
no test coverage detected