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

mcExtRange Class Reference

#include <Range.h>

Inheritance diagram for mcExtRange:

Inheritance graph
[legend]
Collaboration diagram for mcExtRange:

Collaboration graph
[legend]
List of all members.

Detailed Description

A container of various mcRanges defining a wider range through union or a smaller one through intersection.

Definition at line 128 of file Range.h.

Public Member Functions

 mcExtRange ()
 mcExtRange (const mcRange &r)
 mcExtRange (const mcExtRange &r)
virtual ~mcExtRange ()
void data_DeepCopy (const mcExtRange &r)
void data_Add (const mcRange &r)
void math_Intersect (const mcRange &r)
void math_Union (const mcRange &r)
bool math_isFinite () const
 Returns TRUE if this range contains only finite ranges.
mcExtRangedata_Clone () const
mcRangedata_GetRange (int n)
const mcRangedata_GetRange (int n) const

Static Public Attributes

static mcExtRangepN = NULL
 A range which goes from zero to +inf of N.
static mcExtRangepZ = NULL
 A range which goes from -inf to +inf of Z.
static mcExtRangepR = NULL
 A range which goes from -inf to +inf of R.
static mcExtRangepC = NULL
 A range which goes from -inf to +inf of C.
static mcExtRangepEmpty = NULL
 A range which goes from zero to zero of N.

Protected Member Functions

void data_Delete (int n)
 Deletes the n-th entry of the array.


Constructor & Destructor Documentation

mcExtRange::mcExtRange  )  [inline]
 

Definition at line 144 of file Range.h.

Referenced by data_Clone().

mcExtRange::mcExtRange const mcRange r  )  [inline]
 

Definition at line 145 of file Range.h.

References data_Add().

mcExtRange::mcExtRange const mcExtRange r  )  [inline]
 

Definition at line 146 of file Range.h.

References data_DeepCopy().

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

Definition at line 147 of file Range.h.

References mcAbstractArray::data_Clear().


Member Function Documentation

void mcExtRange::data_Add const mcRange r  )  [inline]
 

Definition at line 156 of file Range.h.

References mcAbstractArray::data_Add().

Referenced by data_DeepCopy(), and mcExtRange().

mcExtRange* mcExtRange::data_Clone  )  const [inline]
 

Definition at line 165 of file Range.h.

References mcExtRange().

void mcExtRange::data_DeepCopy const mcExtRange r  )  [inline]
 

Definition at line 150 of file Range.h.

References data_Add(), and mcAbstractArray::data_Clear().

Referenced by mcBisectSolver::math_SetStartRange(), and mcExtRange().

void mcExtRange::data_Delete int  n  )  [inline, protected, virtual]
 

Deletes the n-th entry of the array.

Implements mcAbstractArray.

Definition at line 131 of file Range.h.

References data_GetRange().

const mcRange* mcExtRange::data_GetRange int  n  )  const [inline]
 

Definition at line 169 of file Range.h.

References mcAbstractArray::data_GetItem().

mcRange* mcExtRange::data_GetRange int  n  )  [inline]
 

Definition at line 168 of file Range.h.

References mcAbstractArray::data_GetItem().

Referenced by data_Delete(), math_isFinite(), and mcBisectSolver::math_SolveLine().

void mcExtRange::math_Intersect const mcRange r  ) 
 

bool mcExtRange::math_isFinite  )  const
 

Returns TRUE if this range contains only finite ranges.

Definition at line 577 of file MathHelpers.cpp.

References mcAbstractArray::data_GetCount(), data_GetRange(), and mcRange::math_isFinite().

Referenced by mcBisectSolver::math_isReady().

void mcExtRange::math_Union const mcRange r  ) 
 


Member Data Documentation

mcExtRange * mcExtRange::pC = NULL [static]
 

A range which goes from -inf to +inf of C.

Definition at line 65 of file MathHelpers.cpp.

mcExtRange * mcExtRange::pEmpty = NULL [static]
 

A range which goes from zero to zero of N.

Definition at line 66 of file MathHelpers.cpp.

mcExtRange * mcExtRange::pN = NULL [static]
 

A range which goes from zero to +inf of N.

Definition at line 62 of file MathHelpers.cpp.

mcExtRange * mcExtRange::pR = NULL [static]
 

A range which goes from -inf to +inf of R.

Definition at line 64 of file MathHelpers.cpp.

mcExtRange * mcExtRange::pZ = NULL [static]
 

A range which goes from -inf to +inf of Z.

Definition at line 63 of file MathHelpers.cpp.


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

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

[ Top ]