MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / setAnnotations

Method setAnnotations

annotation/AnnotationList.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void AnnotationList::setAnnotations(const std::vector<std::shared_ptr<Annotation> >& annotations) {
97 this->removeAllAnnotations();
98 _annotations = annotations;
99}
100
101void AnnotationList::setGroups(const std::vector<std::shared_ptr<AnnotationGroup> >& groups) {
102 this->removeAllGroups();

Callers

nothing calls this directly

Calls 1

removeAllAnnotationsMethod · 0.95

Tested by

no test coverage detected