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

Method addAnnotation

annotation/AnnotationList.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44bool 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
52std::shared_ptr<AnnotationGroup> AnnotationList::getGroup(const int& index) {
53 if (index < 0) {

Callers 5

loadFromRepoMethod · 0.80
loadFromRepoMethod · 0.80
loadFromRepoMethod · 0.80
processMethod · 0.80
finishAnnotationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected