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

mcArrayEntry Class Reference

#include <ElementArray.h>

Inheritance diagram for mcArrayEntry:

Inheritance graph
[legend]
Collaboration diagram for mcArrayEntry:

Collaboration graph
[legend]
List of all members.

Detailed Description

An univocally determined entry in a mcElementArrayHelpers-derived class.

Definition at line 77 of file ElementArray.h.

Public Member Functions

 mcArrayEntry (const mcElementArrayHelpers *owner=NULL, int idx=-1)
virtual ~mcArrayEntry ()
GET functions
CONST functions which makes member access safe.

mcElementdata_GetRef () const
int data_GetIdx () const
int math_GetIdx () const
mcBracketdata_GetBracket () const
mcFractiondata_GetFraction () const
bool data_isValid () const
SET functions
Safe set functions.

void data_SetOwner (mcElementArrayHelpers *ref)
void data_SetIdx (int idx)

Public Attributes

int mdata_idx
 The data index of the monomial containing the element.
const mcElementArrayHelpersmdata_arr
 A reference to the element.


Constructor & Destructor Documentation

mcArrayEntry::mcArrayEntry const mcElementArrayHelpers owner = NULL,
int  idx = -1
[inline]
 

Definition at line 89 of file ElementArray.h.

References mdata_arr, and mdata_idx.

virtual mcArrayEntry::~mcArrayEntry  )  [inline, virtual]
 

Definition at line 92 of file ElementArray.h.


Member Function Documentation

mcBracket& mcArrayEntry::data_GetBracket  )  const [inline]
 

Definition at line 104 of file ElementArray.h.

References data_GetRef().

Referenced by mcElementArrayHelpers::math_EmbedInBracketAndRaiseTo(), mcElementArrayHelpers::math_EmbedInRadicalAndRaiseTo(), and mcPolynomialHelpers::math_FactoreOut().

mcFraction& mcArrayEntry::data_GetFraction  )  const [inline]
 

Definition at line 105 of file ElementArray.h.

References data_GetRef().

Referenced by mcPolynomialHelpers::math_DivideBy(), and mcMonomialHelpers::math_DivideBy().

int mcArrayEntry::data_GetIdx  )  const
 

Definition at line 94 of file ElementArray.cpp.

References mcElementArrayHelpers::data_GetIdxFromEntry(), and mdata_arr.

Referenced by math_GetIdx().

mcElement & mcArrayEntry::data_GetRef  )  const
 

Definition at line 91 of file ElementArray.cpp.

References mdata_arr.

Referenced by data_GetBracket(), data_GetFraction(), mcPolynomialHelpers::math_EmbedInBracket(), mcElementArrayHelpers::math_EmbedInBracket(), mcElementArrayHelpers::math_EmbedInFraction(), mcElementArrayHelpers::math_EmbedInRadical(), mcPolynomialHelpers::math_FactoreOut(), and mcPolynomialHelpers::math_GetLCM().

bool mcArrayEntry::data_isValid  )  const [inline]
 

Definition at line 107 of file ElementArray.h.

References mdata_arr, and mdata_idx.

void mcArrayEntry::data_SetIdx int  idx  )  [inline]
 

Definition at line 117 of file ElementArray.h.

References mdata_idx.

Referenced by mcPolynomialHelpers::math_WrapSimple().

void mcArrayEntry::data_SetOwner mcElementArrayHelpers ref  )  [inline]
 

Definition at line 116 of file ElementArray.h.

References mdata_arr.

int mcArrayEntry::math_GetIdx  )  const
 

Definition at line 97 of file ElementArray.cpp.

References data_GetIdx(), mcElementArrayHelpers::math_DataToMathIdx(), and mdata_arr.


Member Data Documentation

const mcElementArrayHelpers* mcArrayEntry::mdata_arr
 

A reference to the element.

Definition at line 85 of file ElementArray.h.

Referenced by data_GetIdx(), data_GetRef(), data_isValid(), data_SetOwner(), math_GetIdx(), and mcArrayEntry().

int mcArrayEntry::mdata_idx
 

The data index of the monomial containing the element.

Definition at line 82 of file ElementArray.h.

Referenced by data_isValid(), data_SetIdx(), mcPolynomialHelpers::math_WrapSimple(), and mcArrayEntry().


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

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

[ Top ]