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

Parenthesis.cpp File Reference


Detailed Description

Implements the mcParenthesis, mcParenthesisData, mcParenthesisGUI, mcParenthesisIO, mcParenthesisMath classes.

Author:
Francesco Montorsi
Date:
24-2-2004

Definition in file Parenthesis.cpp.

#include "mc/mcprec.h"
#include <wx/dcscreen.h>
#include "mc/Parenthesis.h"
#include "mc/Monomial.h"

Include dependency graph for Parenthesis.cpp:

Go to the source code of this file.

Defines

#define START_ARRAY_SCAN(backward, arr, idx)
#define END_ARRAY_SCAN(backward)

Functions

 mcIMPLEMENT_MAIN_CLASS (mcParenthesis, mcDecoration)

Variables

mcParenthesis mcEmptyParenthesis (NULL)


Define Documentation

#define END_ARRAY_SCAN backward   ) 
 

Value:

if (!backward) i++;  /* go forward */   \
   else i--;  /* go backward */     \
  }              \
 }

Definition at line 202 of file Parenthesis.cpp.

Referenced by mcParenthesisHelpers::gui_SearchInMonomial().

#define START_ARRAY_SCAN backward,
arr,
idx   ) 
 

Value:

{  /* this is the scope of wxT("max") and wxT("i") */   \
  int max = (backward ? 0 : arr.data_GetCount()); \
  int i=idx;            \
  while (1) {            \
   if (backward && i < max)       \
    break;           \
   if (!backward && i >= max)       \
    break;           \
   mcElement curr = arr.data_Get(i);

Definition at line 190 of file Parenthesis.cpp.

Referenced by mcParenthesisHelpers::gui_SearchInMonomial().


Function Documentation

mcIMPLEMENT_MAIN_CLASS mcParenthesis  ,
mcDecoration 
 


Variable Documentation

mcParenthesis mcEmptyParenthesis(NULL)
 



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

[ Top ]