#include <MathSystem.h>
Inheritance diagram for mcMathSystem:
Never use mcMathSystemHelpers directly: it must be accessed through this class. For more info see mcElement class details.
Definition at line 481 of file MathSystem.h.
Public Member Functions | |
bool | data_isValidContainerFor (mcElementType t) const |
Returns TRUE if this element can safely contain the given element type. | |
mcWRAPPER mcElement & | data_Get (int n) |
mcWRAPPER const mcElement & | data_Get (int n) const |
mcWRAPPER mcElement & | data_GetLast () |
mcWRAPPER const mcElement & | data_GetLast () const |
mcWRAPPER int | data_GetCount () const |
mcWRAPPER void | data_Insert (mcAbstractItem *pointer, int n) |
mcWRAPPER void | data_SetItem (mcAbstractItem *pointer, int n) |
mcWRAPPER void | data_RemoveAt (int idx, int count=1) |
mcWRAPPER void | data_Remove (const mcAbstractItem *p) |
mcWRAPPER void | data_Clear () |
mcWRAPPER bool | data_isEmpty () const |
mcWRAPPER int | data_Find (const mcAbstractItem *pointer) const |
mcWRAPPER mcAbstractItem * | data_Detach (int idx) |
mcWRAPPER int | gui_UpdateBmp (int x, int y, long flags, const wxPoint &p) |
mcWRAPPER int | gui_ForceBmpUpdate (int x, int y, long flags, const wxPoint &p) |
mcWRAPPER int | gui_DrawBmp (wxDC &dc, int x, int y) const |
mcWRAPPER bool | gui_NeedsRefresh () const |
mcWRAPPER void | gui_SetMask (const wxColour &c) |
mcWRAPPER void | gui_SetBmpBackgroundBrush (const wxBrush &c) |
mcWRAPPER void | gui_SetFocusIdx (int n) |
mcWRAPPER int | gui_GetFocusIdx () const |
mcWRAPPER wxPoint | gui_GetRelCursorPos (wxDC &dc, int x, int y, int *height) const |
mcWRAPPER wxBitmap | gui_GetBmp () const |
mcWRAPPER wxString | gui_GetSelInlinedExpr () const |
mcWRAPPER bool | io_ImportInlinedExpr (const wxString &str) |
mcWRAPPER bool | io_ImportInlinedExpr (const wxString &str, int *count, wxString &err) |
mcWRAPPER mcMathSystemType | math_GetMathSystemType () const |
Private Member Functions | |
mcDEFINE_ABSTRACT_CLASS (MathSystem, mcElement) |
|
Definition at line 513 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 519 of file MathSystem.h. References mcAbstractItem, and mcWRAPPER. |
|
Definition at line 517 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 496 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 494 of file MathSystem.h. References mcWRAPPER. Referenced by mcSystemStepArray::math_AppendCombinationOf(), and mcMathSystemHelpers::math_Compare(). |
|
Definition at line 503 of file MathSystem.h. References mcWRAPPER. Referenced by mcMathOrSystemHelpers::data_GetLineCount(), mcMathSystemHelpers::gui_GetSelInlinedExpr(), mcSystemStepArray::math_AppendCombinationOf(), and mcMathSystemHelpers::math_Compare(). |
|
Definition at line 500 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 498 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 505 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 515 of file MathSystem.h. References mcWRAPPER. |
|
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 mcElement. Reimplemented in mcMathAndSystem, and mcMathOrSystem. Definition at line 487 of file MathSystem.h. References mcET_MATHANDSYSTEM, and mcET_MATHORSYSTEM. |
|
Definition at line 511 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 509 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 507 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 532 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 530 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 550 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 544 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 547 of file MathSystem.h. References mcElement::gui_GetRelCursorPos(), and mcWRAPPER. |
|
Definition at line 553 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 535 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 539 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 542 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 537 of file MathSystem.h. References mcWRAPPER. |
|
Definition at line 528 of file MathSystem.h. References mcWRAPPER. |
|
Reimplemented from mcElement. Definition at line 564 of file MathSystem.h. References mcElement::io_ImportInlinedExpr(), and mcWRAPPER. |
|
Definition at line 562 of file MathSystem.h. References mcElement::io_ImportInlinedExpr(), and mcWRAPPER. |
|
Definition at line 573 of file MathSystem.h. References mcWRAPPER. |
|
|
[ Top ] |