#include <MathAndSystem.h>
Inheritance diagram for mcMathAndSystem:
Never use mcMathAndSystemHelpers directly: it must be accessed through this class. For more info see mcElement class details.
Definition at line 253 of file MathAndSystem.h.
Public Member Functions | |
mcMathAndSystem (const mcMathLine &l1, const mcMathLine &l2) | |
bool | data_isValidContainerFor (mcElementType t) const |
Returns TRUE if this element can safely contain the given element type. | |
mcWRAPPER void | data_AddLine (mcMathLine *ptoadd) |
mcWRAPPER mcMathLine & | data_GetLine (int n) |
mcWRAPPER const mcMathLine & | data_GetLine (int n) const |
mcWRAPPER void | data_SetFilter (const mcFilter *p, int n=-1) |
mcWRAPPER int | gui_GetActiveElemID () const |
mcWRAPPER bool | gui_isIDChanged () const |
mcWRAPPER mcMathLine & | gui_GetFocusLine () |
mcWRAPPER const mcMathLine & | gui_GetFocusLine () const |
mcWRAPPER void | math_Merge (const mcMathAndSystem &arr1, const mcMathAndSystem &arr2) |
Private Member Functions | |
mcDEFINE_MAIN_CLASS (MathAndSystem, mcMathSystem) |
|
Definition at line 259 of file MathAndSystem.h. References data_AddLine(), and mcObject::data_SetRefData(). |
|
Definition at line 270 of file MathAndSystem.h. References mcWRAPPER. Referenced by mcMathOrSystemHelpers::data_AddLineToLastAndSystem(), mcMathOrSystemHelpers::data_AddLineToNewAndSystem(), and mcMathAndSystem(). |
|
Definition at line 274 of file MathAndSystem.h. References mcWRAPPER. |
|
Definition at line 272 of file MathAndSystem.h. References mcWRAPPER. Referenced by mcSolver::math_PreSolve(). |
|
Returns TRUE if this element can safely contain the given element type. Without this function a lot of errors could be undetectable:
mcPolynomial pol; // creates a new polynomial mcElement e(pol); // references it [...] // the programmers forgots what "e" references mcFraction f(e); // mcFraction wraps a mcPolynomialHelpers class ! f.data_GetNum(); // CRASH This function must be overridden by mcElement-derived classes in order to provide a list of the mcElementType it can safely contain. Reimplemented from mcMathSystem. Definition at line 263 of file MathAndSystem.h. References mcET_MATHANDSYSTEM. |
|
Definition at line 276 of file MathAndSystem.h. References mcMathMng::data_SetFilter(), and mcWRAPPER. Referenced by mcMathOrSystem::data_SetFilter(), and mcMathOrSystemHelpers::data_SetFilter(). |
|
Definition at line 285 of file MathAndSystem.h. References mcMathLine::gui_GetActiveElemID(), and mcWRAPPER. Referenced by mcMathOrSystem::gui_GetActiveElemID(), and mcMathOrSystemHelpers::gui_GetActiveElemID(). |
|
Definition at line 292 of file MathAndSystem.h. References mcWRAPPER. |
|
Definition at line 290 of file MathAndSystem.h. References mcWRAPPER. Referenced by mcMathOrSystemHelpers::gui_GetFocusLine(). |
|
Definition at line 287 of file MathAndSystem.h. References mcMathLine::gui_isIDChanged(), and mcWRAPPER. Referenced by mcMathOrSystem::gui_isIDChanged(), and mcMathOrSystemHelpers::gui_isIDChanged(). |
|
Definition at line 301 of file MathAndSystem.h. References mcWRAPPER. Referenced by mcMathOrSystemHelpers::math_AndMerge(). |
|
|
[ Top ] |