MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / GetCaseWindow

Method GetCaseWindow

src/main.cpp:1220–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1218}
1219
1220CaseWindow *MainWindow::GetCaseWindow( Case *c )
1221{
1222 if ( !c ) return 0;
1223
1224 for( size_t i=0;i<m_caseNotebook->GetPageCount();i++ )
1225 if ( CaseWindow *cw = dynamic_cast<CaseWindow*>(m_caseNotebook->GetPage( i ) ) )
1226 if ( cw->GetCase() == c )
1227 return cw;
1228
1229 return 0;
1230}
1231
1232bool MainWindow::SwitchToCaseWindow( const wxString &case_name )
1233{

Callers 7

CombineCasesDialogMethod · 0.45
OnEvtMethod · 0.45
fcall_simulateFunction · 0.45
fcall_simulate_ssc_testsFunction · 0.45
fcall_show_pageFunction · 0.45
fcall_widgetposFunction · 0.45
fcall_focustoFunction · 0.45

Calls 3

GetPageCountMethod · 0.80
GetPageMethod · 0.45
GetCaseMethod · 0.45

Tested by

no test coverage detected