Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mcElementArray Class Reference

#include <ElementArray.h>

Inheritance diagram for mcElementArray:

Inheritance graph
[legend]
Collaboration diagram for mcElementArray:

Collaboration graph
[legend]
List of all members.

Detailed Description

A general array of mcElements; this class has properties similar to wxObjArray class but it allows to perform some complex operations like shift.

Definition at line 1587 of file ElementArray.h.

Public Member Functions

bool data_isValidContainerFor (mcElementType t) const
 Returns TRUE if this element can safely contain the given element type.
mcWRAPPER void data_CheckIndex (int entry) const
mcWRAPPER void data_CheckArrayLimit ()
mcWRAPPER void data_ChangeFilter (const mcFilter *p)
mcWRAPPER void data_UpdateFilterFor (mcElement &p, const mcFilter *f)
mcWRAPPER bool data_isElementAllowed (mcElementType type) const
mcWRAPPER int data_AddElements (const mcElement *p, int num, int pos=-1, bool bOverwrite=FALSE, bool bForceCopy=FALSE)
mcWRAPPER mcElementdata_AddNewElement (mcElementType t, bool bOverwrite=FALSE, int pos=-1)
mcWRAPPER mcElementdata_AddNewWrappedElement (mcElementType t, bool bOverwrite=FALSE, int pos=-1)
mcWRAPPER void data_Merge (const mcElementArray &p, int n, bool bmath_AddToEnd=TRUE)
mcWRAPPER void data_AddNewOp (mcElementType type, int pos=-1)
mcWRAPPER void data_AddNewEmptyBox (int pos=-1)
mcWRAPPER bool data_Delete (const mcElement &elem)
mcWRAPPER void data_Delete (int entry)
mcWRAPPER void data_DeleteLast (int num)
mcWRAPPER void data_DeleteFirst (int num)
mcWRAPPER void data_DeleteAllElemType (mcElementType t)
mcWRAPPER void data_DeleteAll ()
mcWRAPPER mcElement data_Detach (int n)
mcWRAPPER mcElement data_DetachLastElem (int num)
mcWRAPPER mcElement data_DetachAll ()
mcWRAPPER void data_MoveElemRight (int start)
mcWRAPPER void data_MoveElemLeft (int start)
mcWRAPPER void data_Move (int n, int k)
mcWRAPPER int data_MoveAllElemType (mcElementType t, mcElementArray &m)
mcWRAPPER void data_Swap (int index1, int index2)
mcWRAPPER int data_QueueElemType (mcElementType t, int firstpos)
mcWRAPPER void data_Repair ()
mcWRAPPER bool data_isWrappingOnly (mcElementType t) const
mcWRAPPER const mcElementdata_GetWrapped (mcElementType t) const
mcWRAPPER const mcElementdata_Get (int entry) const
mcWRAPPER mcElementdata_Get (int entry)
mcWRAPPER int data_GetIndexOf (const mcElement &p) const
mcWRAPPER const mcElementdata_GetLast () const
mcWRAPPER mcElementdata_GetLast ()
mcWRAPPER mcElementdata_GetArray (int n=0) const
mcWRAPPER int data_GetIndex (int id) const
mcWRAPPER int data_GetCount () const
mcWRAPPER int data_GetAvailableEntryCount () const
mcWRAPPER int data_GetNumOfElemType (mcElementType t) const
mcWRAPPER int data_GetOpCount () const
mcWRAPPER mcElementdata_GetElemOfType (int n, mcElementType t) const
mcWRAPPER int data_GetElemIndexOfType (int n, mcElementType t) const
mcWRAPPER mcElementdata_GetNonOpElem (int n) const
mcWRAPPER int data_GetNonOpElemIndex (int n) const
mcWRAPPER mcOperatordata_GetOp (int n) const
mcWRAPPER int data_GetOpIndex (int n) const
mcWRAPPER mcElementType data_GetOpTypeBetween (int n1, int n2) const
mcWRAPPER mcElementType data_GetOpTypePreceding (int n) const
mcWRAPPER const mcElementdata_GetElemAtLeftOf (const mcElement &p) const
mcWRAPPER const mcElementdata_GetElemAtRightOf (const mcElement &p) const
mcWRAPPER bool data_isOp (int entry) const
mcWRAPPER bool data_isEmptyBox (int entry) const
mcWRAPPER bool data_isEmptyEntry (int entry) const
mcWRAPPER bool data_isAddSubOp (int entry) const
mcWRAPPER bool data_isMultDivOp (int entry) const
mcWRAPPER bool data_isArrayEmpty () const
mcWRAPPER bool data_isValidElem (int entry) const
mcWRAPPER void data_Set (int i, const mcElement &value)
mcWRAPPER void data_SetAsEmptyEntry (int entry)
mcWRAPPER void data_SetFilter (const mcFilter *p)
mcWRAPPER mcFilterdata_GetFilter ()
mcWRAPPER const mcFilterdata_GetFilter () const
mcWRAPPER bool data_isUsingFilter () const
mcWRAPPER int gui_AddNewElement (mcElementType type, const mcKey &key, int pos=-1)
mcWRAPPER void gui_AddNewEmptyBox (int pos=-1)
mcWRAPPER void gui_AddNewOp (mcElementType nOpType, int pos=-1)
mcWRAPPER void gui_SetCursorOnElemBegin (int n)
mcWRAPPER void gui_SetCursorOnElemEnd (int n)
mcWRAPPER bool gui_isCursorOn (const mcElement &p) const
mcWRAPPER int gui_GetSelElemCount () const
mcWRAPPER int gui_GetSelElemCountOfType (mcElementType t) const
mcWRAPPER int gui_GetSelElemIndex (int n) const
mcWRAPPER int gui_GetSelElemIndexOfType (int n, mcElementType t) const
mcWRAPPER const mcElementgui_GetSelElem (int n) const
mcWRAPPER const mcElementgui_GetSelElemOfType (int n, mcElementType t) const
mcWRAPPER int gui_GetSelStart () const
mcWRAPPER int gui_GetSelEnd () const
mcWRAPPER void gui_DeleteSelection ()
mcWRAPPER mcElementgui_ExGetActiveElem (int x, int y, const wxPoint &pt, int cl)
mcWRAPPER void gui_DeleteNextOp ()
mcWRAPPER void gui_DeletePreviousOp ()
mcWRAPPER void gui_MoveCursorRight ()
mcWRAPPER void gui_MoveCursorLeft ()
mcWRAPPER int gui_GetCenterLine () const
mcWRAPPER int gui_ExDraw (wxDC &dc, int x, int y, long flags, const wxPoint &pt, int cl=-1, int begin=0, int end=-1, bool bDrawSelected=FALSE) const
mcWRAPPER int gui_ExGetRelCursorPos (wxDC &dc, wxPoint *pt, int cl=-1) const
mcWRAPPER mcExpSimRes math_Simplify (long flags)
mcWRAPPER mcExpSimRes math_Expand (long flags)
mcWRAPPER mcExpSimRes math_Simplify (long flags, mcElement *p)
mcWRAPPER mcExpSimRes math_Expand (long flags, mcElement *p)
mcWRAPPER const mcElementmath_Get (int n) const
mcWRAPPER mcElementmath_Get (int n)
mcWRAPPER int math_GetCount () const
mcWRAPPER int math_GetIndexOf (int occ, const mcElement &tofind) const
mcWRAPPER mcElementType math_GetOpTypeBetween (int n1, int n2) const
mcWRAPPER mcElementType math_GetOpTypePreceding (int n) const
mcWRAPPER mcOperatormath_GetOpBetween (int n1, int n2) const
mcWRAPPER mcOperatormath_GetOpPreceding (int n) const
mcWRAPPER bool math_Remove (int n, bool bAddZero=TRUE)
mcWRAPPER bool math_Delete (int n, const mcElement &elem, bool bAddZero=TRUE)
mcWRAPPER void math_ApplyOp (mcElementType optype, mcElement res, const mcElement &factor, mcElement *pp)
mcWRAPPER void math_ApplyOpSimple (mcElementType optype, mcElement res, const mcElement &factor)
mcWRAPPER bool math_isWrappingOnly (mcElementType t) const
mcWRAPPER const mcElementmath_GetWrapped (mcElementType t) const
mcWRAPPER mcArrayEntry math_WrapMonomial (const mcMonomial &m)
mcWRAPPER mcArrayEntry math_WrapSimple (const mcElement &e)
mcWRAPPER mcArrayEntry math_WrapSymbol (const mcSymbolProperties *sym)
mcWRAPPER mcArrayEntry math_WrapNumber (const mcRealValue &val)
mcWRAPPER bool math_isWrappingNumOnly () const
mcWRAPPER bool math_isWrappingSymOnly () const
mcWRAPPER mcRealValue math_GetWrappedNumber () const
mcWRAPPER const mcSymbolPropertiesmath_GetWrappedSymbol () const
mcWRAPPER bool math_isWrappingOnly (const mcSymbolProperties *sym) const
mcWRAPPER bool math_isWrappingOnly (const mcRealValue &val) const
mcWRAPPER void math_ResetToOne ()
mcWRAPPER void math_ResetToZero ()
mcWRAPPER mcArrayEntry math_EmbedInFraction (bool bAsDenominator=FALSE)
mcWRAPPER mcArrayEntry math_EmbedInBracket ()
mcWRAPPER mcArrayEntry math_EmbedInRadical ()
mcWRAPPER int math_DataToMathIdx (int dataindex) const
mcWRAPPER int math_MathToDataIdx (int mathindex) const
mcWRAPPER void math_EmbedInBracketAndRaiseTo (const mcRealValue &n)
mcWRAPPER void math_EmbedInBracketAndRaiseTo (const mcPolynomial &p)

