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

Method isModified

annotation/AnnotationList.cpp:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13bool AnnotationList::isModified() {
14 for (std::vector<std::shared_ptr<Annotation> >::iterator it = _annotations.begin(); it != _annotations.end(); ++it) {
15 if ((*it)->isModified()) {
16 return true;
17 }
18 }
19 for (std::vector<std::shared_ptr<AnnotationGroup> >::iterator it = _groups.begin(); it != _groups.end(); ++it) {
20 if ((*it)->isModified()) {
21 return true;
22 }
23 }
24 return false;
25}
26
27void AnnotationList::resetModifiedStatus() {
28 for (std::vector<std::shared_ptr<Annotation> >::iterator it = _annotations.begin(); it != _annotations.end(); ++it) {

Callers 1

shouldClearMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected