22 |
ContainerList::ContainerList(GUIUpdate* update) |
ContainerList::ContainerList(GUIUpdate* update) |
23 |
: SolutionContainer(update) |
: SolutionContainer(update) |
24 |
{ |
{ |
25 |
total = -1; |
total = 0; |
26 |
} |
} |
27 |
|
|
28 |
|
|
91 |
void ContainerList::addSolution(Solution* sol) |
void ContainerList::addSolution(Solution* sol) |
92 |
{ |
{ |
93 |
solutions.push_back(boost::shared_ptr<Solution>(sol)); |
solutions.push_back(boost::shared_ptr<Solution>(sol)); |
94 |
|
total++; |
95 |
} |
} |
96 |
|
|
97 |
Solution* ContainerList::solution(int index) |
Solution* ContainerList::solution(int index) |