Private Member Functions

 mcDEFINE_ABSTRACT_CLASS (ElementArray, mcElement)


Member Function Documentation

mcWRAPPER int mcElementArray::data_AddElements const mcElement p,
int  num,
int  pos = -1,
bool  bOverwrite = FALSE,
bool  bForceCopy = FALSE
[inline]
 

Definition at line 1613 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcFraction::data_AddElements(), mcFractionHelpers::data_AddElements(), mcExpContainerHelpers::data_AddElements(), mcPolynomialHelpers::data_AddNewMonomialContaining(), mcPolynomialHelpers::data_ReplaceParentheses(), mcMonomialHelpers::data_TransformDivOp(), mcElementArrayHelpers::gui_GetSelection(), mcPolynomialHelpers::gui_ReplaceBracket(), mcMonomialHelpers::gui_Split(), mcElementArrayHelpers::math_CreateWrapperFor(), mcMonomialHelpers::math_DetachNonCommonFactors(), mcExpElementHelpers::math_GetBaseGCD(), mcExpElementHelpers::math_GetBaseLCM(), mcMonomialHelpers::math_GetCoeff(), mcNumberHelpers::math_GetGCD(), mcExpElementHelpers::math_GetGCD(), mcPolynomialHelpers::math_GetLCM(), mcExpElementHelpers::math_GetLCM(), mcMonomialHelpers::math_GetPolynomialWrapper(), mcFractionHelpers::math_SimplifyFactors(), mcPolynomialHelpers::math_WrapSimple(), mcMonomial::mcMonomial(), and mcPolynomial::mcPolynomial().

mcWRAPPER mcElement& mcElementArray::data_AddNewElement mcElementType  t,
bool  bOverwrite = FALSE,
int  pos = -1
[inline]
 

Definition at line 1617 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcExpContainerHelpers::data_AddNewElement(), and mcPolynomialHelpers::data_AddNewEmptyMonomial().

mcWRAPPER void mcElementArray::data_AddNewEmptyBox int  pos = -1  )  [inline]
 

Definition at line 1630 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_AddNewOp mcElementType  type,
int  pos = -1
[inline]
 

Definition at line 1627 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElement& mcElementArray::data_AddNewWrappedElement mcElementType  t,
bool  bOverwrite = FALSE,
int  pos = -1
[inline]
 

Definition at line 1620 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_ChangeFilter const mcFilter p  )  [inline]
 

Definition at line 1604 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_CheckArrayLimit  )  [inline]
 

Definition at line 1602 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_CheckIndex int  entry  )  const [inline]
 

Definition at line 1600 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_Delete int  entry  )  [inline]
 

Definition at line 1636 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_Delete const mcElement elem  )  [inline]
 

Definition at line 1634 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), mcMonomialHelpers::gui_MergeWith(), and mcPolynomialHelpers::gui_ReplaceBracket().

mcWRAPPER void mcElementArray::data_DeleteAll  )  [inline]
 

Definition at line 1644 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::data_TransformDivOp(), mcMathMngHelpers::gui_Input(), mcParenthesisHelpers::io_ImportInlinedExpr(), mcMathMngHelpers::io_ImportInlinedExpr(), mcFractionHelpers::math_Add(), mcMonomialHelpers::math_DivideBy(), and mcPolySolver::math_SolveLineSecondDegree().

mcWRAPPER void mcElementArray::data_DeleteAllElemType mcElementType  t  )  [inline]
 

Definition at line 1642 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::io_ImportInlinedExpr().

mcWRAPPER void mcElementArray::data_DeleteFirst int  num  )  [inline]
 

Definition at line 1640 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), and mcMonomialHelpers::gui_AddNewElement().

mcWRAPPER void mcElementArray::data_DeleteLast int  num  )  [inline]
 

Definition at line 1638 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), and mcMonomialHelpers::gui_AddNewElement().

mcWRAPPER mcElement mcElementArray::data_Detach int  n  )  [inline]
 

Definition at line 1647 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElement mcElementArray::data_DetachAll  )  [inline]
 

Definition at line 1651 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcElementArrayHelpers::math_HandleExpSimFlag().

mcWRAPPER mcElement mcElementArray::data_DetachLastElem int  num  )  [inline]
 

Definition at line 1649 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElement& mcElementArray::data_Get int  entry  )  [inline]
 

Definition at line 1683 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::data_Get int  entry  )  const [inline]
 

Definition at line 1681 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_AddNewWrappedElement(), mcBracketHelpers::data_ChooseBracketType(), mcPolynomialHelpers::data_ReplaceParentheses(), mcMonomialHelpers::gui_MergeWith(), mcMonomialHelpers::gui_Split(), mcFractionHelpers::io_CheckBracketNeed(), mcElementArrayHelpers::math_Compare(), mcPolynomialHelpers::math_DistributeBracket(), mcMonomialHelpers::math_GetCoeff(), and mcExpElementHelpers::math_SimplifyExp().

mcWRAPPER mcElement* mcElementArray::data_GetArray int  n = 0  )  const [inline]
 

Definition at line 1696 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), mcPolynomialHelpers::gui_ReplaceBracket(), and mcElementArrayHelpers::math_HandleExpSimFlag().

mcWRAPPER int mcElementArray::data_GetAvailableEntryCount  )  const [inline]
 

Definition at line 1705 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetCount  )  const [inline]
 

Definition at line 1702 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcBracketHelpers::data_ChooseBracketType(), mcPolynomialHelpers::data_ReplaceParentheses(), mcMonomialHelpers::gui_AddNewElement(), mcPolynomialHelpers::gui_ReplaceBracket(), mcFractionHelpers::io_CheckBracketNeed(), mcElementArrayHelpers::math_Compare(), mcMonomialHelpers::math_GetCoeff(), mcElementArrayHelpers::math_HandleExpSimFlag(), and mcExpElementHelpers::math_SimplifyExp().

mcWRAPPER const mcElement& mcElementArray::data_GetElemAtLeftOf const mcElement p  )  const [inline]
 

Definition at line 1738 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::data_GetElemAtRightOf const mcElement p  )  const [inline]
 

Definition at line 1741 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetElemIndexOfType int  n,
mcElementType  t
const [inline]
 

Definition at line 1717 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcElementArrayHelpers::math_Compare(), and mcPolynomialHelpers::math_DistributeBracket().

mcWRAPPER mcElement& mcElementArray::data_GetElemOfType int  n,
mcElementType  t
const [inline]
 

Definition at line 1714 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), mcPolynomialHelpers::gui_ReplaceBracket(), and mcMonomialHelpers::math_GetCoeff().

mcWRAPPER const mcFilter* mcElementArray::data_GetFilter  )  const [inline]
 

