| 75 | } |
| 76 | |
| 77 | unsigned int AnnotationGroup::getNumberOfPoints() const { |
| 78 | unsigned int nrPoints = 0; |
| 79 | for (std::vector<std::weak_ptr<AnnotationBase> >::const_iterator it = _groupMembers.begin(); it != _groupMembers.end(); ++it) { |
| 80 | if (std::shared_ptr<AnnotationBase> localMember = it->lock()) { |
| 81 | nrPoints += localMember->getNumberOfPoints(); |
| 82 | } |
| 83 | } |
| 84 | return nrPoints; |
| 85 | } |
| 86 | |
| 87 | std::map<std::string, std::string> AnnotationGroup::getAttributes() const { |
| 88 | return _attributes; |
nothing calls this directly
no outgoing calls
no test coverage detected