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

mc.h

Go to the documentation of this file.
00001 
00002 // MathCore = a WYSIWYG equation editor + a powerful math engine     //
00003 // Copyright (C) 2003 by Francesco Montorsi                          //
00004 //                                                                   //
00005 // This library is free software; you can redistribute it and/or     //
00006 // modify it under the terms of the GNU Lesser General Public        //
00007 // License as published by the Free Software Foundation; either      //
00008 // version 2.1 of the License, or (at your option) any later         //
00009 // version.                                                          //
00010 //                                                                   //
00011 // This library is distributed in the hope that it will be useful,   //
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of    //
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the      //
00014 // GNU Lesser General Public License for more details.               //
00015 //                                                                   //
00016 // You should have received a copy of the GNU Lesser General Public  //
00017 // License along with this program; if not, write to the Free        //
00018 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,   //
00019 // MA 02111-1307, USA.                                               //
00020 //                                                                   //
00021 // For any comment, suggestion or feature request, please contact    //
00022 // the administrator of the project at frm@users.sourceforge.net     //
00023 //                                                                   //
00032 
00033 
00034 #ifndef MC_H
00035 #define MC_H
00036 
00037 // do not include the precompiled header of wxWidgets:
00038 // it is included by mcprec.h
00039 
00040 // pragma warnings are specific for MSVC++
00041 #ifdef __VISUALC__
00042 
00043  // warning C4100: '' : unreferenced formal parameter
00044  #pragma warning (disable : 4100)
00045 
00046  // warning C4355: 'this' : used in base member initializer list
00047  #pragma warning (disable : 4355)
00048 
00049  // warning C4800: 'int' : forcing value to bool 'true' or 'false'
00050  #pragma warning (disable : 4800)
00051 
00052  // gmp.h(1599) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
00053  #pragma warning (disable : 4146)
00054 
00055 #endif
00056 
00057 
00058 // first of all, include our configuration header.
00059 // Makefiles which are not generated through the CONFIGURE script
00060 // generated by the autoconf system, this file should have been
00061 // generated (or copied) before start building MathCore
00062 #include "mc/config.h"
00063 #include "mc/Setup.h"
00064 
00065 
00066 // define a special debug new() if using MSVC
00067 /*#if defined(__MCDEBUG__) && defined(__VISUALC__)
00068  #include <crtdbg.h>
00069  #define mcDEBUG_NEW  new(_NORMAL_BLOCK, __FILE__, __LINE__)
00070 #else
00071  #define mcDEBUG_NEW  new
00072 #endif*/
00073 
00074 
00075 // include wxXml2 extension for wxWidgets library
00076 #include "wx/xml2.h"   // libxml2 headers are required
00077 
00078 // include wxScript extension for wxWidgets library:
00079 // defining wxSCRIPT_NO_CINT/LUA/UNDERC macros we can avoid at
00080 // compile-time the need of some headers/libs
00081 #ifdef mcUSE_WXSCRIPT
00082  #include "wx/script.h" 
00083 #endif
00084 
00085 // include the main GMP header
00086 #ifdef mcUSE_GMP
00087  #ifdef __VISUALC__
00088   #pragma warning(push, 2)
00089  #endif
00090 
00091  #include <gmp.h>  // The main include of the GNU Multiple Precision library
00092 
00093  #ifdef __VISUALC__
00094   #pragma warning(pop) 
00095  #endif
00096 #endif
00097 
00098 
00099 // include MathCore headers: THE ORDER IS IMPORTANT !!!
00100 #include "mc/MathTypes.h"
00101 #include "mc/MathUtils.h"
00102 #include "mc/MathHelpers.h"
00103 #include "mc/MathCore.h" 
00104 #include "mc/Value.h" 
00105 
00106 
00107 #include "mc/Element.h" 
00108 #include "mc/Decoration.h" 
00109 #include "mc/ElementArray.h" 
00110 #include "mc/EmptyBox.h" 
00111 #include "mc/Monomial.h" 
00112 #include "mc/Polynomial.h" 
00113 
00114 #include "mc/ExpContainer.h" 
00115 #include "mc/ExpElement.h" 
00116 #include "mc/Fraction.h" 
00117 #include "mc/Bracket.h" 
00118  
00119 #include "mc/MathMng.h" 
00120 #include "mc/MathLine.h" 
00121 #include "mc/MathSystem.h" 
00122 #include "mc/MathAndSystem.h" 
00123 #include "mc/MathOrSystem.h" 
00124 
00125 
00126 #include "mc/Number.h" 
00127 #include "mc/Operator.h" 
00128 #include "mc/AddSubOp.h" 
00129 #include "mc/MultDivOp.h" 
00130 #include "mc/Parenthesis.h" 
00131 #include "mc/Text.h"
00132 
00133 #include "mc/Function.h" 
00134 #include "mc/Radical.h" 
00135 #include "mc/Symbol.h"  
00136 
00137 #include "mc/Solver.h" 
00138 #include "mc/GenericSolver.h" 
00139 #include "mc/PolySolver.h" 
00140 #include "mc/BisectSolver.h"
00141 
00142 #endif  // MC_H


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

[ Top ]