Definition at line 1772 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcFilter* mcElementArray::data_GetFilter  )  [inline]
 

Definition at line 1769 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetIndex int  id  )  const [inline]
 

Definition at line 1699 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetIndexOf const mcElement p  )  const [inline]
 

Definition at line 1687 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::gui_ReplaceBracket(), and mcPolynomialHelpers::math_HandleExpSimFlag().

mcWRAPPER mcElement& mcElementArray::data_GetLast  )  [inline]
 

Definition at line 1692 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::data_GetLast  )  const [inline]
 

Definition at line 1690 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::gui_MergeWith().

mcWRAPPER mcElement& mcElementArray::data_GetNonOpElem int  n  )  const [inline]
 

Definition at line 1720 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetNonOpElemIndex int  n  )  const [inline]
 

Definition at line 1723 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetNumOfElemType mcElementType  t  )  const [inline]
 

Definition at line 1708 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcElementArrayHelpers::math_Compare(), and mcMonomialHelpers::math_GetCoeff().

mcWRAPPER mcOperator& mcElementArray::data_GetOp int  n  )  const [inline]
 

Definition at line 1726 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetOpCount  )  const [inline]
 

Definition at line 1711 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_GetOpIndex int  n  )  const [inline]
 

Definition at line 1729 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElementType mcElementArray::data_GetOpTypeBetween int  n1,
int  n2
const [inline]
 

Definition at line 1732 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElementType mcElementArray::data_GetOpTypePreceding int  n  )  const [inline]
 

Definition at line 1735 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcElementArrayHelpers::math_Compare().

mcWRAPPER const mcElement& mcElementArray::data_GetWrapped mcElementType  t  )  const [inline]
 

Definition at line 1677 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isAddSubOp int  entry  )  const [inline]
 

Definition at line 1750 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isArrayEmpty  )  const [inline]
 

Definition at line 1755 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), mcExpElementHelpers::gui_CheckExpSub(), mcFunctionHelpers::gui_CheckSub(), mcMonomialHelpers::gui_MergeWith(), and mcPolynomialHelpers::math_Add().

mcWRAPPER bool mcElementArray::data_isElementAllowed mcElementType  type  )  const [inline]
 

Definition at line 1610 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isEmptyBox int  entry  )  const [inline]
 

Definition at line 1746 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isEmptyEntry int  entry  )  const [inline]
 

Definition at line 1748 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isMultDivOp int  entry  )  const [inline]
 

Definition at line 1752 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isOp int  entry  )  const [inline]
 

Definition at line 1744 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::gui_MergeWith(), mcPolynomialHelpers::math_Add(), and mcElementArrayHelpers::math_Compare().

mcWRAPPER bool mcElementArray::data_isUsingFilter  )  const [inline]
 

Definition at line 1775 of file ElementArray.h.

References mcWRAPPER.

bool mcElementArray::data_isValidContainerFor mcElementType  t  )  const [inline, virtual]
 

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 mcMonomial, and mcPolynomial.

Definition at line 1593 of file ElementArray.h.

References mcET_MONOMIAL, and mcET_POLYNOMIAL.

mcWRAPPER bool mcElementArray::data_isValidElem int  entry  )  const [inline]
 

Definition at line 1757 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::data_isWrappingOnly mcElementType  t  )  const [inline]
 

Definition at line 1674 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_Merge const mcElementArray p,
int  n,
bool  bmath_AddToEnd = TRUE
[inline]
 

Definition at line 1624 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_Move int  n,
int  k
[inline]
 

Definition at line 1658 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_MoveAllElemType mcElementType  t,
mcElementArray m
[inline]
 

Definition at line 1660 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_MoveElemLeft int  start  )  [inline]
 

Definition at line 1656 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses(), mcMonomialHelpers::gui_MergeWith(), and mcPolynomialHelpers::gui_ReplaceBracket().

mcWRAPPER void mcElementArray::data_MoveElemRight int  start  )  [inline]
 

Definition at line 1654 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::data_QueueElemType mcElementType  t,
int  firstpos
[inline]
 

Definition at line 1666 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_Repair  )  [inline]
 

