MCPcopy Create free account
hub / github.com/bwapi/bwapi / parent

Method parent

bwapi/BWAPI/Source/BW/Dialog.cpp:532–537  ·  view source on GitHub ↗

-------------------------------------------------- CONTROL ------------------------------------------------ -------------------- PARENT ---------------------

Source from the content-addressed store, hash-verified

530// -------------------------------------------------- CONTROL ------------------------------------------------
531 // -------------------- PARENT ---------------------
532 dialog *dialog::parent() const
533 {
534 if ( this && !this->isDialog() && this->u.ctrl.pDlg )
535 return this->u.ctrl.pDlg;
536 return nullptr;
537 }
538 // --------------------- INDEX ---------------------
539 short dialog::getIndex() const
540 {

Callers 4

findIndexMethod · 0.95
findDialogMethod · 0.80
addControlMethod · 0.80

Calls 1

isDialogMethod · 0.95

Tested by

no test coverage detected