#include <Solver.h>
Inheritance diagram for mcSolverArray:
The contained objects are pointers so that mcSolver-derived classes can be used; however, this technical detail is completely hidden to the user which uses mcSolverArray...
Definition at line 242 of file Solver.h.
Public Member Functions | |
mcSolverArray () | |
virtual | ~mcSolverArray () |
bool | math_Add (mcSolver *solver) |
Adds a new mcSolver-derived class to the array. | |
bool | math_Contains (const mcSolver *) const |
Returns TRUE if the given mcSolver-derived class is already contained in the array. | |
wxArrayString | io_GetDescArray () const |
Returns an array of wxString containing the descriptions for all entries of this array. | |
void | data_Check () const |
Checks all the solver registered in this array. | |
mcSolver * | data_Get (int i) |
const mcSolver * | data_Get (int i) const |
Protected Member Functions | |
void | data_Delete (int n) |
Deletes the n-th entry of the array. |
|
|
|
Definition at line 250 of file Solver.h. References mcAbstractArray::data_Clear(). |
|
Checks all the solver registered in this array.
Reimplemented from mcAbstractArray. Definition at line 342 of file Solver.cpp. References mcSolver::data_Check(), mcAbstractArray::data_Check(), data_Get(), and mcAbstractArray::data_GetCount(). |
|
Deletes the n-th entry of the array.
Implements mcAbstractArray. Definition at line 245 of file Solver.h. References data_Get(). |
|
Definition at line 271 of file Solver.h. References mcAbstractArray::data_GetItem(). |
|
Definition at line 270 of file Solver.h. References mcAbstractArray::data_GetItem(). Referenced by data_Check(), data_Delete(), io_GetDescArray(), and math_Contains(). |
|
Returns an array of wxString containing the descriptions for all entries of this array.
Definition at line 334 of file Solver.cpp. References data_Get(), and mcAbstractArray::data_GetCount(). |
|
Adds a new mcSolver-derived class to the array. Returns TRUE if the operation is performed without problems; FALSE if another solver with the same name is already present (and thus the given one could not be added...). Definition at line 324 of file Solver.cpp. References mcAbstractArray::data_Add(), and math_Contains(). |
|
Returns TRUE if the given mcSolver-derived class is already contained in the array.
Definition at line 349 of file Solver.cpp. References data_Get(), mcAbstractArray::data_GetCount(), and mcSolver::math_GetName(). Referenced by math_Add(). |
[ Top ] |