Definition at line 1669 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::gui_Split(), and mcPolynomialHelpers::io_ImportInlinedExpr().

mcWRAPPER void mcElementArray::data_Set int  i,
const mcElement value
[inline]
 

Definition at line 1760 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_SetAsEmptyEntry int  entry  )  [inline]
 

Definition at line 1763 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_SetFilter const mcFilter p  )  [inline]
 

Definition at line 1766 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMathMng::data_SetFilter(), and mcMathMngHelpers::data_SetFilter().

mcWRAPPER void mcElementArray::data_Swap int  index1,
int  index2
[inline]
 

Definition at line 1663 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::data_UpdateFilterFor mcElement p,
const mcFilter f
[inline]
 

Definition at line 1607 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_AddNewElement mcElementType  type,
const mcKey key,
int  pos = -1
[inline]
 

Definition at line 1786 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_AddNewEmptyBox int  pos = -1  )  [inline]
 

Definition at line 1788 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_AddNewOp mcElementType  nOpType,
int  pos = -1
[inline]
 

Definition at line 1790 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_DeleteNextOp  )  [inline]
 

Definition at line 1826 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_DeletePreviousOp  )  [inline]
 

Definition at line 1828 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_DeleteSelection  )  [inline]
 

Reimplemented from mcElement.

Definition at line 1820 of file ElementArray.h.

References mcElement::gui_DeleteSelection(), and mcWRAPPER.

Referenced by mcMathMngHelpers::gui_DeleteSelection().

mcWRAPPER int mcElementArray::gui_ExDraw wxDC &  dc,
int  x,
int  y,
long  flags,
const wxPoint &  pt,
int  cl = -1,
int  begin = 0,
int  end = -1,
bool  bDrawSelected = FALSE
const [inline]
 

Definition at line 1850 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElement& mcElementArray::gui_ExGetActiveElem int  x,
int  y,
const wxPoint &  pt,
int  cl
[inline]
 

Definition at line 1823 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMathMngHelpers::gui_GetActiveElem().

mcWRAPPER int mcElementArray::gui_ExGetRelCursorPos wxDC &  dc,
wxPoint *  pt,
int  cl = -1
const [inline]
 

Definition at line 1871 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMathMngHelpers::gui_GetRelCursorPos().

mcWRAPPER int mcElementArray::gui_GetCenterLine  )  const [inline]
 

Definition at line 1847 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::gui_GetSelElem int  n  )  const [inline]
 

Definition at line 1810 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_GetSelElemCount  )  const [inline]
 

Definition at line 1801 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMathMngHelpers::gui_MultiplyBySel().

mcWRAPPER int mcElementArray::gui_GetSelElemCountOfType mcElementType  t  )  const [inline]
 

Definition at line 1803 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_GetSelElemIndex int  n  )  const [inline]
 

Definition at line 1805 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_GetSelElemIndexOfType int  n,
mcElementType  t
const [inline]
 

Definition at line 1807 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::gui_GetSelElemOfType int  n,
mcElementType  t
const [inline]
 

Definition at line 1812 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_GetSelEnd  )  const [inline]
 

Definition at line 1817 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::gui_GetSelStart  )  const [inline]
 

Definition at line 1815 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::gui_isCursorOn const mcElement p  )  const [inline]
 

Definition at line 1798 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_MoveCursorLeft  )  [inline]
 

Definition at line 1833 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_MoveCursorRight  )  [inline]
 

Definition at line 1831 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::gui_SetCursorOnElemBegin int  n  )  [inline]
 

Definition at line 1793 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::data_ReplaceParentheses().

mcWRAPPER void mcElementArray::gui_SetCursorOnElemEnd int  n  )  [inline]
 

Definition at line 1795 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::gui_ReplaceBracket().

mcWRAPPER void mcElementArray::math_ApplyOp mcElementType  optype,
mcElement  res,
const mcElement factor,
mcElement pp
[inline]
 

Definition at line 1916 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::math_ApplyOpSimple mcElementType  optype,
mcElement  res,
const mcElement factor
[inline]
 

Definition at line 1918 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::math_DataToMathIdx int  dataindex  )  const [inline]
 

