|
Defines |
#define | mcLOG |
#define | mcMATHLOG |
#define | mcGUILOG |
#define | mcIOLOG |
#define | mcSOLVERLOG |
#define | mcTXT(x) ((x).io_GetInlinedExpr().c_str()) |
| Gets the C inlined string for the given mcElement-derived object.
|
#define | mcTXTP(x) ((x)->io_GetInlinedExpr().c_str()) |
| Same as mcTXT but this macro works with a pointer.
|
#define | mcTXTV(x) ((x).GetSmartStr().c_str()) |
| Returns the inlined expression of a mcValue-derived class.
|
#define | mcTXTTHIS (this->io_GetInlinedExpr().c_str()) |
| Same as mcTXTP but fixed on *this.
|
#define | wxStrcpy strcpy |
#define | mcIMPORT |
#define | mcNewAddOp() mcElementHelpers::data_NewElem(mcET_ADDOP) |
#define | mcNewSubOp() mcElementHelpers::data_NewElem(mcET_SUBOP) |
#define | mcNewMultOp() mcElementHelpers::data_NewElem(mcET_MULTOP) |
#define | mcNewDivOp() mcElementHelpers::data_NewElem(mcET_DIVOP) |
#define | mcNewSymbol() mcElementHelpers::data_NewElem(mcET_SYMBOL) |
#define | mcNewEmptyBox() mcElementHelpers::data_NewElem(mcET_EMPTYBOX) |
#define | mcNewNumber() mcElementHelpers::data_NewElem(mcET_NUMBER) |
#define | mcNewFunction() mcElementHelpers::data_NewElem(mcET_FUNCTION) |
#define | mcNewFraction() mcElementHelpers::data_NewElem(mcET_FRACTION) |
#define | mcNewBracket() mcElementHelpers::data_NewElem(mcET_BRACKET) |
#define | mcNewMonomial() mcElementHelpers::data_NewElem(mcET_MONOMIAL) |
#define | mcNewPolynomial() mcElementHelpers::data_NewElem(mcET_POLYNOMIAL) |
#define | wxDEFINE_CLASS(x) |
| math_Adds the given classname to the wxWidgets RTTI system.
|
#define | wxIMPLEMENT_CLASS(x, y) |
| Implements the wxWidgets RTTI support for the class x (which must derive from the class y ).
|
#define | mcDEFINE_CUSTOM_CLONE_FNC(x) mc##x x##Clone() const; |
#define | mcDEFINE_HELPER_GETMEMORYINFO_FNC(x) |
#define | mcDEFINE_DEBUGNAME_FNC(x) |
#define | mcDEFINE_HELPER_CLONE_FNC(x) |
#define | mcDEFINE_HELPER_GETTYPE_FNC(x) mcElementType data_GetType() const { return x; } |
#define | mcDEFINE_ASSIGNMENT_OPERATOR(x) |
#define | mcDEFINE_COMPARISON_OPERATORS(x) |
#define | mcDEFINE_ABSTRACT_CONSTRUCTORS(x, baseclass) |
#define | mcDEFINE_MAIN_CONSTRUCTORS(x, baseclass) |
#define | mcDEFINE_REFERENCE_DATA(x, type) |
#define | mcGETTER inline |
#define | mcWRAPPER inline |
#define | mcDEFINE_HLP_GETTER(x) |
#define | mcDEFINE_HLP_CP_GETTER(x) |
#define | mcDEFINE_CLASS(x) |
#define | mcDEFINE_HELPER_CLASSES(x) |
#define | mcDEFINE_ABSTRACT_CLASS(x, baseclass) |
#define | mcDEFINE_MAIN_CLASS(x, baseclass) |
#define | mcIMPLEMENT_HLP_GETTER(x) |
#define | mcIMPLEMENT_HLP_CP_GETTER(x) |
#define | mcIMPLEMENT_MAIN_CLASS(x, baseclass) |
#define | mcIMPLEMENT_ABSTRACT_CLASS(x, baseclass) |
#define | mcCREATE_HELPER_CLASSES(x) data_SetRefData(new x##Helpers()); |
#define | mcSAFE_DELETE(x) { if (x) delete x; x = NULL; } |
#define | mcSAFE_DELETE_ARRAY(x) { if (x) delete [] x; x = NULL; } |
#define | mcRETURN_ELEMENT_CHILD(n, baseclass) |
#define | mcSET_ELEMENT_CHILD(n, baseclass, p) |
#define | mcSIGN(x) (((x) < 0) ? -1 : 1) |
#define | mcMAX(x, y) (((x) < (y)) ? (y) : (x)) |
#define | mcMIN(x, y) (((x) < (y)) ? (x) : (y)) |
#define | mcSWAP(type, x, y) { type tmp = x; x = y; y = tmp; } |
#define | mcDBL_MAX 1.7976931348623157e+308 |
#define | mcINT_MAX 2147483647 |
#define | mcGETRED(c) (((wxInt32)(c)) & 255) |
#define | mcGETGREEN(c) ((((wxInt32)(c)) >> 8) & 255) |
#define | mcGETBLUE(c) ((((wxInt32)(c)) >> 16) & 255) |
#define | mcINITWX(x) (wxColour(mcGETRED(x), mcGETGREEN(x), mcGETBLUE(x))) |
#define | mcRGB_ENCODE(r, g, b) |
#define | mcUNUSED(x) { x == x; } |
#define | mcEXTEND_ARRAY(type, parray, oldsize, newsize) |
#define | mcASSERT(x, desc) wxASSERT_MSG(x, wxT("\n\n") desc wxT("\n\n")); |
|
Referenced by mcElement::data_AddChildrenTo(), mcFraction::data_AddElements(), mcExpContainer::data_AddElements(), mcElementArray::data_AddElements(), mcMathAndSystem::data_AddLine(), mcMathOrSystem::data_AddLineToLastAndSystem(), mcMathOrSystem::data_AddLineToNewAndSystem(), mcExpContainer::data_AddNewElement(), mcElementArray::data_AddNewElement(), mcElementArray::data_AddNewEmptyBox(), mcPolynomial::data_AddNewEmptyMonomial(), mcPolynomial::data_AddNewMonomial(), mcPolynomial::data_AddNewMonomialContaining(), mcElementArray::data_AddNewOp(), mcElementArray::data_AddNewWrappedElement(), mcElement::data_AddProperty(), mcElement::data_AddRecursiveProperty(), mcMathOrSystem::data_AddSys(), mcElementArray::data_ChangeFilter(), mcElementArray::data_CheckArrayLimit(), mcElementArray::data_CheckIndex(), mcMathSystem::data_Clear(), mcExpElement::data_CreateExpSub(), mcPolynomial::data_CreateFirstOp(), mcElementArray::data_Delete(), mcElementArray::data_DeleteAll(), mcElementArray::data_DeleteAllElemType(), mcElementArray::data_DeleteFirst(), mcPolynomial::data_DeleteFirstOp(), mcElementArray::data_DeleteLast(), mcExpElement::data_DestroyExpSub(), mcMathSystem::data_Detach(), mcElementArray::data_Detach(), mcElementArray::data_DetachAll(), mcElementArray::data_DetachLastElem(), mcMathSystem::data_Find(), mcNumber::data_Get(), mcMathSystem::data_Get(), mcElementArray::data_Get(), mcFunction::data_GetArgObj(), mcElementArray::data_GetArray(), mcElementArray::data_GetAvailableEntryCount(), mcElement::data_GetChild(), mcElement::data_GetChildIdx(), mcElement::data_GetChildrenCount(), mcElement::data_GetConstChild(), mcExpContainer::data_GetConstContent(), mcSymbol::data_GetConstProperties(), mcExpContainer::data_GetContent(), mcMathSystem::data_GetCount(), mcElementArray::data_GetCount(), mcFraction::data_GetDen(), mcMathOrSystem::data_GetDescString(), mcElementArray::data_GetElemAtLeftOf(), mcElementArray::data_GetElemAtRightOf(), mcElement::data_GetElemFromID(), mcElementArray::data_GetElemIndexOfType(), mcElementArray::data_GetElemOfType(), mcExpElement::data_GetExp(), mcText::data_GetFilter(), mcElementArray::data_GetFilter(), mcFunction::data_GetFncType(), mcElement::data_GetID(), mcElementArray::data_GetIndex(), mcElementArray::data_GetIndexOf(), mcMathSystem::data_GetLast(), mcElementArray::data_GetLast(), mcMathMng::data_GetLeftMem(), mcMathAndSystem::data_GetLine(), mcText::data_GetLongestStr(), mcElement::data_GetMemoryInfo(), mcFunction::data_GetName(), mcFunction::data_GetNameObj(), mcElementArray::data_GetNonOpElem(), mcElementArray::data_GetNonOpElemIndex(), mcFraction::data_GetNum(), mcElementArray::data_GetNumOfElemType(), mcElementArray::data_GetOp(), mcElementArray::data_GetOpCount(), mcElementArray::data_GetOpIndex(), mcElementArray::data_GetOpTypeBetween(), mcElementArray::data_GetOpTypePreceding(), mcSymbol::data_GetProperties(), mcMathMng::data_GetRightMem(), mcText::data_GetRowCount(), mcFunction::data_GetScript(), mcExpElement::data_GetSub(), mcSymbol::data_GetSubscript(), mcSymbol::data_GetSymbol(), mcParenthesis::data_GetSymbol(), mcMathOrSystem::data_GetSys(), mcText::data_GetText(), mcElement::data_GetType(), mcElementArray::data_GetWrapped(), mcElement::data_hasProperty(), mcElement::data_hasRecursiveProperty(), mcMathSystem::data_Insert(), mcElementArray::data_isAddSubOp(), mcElement::data_isAllowedAfter(), mcElement::data_isAllowedBefore(), mcText::data_isArrayEmpty(), mcElementArray::data_isArrayEmpty(), mcElementArray::data_isElementAllowed(), mcMathSystem::data_isEmpty(), mcElementArray::data_isEmptyBox(), mcElementArray::data_isEmptyEntry(), mcParenthesis::data_isLeftBracket(), mcSymbol::data_isLinked(), mcSymbol::data_isLinkedWith(), mcElementArray::data_isMultDivOp(), mcElementArray::data_isOp(), mcFunction::data_isRegistered(), mcElement::data_isSameAs(), mcText::data_isToReject(), mcElementArray::data_isUsingFilter(), mcText::data_isValidContainerFor(), mcElementArray::data_isValidElem(), mcElementArray::data_isWrappingOnly(), mcSymbol::data_LinkWith(), mcElementArray::data_Merge(), mcElementArray::data_Move(), mcElementArray::data_MoveAllElemType(), mcElementArray::data_MoveElemLeft(), mcElementArray::data_MoveElemRight(), mcElementArray::data_QueueElemType(), mcMathSystem::data_Remove(), mcMathSystem::data_RemoveAt(), mcElement::data_RemoveProperty(), mcElement::data_RemoveRecursiveProperty(), mcElementArray::data_Repair(), mcNumber::data_Set(), mcElementArray::data_Set(), mcFunction::data_SetArgObj(), mcElementArray::data_SetAsEmptyEntry(), mcParenthesis::data_SetAsLeftBracket(), mcText::data_SetAsMultiline(), mcParenthesis::data_SetAsRightBracket(), mcText::data_SetAsSingleline(), mcElement::data_SetChild(), mcExpContainer::data_SetContent(), mcFraction::data_SetDen(), mcExpElement::data_SetExpSub(), mcText::data_SetFilter(), mcMathOrSystem::data_SetFilter(), mcMathMng::data_SetFilter(), mcMathAndSystem::data_SetFilter(), mcElementArray::data_SetFilter(), mcFunction::data_SetFncType(), mcMathSystem::data_SetItem(), mcFunction::data_SetName(), mcFunction::data_SetNameObj(), mcFraction::data_SetNum(), mcText::data_SetText(), mcElementArray::data_Swap(), mcSymbol::data_Unlink(), mcElement::data_Update(), mcElementArray::data_UpdateFilterFor(), mcMathOrSystem::gui_AddEmptyLineToLastAndSystem(), mcMathOrSystem::gui_AddEmptyLineToNewAndSystem(), mcElementArray::gui_AddNewElement(), mcElementArray::gui_AddNewEmptyBox(), mcPolynomial::gui_AddNewEmptyMonomial(), mcElementArray::gui_AddNewOp(), mcElement::gui_DeepRecalcSize(), mcElementArray::gui_DeleteNextOp(), mcElementArray::gui_DeletePreviousOp(), mcElementArray::gui_DeleteSelection(), mcElement::gui_DeleteSelection(), mcElement::gui_DeSelect(), mcElement::gui_DoRecalcSize(), mcText::gui_Draw(), mcElement::gui_Draw(), mcMathSystem::gui_DrawBmp(), mcMathLine::gui_DrawBmp(), mcPolynomial::gui_ExDraw(), mcElementArray::gui_ExDraw(), mcMathMng::gui_ExecCmdOnSel(), mcElementArray::gui_ExGetActiveElem(), mcElementArray::gui_ExGetRelCursorPos(), mcMathSystem::gui_ForceBmpUpdate(), mcMathLine::gui_ForceBmpUpdate(), mcElement::gui_GetActiveElem(), mcMathOrSystem::gui_GetActiveElemID(), mcMathLine::gui_GetActiveElemID(), mcMathAndSystem::gui_GetActiveElemID(), mcElement::gui_GetBaseOffsety(), mcMathSystem::gui_GetBmp(), mcElementArray::gui_GetCenterLine(), mcElement::gui_GetCursorPos(), mcFraction::gui_GetDenPos(), mcElement::gui_GetExpDepth(), mcMathSystem::gui_GetFocusIdx(), mcMathOrSystem::gui_GetFocusLine(), mcMathAndSystem::gui_GetFocusLine(), mcMathMng::gui_GetFocusMem(), mcElement::gui_GetHeight(), mcElement::gui_GetHeightOfChar(), mcFraction::gui_GetNumPos(), mcMathMng::gui_GetPossibleOperations(), mcMathMng::gui_GetPossibleOpOnSel(), mcMathSystem::gui_GetRelCursorPos(), mcElement::gui_GetRelCursorPos(), mcText::gui_GetRowHeight(), mcText::gui_GetRowWidth(), mcElement::gui_GetSelection(), mcElementArray::gui_GetSelElem(), mcElementArray::gui_GetSelElemCount(), mcElementArray::gui_GetSelElemCountOfType(), mcElementArray::gui_GetSelElemIndex(), mcElementArray::gui_GetSelElemIndexOfType(), mcElementArray::gui_GetSelElemOfType(), mcElementArray::gui_GetSelEnd(), mcMathSystem::gui_GetSelInlinedExpr(), mcElementArray::gui_GetSelStart(), mcElement::gui_GetSize(), mcElement::gui_GetSizeOfChar(), mcElement::gui_GetStyle(), mcElement::gui_GetStyleForThis(), mcElement::gui_GetSubscriptOffsety(), mcElement::gui_GetThickness(), mcElement::gui_GetWidth(), mcElement::gui_GetWidthOfChar(), mcElement::gui_GetYAnchor(), mcElement::gui_Input(), mcElement::gui_Insert(), mcElement::gui_isAllSelected(), mcElement::gui_isBeginKey(), mcElementArray::gui_isCursorOn(), mcElement::gui_isEndKey(), mcMathOrSystem::gui_isIDChanged(), mcMathLine::gui_isIDChanged(), mcMathAndSystem::gui_isIDChanged(), mcElement::gui_isSelected(), mcElement::gui_isSplittable(), mcElement::gui_LetInCursor(), mcElement::gui_MergeWith(), mcElement::gui_MoveCursor(), mcElementArray::gui_MoveCursorLeft(), mcElementArray::gui_MoveCursorRight(), mcElement::gui_MoveCursorUsingPoint(), mcMathMng::gui_MoveSel(), mcMathMng::gui_MultiplyBySel(), mcMathSystem::gui_NeedsRefresh(), mcElement::gui_OnRecalcSize(), mcElement::gui_OnSelect(), mcElement::gui_RecalcSize(), mcElement::gui_Select(), mcElement::gui_SelectAll(), mcElement::gui_SelectStyle(), mcElement::gui_SetAsExpOf(), mcElement::gui_SetAtSameLevelOf(), mcMathSystem::gui_SetBmpBackgroundBrush(), mcFraction::gui_SetCursorOnDen(), mcElementArray::gui_SetCursorOnElemBegin(), mcElementArray::gui_SetCursorOnElemEnd(), mcFraction::gui_SetCursorOnNum(), mcElement::gui_SetCursorPos(), mcElement::gui_SetExpDepth(), mcMathSystem::gui_SetFocusIdx(), mcMathSystem::gui_SetMask(), mcElement::gui_SetStyleArray(), mcFunction::gui_Setup(), mcElement::gui_Split(), mcMathSystem::gui_UpdateBmp(), mcMathLine::gui_UpdateBmp(), mcElement::gui_UpdateExpDepth(), mcElement::io_GetInlinedExpr(), mcElement::io_GetMathML(), mcMathSystem::io_ImportInlinedExpr(), mcElement::io_ImportInlinedExpr(), mcElement::io_ImportPresentationMathML(), mcElement::io_isBeginChar(), mcElement::io_isBeginTag(), mcNumber::math_Abs(), mcMonomial::math_Abs(), mcElement::math_Add(), mcMathOrSystem::math_AndMerge(), mcOperator::math_Apply(), mcElementArray::math_ApplyOp(), mcElementArray::math_ApplyOpSimple(), mcOperator::math_ApplySimple(), mcElement::math_CanBeAddedWith(), mcOperator::math_CanBeApplied(), mcElement::math_CanBeDivBy(), mcElement::math_CanBeMultWith(), mcPolynomial::math_CanBeRaisedTo(), mcPolynomial::math_ChangeAllSigns(), mcMonomial::math_ChangeCoeffSign(), mcPolynomial::math_ChangeSign(), mcElement::math_Compare(), mcElement::math_CompareThisOnly(), mcElement::math_Contains(), mcElement::math_ContainsConstants(), mcElement::math_ContainsInvalidSymbols(), mcElement::math_ContainsNumber(), mcElement::math_ContainsOneOf(), mcElement::math_ContainsParameters(), mcElement::math_ContainsSymbol(), mcElement::math_ContainsSymbols(), mcElement::math_ContainsUnknowns(), mcElementArray::math_DataToMathIdx(), mcElementArray::math_Delete(), mcPolynomial::math_DeleteFirstOp(), mcElement::math_DivideBy(), mcElementArray::math_EmbedInBracket(), mcElementArray::math_EmbedInBracketAndRaiseTo(), mcElementArray::math_EmbedInFraction(), mcElementArray::math_EmbedInRadical(), mcOperator::math_Evaluate(), mcElement::math_Evaluate(), mcElement::math_EvaluateAt(), mcElement::math_EvaluatesTo(), mcMathMng::math_Expand(), mcElementArray::math_Expand(), mcElement::math_Expand(), mcPolynomial::math_FactoreOut(), mcMathMng::math_FactoreOut(), mcPolynomial::math_FactoreOutAll(), mcMathMng::math_FactoreOutAll(), mcPolynomial::math_FactoreOutConstants(), mcPolynomial::math_FactoreOutFreeOf(), mcMathMng::math_FactoreOutFreeOf(), mcPolynomial::math_FactoreOutParameters(), mcPolynomial::math_FactoreOutUnknowns(), mcPolynomial::math_Factorize(), mcMathMng::math_Find(), mcElement::math_Find(), mcElement::math_FindInChildrenOnly(), mcPolynomial::math_FindMonomialContaining(), mcFraction::math_Flip(), mcPolynomial::math_Get(), mcElementArray::math_Get(), mcMonomial::math_GetCoeff(), mcPolynomial::math_GetCoeffOf(), mcExpElement::math_GetConstExp(), mcElementArray::math_GetCount(), mcElement::math_GetCountOf(), mcElement::math_GetCountOfChildrenOnly(), mcElement::math_GetCountOfSymbolsType(), mcExpElement::math_GetExp(), mcPolynomial::math_GetFactors(), mcPolynomial::math_GetIdxFromEntry(), mcPolynomial::math_GetIndexOf(), mcElementArray::math_GetIndexOf(), mcElement::math_GetLenght(), mcMathMng::math_GetMathMngType(), mcMathSystem::math_GetMathSystemType(), mcElement::math_GetMathType(), mcPolynomial::math_GetMaxDegreeFor(), mcMonomial::math_GetMaxDegreeFor(), mcMathMng::math_GetMaxDegreeFor(), mcMonomial::math_GetMaxDegreeForSymbolArray(), mcPolynomial::math_GetMonomialContaining(), mcPolynomial::math_GetMonomialIdxFromEntry(), mcNumber::math_GetNumDen(), mcPolynomial::math_GetNumSign(), mcElementArray::math_GetOpBetween(), mcElementArray::math_GetOpPreceding(), mcElementArray::math_GetOpTypeBetween(), mcElementArray::math_GetOpTypePreceding(), mcElement::math_GetOrderPos(), mcPolynomial::math_GetSign(), mcExpElement::math_GetSub(), mcElement::math_GetSymbolList(), mcElement::math_GetTotalLenght(), mcElementArray::math_GetWrapped(), mcElementArray::math_GetWrappedNumber(), mcElementArray::math_GetWrappedSymbol(), mcExpElement::math_hasExp(), mcExpElement::math_hasSub(), mcElement::math_isConstant(), mcPolynomial::math_isFactorized(), mcMathMng::math_isFactorized(), mcElement::math_isFinite(), mcPolynomial::math_isFirstMonomialNegative(), mcElement::math_isListedBeforeOf(), mcElement::math_isMaxSimplified(), mcNumber::math_isValid(), mcElement::math_isValidMath(), mcElementArray::math_isWrappingNumOnly(), mcElementArray::math_isWrappingOnly(), mcElementArray::math_isWrappingSymOnly(), mcElement::math_MakeReciprocal(), mcElementArray::math_MathToDataIdx(), mcElement::math_MaxSimplify(), mcMathAndSystem::math_Merge(), mcMathMng::math_MoveAll(), mcMathMng::math_MoveConstants(), mcMathMng::math_MoveFreeFrom(), mcMathMng::math_MoveNonSymbol(), mcMathMng::math_MoveParameters(), mcMathMng::math_MoveSymbol(), mcMathMng::math_MoveUnknowns(), mcElement::math_MultiplyBy(), mcElement::math_NonRecursiveFindInChildren(), mcMathOrSystem::math_OrMerge(), mcPolynomial::math_PackSign(), mcElement::math_RaiseTo(), mcElementArray::math_Remove(), mcMonomial::math_RemoveAllOp(), mcMonomial::math_RemoveCoeff(), mcElement::math_Replace(), mcElementArray::math_ResetToOne(), mcElementArray::math_ResetToZero(), mcMonomial::math_SetCoeff(), mcElement::math_SetExp(), mcMathMng::math_SetMathType(), mcPolynomial::math_SetSign(), mcElement::math_SimpleAdd(), mcElement::math_SimpleDivideBy(), mcElement::math_SimpleMultiplyBy(), mcElement::math_SimpleRaiseTo(), mcElement::math_SimpleSubtract(), mcMathMng::math_Simplify(), mcElementArray::math_Simplify(), mcElement::math_Simplify(), mcMonomial::math_SimplifyCoeff(), mcElement::math_Subtract(), mcElementArray::math_WrapMonomial(), mcElementArray::math_WrapNumber(), mcElementArray::math_WrapSimple(), and mcElementArray::math_WrapSymbol(). |