cosmetics: rename (x)array.[Ch] into math_(x)data.[Ch]

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2988 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-11-08 12:55:58 +00:00
parent cbf73238f5
commit f34e4919f7
8 changed files with 19 additions and 21 deletions

View File

@ -8,10 +8,6 @@ BOOST_INCLUDES = -I$(top_srcdir)/boost
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
libmathed_la_SOURCES = \
array.C \
array.h \
xarray.C \
xarray.h \
formulabase.C \
formulabase.h \
formula.C \
@ -34,6 +30,8 @@ libmathed_la_SOURCES = \
math_charinset.h \
math_cursor.C \
math_cursor.h \
math_data.C \
math_data.h \
math_decorationinset.C \
math_decorationinset.h \
math_defs.h \
@ -107,4 +105,6 @@ libmathed_la_SOURCES = \
math_support.C \
math_support.h \
math_symbolinset.C \
math_symbolinset.h
math_symbolinset.h \
math_xdata.C \
math_xdata.h

View File

@ -8,8 +8,8 @@
#include "math_stringinset.h"
#include "math_mathmlstream.h"
#include "math_support.h"
#include "math_data.h"
#include "debug.h"
#include "array.h"
#include "support/LAssert.h"
@ -17,8 +17,8 @@ MathArray::MathArray()
{}
MathArray::MathArray(MathArray const & array, size_type from, size_type to)
: bf_(array.begin() + from, array.begin() + to)
MathArray::MathArray(MathArray const & ar, size_type from, size_type to)
: bf_(ar.begin() + from, ar.begin() + to)
{}
@ -62,9 +62,9 @@ void MathArray::insert(size_type pos, MathAtom const & t)
}
void MathArray::insert(size_type pos, MathArray const & array)
void MathArray::insert(size_type pos, MathArray const & ar)
{
bf_.insert(begin() + pos, array.begin(), array.end());
bf_.insert(begin() + pos, ar.begin(), ar.end());
}
@ -74,9 +74,9 @@ void MathArray::push_back(MathAtom const & t)
}
void MathArray::push_back(MathArray const & array)
void MathArray::push_back(MathArray const & ar)
{
insert(size(), array);
insert(size(), ar);
}
@ -86,10 +86,10 @@ void MathArray::clear()
}
void MathArray::swap(MathArray & array)
void MathArray::swap(MathArray & ar)
{
if (this != &array)
bf_.swap(array.bf_);
if (this != &ar)
bf_.swap(ar.bf_);
}

View File

@ -28,7 +28,7 @@
#pragma interface
#endif
#include "xarray.h"
#include "math_xdata.h"
#include "math_defs.h"
/** Abstract base class for all math objects.

View File

@ -19,7 +19,6 @@
#endif
#include "math_macro.h"
#include "array.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include "debug.h"

View File

@ -53,7 +53,6 @@ point to write some macros:
#endif
#include "math_parser.h"
#include "array.h"
#include "math_inset.h"
#include "math_arrayinset.h"
#include "math_braceinset.h"
@ -72,9 +71,9 @@ point to write some macros:
#include "math_specialcharinset.h"
#include "math_splitinset.h"
#include "math_sqrtinset.h"
#include "debug.h"
#include "math_support.h"
#include "lyxlex.h"
#include "debug.h"
#include "support/lstrings.h"
using std::istream;

View File

@ -4,7 +4,6 @@
#pragma implementation
#endif
#include "xarray.h"
#include "math_inset.h"
#include "math_scriptinset.h"
#include "math_support.h"

View File

@ -4,7 +4,8 @@
#define MATHEDXARRAY_H
#include <iosfwd>
#include "array.h"
#include "math_data.h"
#include "math_metricsinfo.h"
#ifdef __GNUG__