Definition at line 1962 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::math_Delete int  n,
const mcElement elem,
bool  bAddZero = TRUE
[inline]
 

Definition at line 1914 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_GetCoeffOf().

mcWRAPPER mcArrayEntry mcElementArray::math_EmbedInBracket  )  [inline]
 

Definition at line 1957 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_GetLCM(), and mcPolynomialHelpers::math_MultiplyBy().

mcWRAPPER void mcElementArray::math_EmbedInBracketAndRaiseTo const mcPolynomial p  )  [inline]
 

Definition at line 1983 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER void mcElementArray::math_EmbedInBracketAndRaiseTo const mcRealValue n  )  [inline]
 

Definition at line 1981 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcArrayEntry mcElementArray::math_EmbedInFraction bool  bAsDenominator = FALSE  )  [inline]
 

Definition at line 1955 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcArrayEntry mcElementArray::math_EmbedInRadical  )  [inline]
 

Definition at line 1959 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcExpSimRes mcElementArray::math_Expand long  flags,
mcElement p
[inline]
 

Reimplemented from mcElement.

Definition at line 1890 of file ElementArray.h.

References mcElement::math_Expand(), and mcWRAPPER.

mcWRAPPER mcExpSimRes mcElementArray::math_Expand long  flags  )  [inline]
 

Definition at line 1886 of file ElementArray.h.

References mcElement::math_Expand(), and mcWRAPPER.

Referenced by mcMathMng::math_Expand(), mcMathMngHelpers::math_Expand(), mcFractionHelpers::math_Expand(), and mcExpContainerHelpers::math_ExpandBase().

mcWRAPPER mcElement& mcElementArray::math_Get int  n  )  [inline]
 

Reimplemented in mcPolynomial.

Definition at line 1895 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::math_Get int  n  )  const [inline]
 

Reimplemented in mcPolynomial.

Definition at line 1893 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::math_Add(), mcMonomialHelpers::math_CanBeAddedWith(), mcPolynomialHelpers::math_DistributeBracket(), mcPolynomial::math_Get(), mcMonomialHelpers::math_GetGCD(), mcMonomialHelpers::math_GetLCM(), mcRadicalHelpers::math_SimplifyContents(), and mcFractionHelpers::math_SimplifyFactors().

mcWRAPPER int mcElementArray::math_GetCount  )  const [inline]
 

Definition at line 1897 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::math_Add(), mcMonomialHelpers::math_CanBeAddedWith(), mcPolynomialHelpers::math_DistributeBracket(), mcPolynomialHelpers::math_FactoreOut(), mcMonomialHelpers::math_GetGCD(), mcMonomialHelpers::math_GetLCM(), mcPolynomialHelpers::math_MultiplyBy(), mcPolynomialHelpers::math_RaiseTo(), mcRadicalHelpers::math_SimplifyContents(), and mcFractionHelpers::math_SimplifyFactors().

mcWRAPPER int mcElementArray::math_GetIndexOf int  occ,
const mcElement tofind
const [inline]
 

Definition at line 1900 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_FindMonomialContaining(), and mcMonomialHelpers::math_GetLCM().

mcWRAPPER mcOperator& mcElementArray::math_GetOpBetween int  n1,
int  n2
const [inline]
 

Definition at line 1907 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcOperator& mcElementArray::math_GetOpPreceding int  n  )  const [inline]
 

Definition at line 1909 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElementType mcElementArray::math_GetOpTypeBetween int  n1,
int  n2
const [inline]
 

Definition at line 1903 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER mcElementType mcElementArray::math_GetOpTypePreceding int  n  )  const [inline]
 

Definition at line 1905 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER const mcElement& mcElementArray::math_GetWrapped mcElementType  t  )  const [inline]
 

Definition at line 1924 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_GetWrapped().

mcWRAPPER mcRealValue mcElementArray::math_GetWrappedNumber  )  const [inline]
 

Definition at line 1940 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::math_GetMaxDegreeFor().

mcWRAPPER const mcSymbolProperties* mcElementArray::math_GetWrappedSymbol  )  const [inline]
 

Definition at line 1943 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::math_isWrappingNumOnly  )  const [inline]
 

