MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / SetEditLock

Method SetEditLock

isis/src/control/objs/ControlPoint/ControlPoint.cpp:519–525  ·  view source on GitHub ↗

* Set the EditLock state. If edit lock is on, then most attributes relating * to this point are not modifiable. Edit lock is like "Don't modify my * attributes, but you can still modify my measures' attributes". The * reference measure is implicitely edit locked if the point is edit locked. * * @param lock True to enable edit lock, false to disable it and allow the * poin

Source from the content-addressed store, hash-verified

517 * point to be modified.
518 */
519 ControlPoint::Status ControlPoint::SetEditLock(bool lock) {
520 if (parentNetwork) {
521 parentNetwork->emitPointModified(this, ControlPoint::EditLockModified, editLock, lock);
522 }
523 editLock = lock;
524 return Success;
525 }
526
527
528 /**

Callers 15

mainFunction · 0.45
printPointFunction · 0.45
ControlPoint.cppFile · 0.45
mainFunction · 0.45
createPointMethod · 0.45
createMeasureMethod · 0.45
FilterOutPointMethod · 0.45
foreachFunction · 0.45
mainFunction · 0.45
replacePointFunction · 0.45
IsisMainFunction · 0.45
IsisMainFunction · 0.45

Calls 1

emitPointModifiedMethod · 0.80

Tested by 8

mainFunction · 0.36
printPointFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36