| 42 | } |
| 43 | |
| 44 | bool AnnotationList::addAnnotation(const std::shared_ptr<Annotation>& annotation) { |
| 45 | if (annotation) { |
| 46 | _annotations.push_back(annotation); |
| 47 | return true; |
| 48 | } |
| 49 | return false; |
| 50 | } |
| 51 | |
| 52 | std::shared_ptr<AnnotationGroup> AnnotationList::getGroup(const int& index) { |
| 53 | if (index < 0) { |
no outgoing calls
no test coverage detected