Definition at line 1935 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::math_isWrappingOnly const mcRealValue val  )  const [inline]
 

Definition at line 1947 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::math_isWrappingOnly const mcSymbolProperties sym  )  const [inline]
 

Definition at line 1945 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER bool mcElementArray::math_isWrappingOnly mcElementType  t  )  const [inline]
 

Definition at line 1921 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_FactoreOut(), mcMathMngHelpers::math_Move(), and mcBracketHelpers::math_SimplifyContents().

mcWRAPPER bool mcElementArray::math_isWrappingSymOnly  )  const [inline]
 

Definition at line 1937 of file ElementArray.h.

References mcWRAPPER.

mcWRAPPER int mcElementArray::math_MathToDataIdx int  mathindex  )  const [inline]
 

Definition at line 1964 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_DistributeBracket(), and mcFractionHelpers::math_SimplifyFactors().

mcWRAPPER bool mcElementArray::math_Remove int  n,
bool  bAddZero = TRUE
[inline]
 

Definition at line 1912 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_GetCoeffOf(), mcMonomialHelpers::math_GetLCM(), mcFractionHelpers::math_SimplifyFactors(), and mcPolySolver::math_SolveLineSecondDegree().

mcWRAPPER void mcElementArray::math_ResetToOne  )  [inline]
 

Definition at line 1950 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_DistributeBracket(), mcElementArrayHelpers::math_GetFactors(), and mcMonomialHelpers::math_GetGCD().

mcWRAPPER void mcElementArray::math_ResetToZero  )  [inline]
 

Definition at line 1952 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcExpElementHelpers::math_MultOrDiv().

mcWRAPPER mcExpSimRes mcElementArray::math_Simplify long  flags,
mcElement p
[inline]
 

Reimplemented from mcElement.

Definition at line 1888 of file ElementArray.h.

References mcElement::math_Simplify(), and mcWRAPPER.

mcWRAPPER mcExpSimRes mcElementArray::math_Simplify long  flags  )  [inline]
 

Definition at line 1884 of file ElementArray.h.

References mcElement::math_Simplify(), and mcWRAPPER.

Referenced by mcMathMng::math_Simplify(), mcMathMngHelpers::math_Simplify(), mcFractionHelpers::math_Simplify(), and mcExpContainerHelpers::math_SimplifyBase().

mcWRAPPER mcArrayEntry mcElementArray::math_WrapMonomial const mcMonomial m  )  [inline]
 

Definition at line 1926 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcMonomialHelpers::math_DivideBy().

mcWRAPPER mcArrayEntry mcElementArray::math_WrapNumber const mcRealValue val  )  [inline]
 

Definition at line 1932 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcRadicalHelpers::io_ImportBaseInlinedExpr(), mcMathMngHelpers::io_ImportInlinedExpr(), mcPolynomialHelpers::math_GetCoeffOf(), mcElementHelpers::math_MakeReciprocal(), mcPolynomialHelpers::math_RaiseTo(), mcRange::math_Set(), mcPolynomial::mcPolynomial(), and mcMathCore::SetupMath().

mcWRAPPER mcArrayEntry mcElementArray::math_WrapSimple const mcElement e  )  [inline]
 

Definition at line 1928 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolynomialHelpers::math_CreateWrapperFor(), mcElementHelpers::math_GetFactors(), mcNumberHelpers::math_MakeReciprocal(), mcElementHelpers::math_MakeReciprocal(), mcExpElementHelpers::math_SimplifyExp(), mcNumberHelpers::math_TransformInFraction(), and mcMathCore::SetupMath().

mcWRAPPER mcArrayEntry mcElementArray::math_WrapSymbol const mcSymbolProperties sym  )  [inline]
 

Definition at line 1930 of file ElementArray.h.

References mcWRAPPER.

Referenced by mcPolySolver::math_SolveLineSecondDegree(), and mcPolynomial::mcPolynomial().

mcElementArray::mcDEFINE_ABSTRACT_CLASS ElementArray  ,
mcElement 
[private]
 


The documentation for this class was generated from the following file:

Documentation generated with Doxygen on Sun Feb 6 17:12:27 2005
Visit MathStudio home page for more info

[ Top ]