Logo Search packages:      
Sourcecode: taskjuggler version File versions  Download package

Scenario * Project::getScenario ( int  sc  )  const

Returns a pointer to the scenario.

Parameters:
sc Index of the scenario in the project scenario list.

Definition at line 211 of file Project.cpp.

{
    int i = 0;
    for (ScenarioListIterator sli(scenarioList); sli; ++sli)
        if (i++ == sc)
            return *sli;
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index