| 25 | } |
| 26 | |
| 27 | void AnnotationList::resetModifiedStatus() { |
| 28 | for (std::vector<std::shared_ptr<Annotation> >::iterator it = _annotations.begin(); it != _annotations.end(); ++it) { |
| 29 | (*it)->resetModifiedStatus(); |
| 30 | } |
| 31 | for (std::vector<std::shared_ptr<AnnotationGroup> >::iterator it = _groups.begin(); it != _groups.end(); ++it) { |
| 32 | (*it)->resetModifiedStatus(); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | bool AnnotationList::addGroup(const std::shared_ptr<AnnotationGroup>& group) { |
| 37 | if (group) { |
no outgoing calls
no test coverage detected