mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
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:
parent
cbf73238f5
commit
f34e4919f7
@ -8,10 +8,6 @@ BOOST_INCLUDES = -I$(top_srcdir)/boost
|
|||||||
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
INCLUDES = -I${srcdir}/../ $(SIGC_CFLAGS) $(BOOST_INCLUDES)
|
||||||
|
|
||||||
libmathed_la_SOURCES = \
|
libmathed_la_SOURCES = \
|
||||||
array.C \
|
|
||||||
array.h \
|
|
||||||
xarray.C \
|
|
||||||
xarray.h \
|
|
||||||
formulabase.C \
|
formulabase.C \
|
||||||
formulabase.h \
|
formulabase.h \
|
||||||
formula.C \
|
formula.C \
|
||||||
@ -34,6 +30,8 @@ libmathed_la_SOURCES = \
|
|||||||
math_charinset.h \
|
math_charinset.h \
|
||||||
math_cursor.C \
|
math_cursor.C \
|
||||||
math_cursor.h \
|
math_cursor.h \
|
||||||
|
math_data.C \
|
||||||
|
math_data.h \
|
||||||
math_decorationinset.C \
|
math_decorationinset.C \
|
||||||
math_decorationinset.h \
|
math_decorationinset.h \
|
||||||
math_defs.h \
|
math_defs.h \
|
||||||
@ -107,4 +105,6 @@ libmathed_la_SOURCES = \
|
|||||||
math_support.C \
|
math_support.C \
|
||||||
math_support.h \
|
math_support.h \
|
||||||
math_symbolinset.C \
|
math_symbolinset.C \
|
||||||
math_symbolinset.h
|
math_symbolinset.h \
|
||||||
|
math_xdata.C \
|
||||||
|
math_xdata.h
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#include "math_stringinset.h"
|
#include "math_stringinset.h"
|
||||||
#include "math_mathmlstream.h"
|
#include "math_mathmlstream.h"
|
||||||
#include "math_support.h"
|
#include "math_support.h"
|
||||||
|
#include "math_data.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "array.h"
|
|
||||||
#include "support/LAssert.h"
|
#include "support/LAssert.h"
|
||||||
|
|
||||||
|
|
||||||
@ -17,8 +17,8 @@ MathArray::MathArray()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
MathArray::MathArray(MathArray const & array, size_type from, size_type to)
|
MathArray::MathArray(MathArray const & ar, size_type from, size_type to)
|
||||||
: bf_(array.begin() + from, array.begin() + 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)
|
if (this != &ar)
|
||||||
bf_.swap(array.bf_);
|
bf_.swap(ar.bf_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
|||||||
#pragma interface
|
#pragma interface
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xarray.h"
|
#include "math_xdata.h"
|
||||||
#include "math_defs.h"
|
#include "math_defs.h"
|
||||||
|
|
||||||
/** Abstract base class for all math objects.
|
/** Abstract base class for all math objects.
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "math_macro.h"
|
#include "math_macro.h"
|
||||||
#include "array.h"
|
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
#include "support/LAssert.h"
|
#include "support/LAssert.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
@ -53,7 +53,6 @@ point to write some macros:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "math_parser.h"
|
#include "math_parser.h"
|
||||||
#include "array.h"
|
|
||||||
#include "math_inset.h"
|
#include "math_inset.h"
|
||||||
#include "math_arrayinset.h"
|
#include "math_arrayinset.h"
|
||||||
#include "math_braceinset.h"
|
#include "math_braceinset.h"
|
||||||
@ -72,9 +71,9 @@ point to write some macros:
|
|||||||
#include "math_specialcharinset.h"
|
#include "math_specialcharinset.h"
|
||||||
#include "math_splitinset.h"
|
#include "math_splitinset.h"
|
||||||
#include "math_sqrtinset.h"
|
#include "math_sqrtinset.h"
|
||||||
#include "debug.h"
|
|
||||||
#include "math_support.h"
|
#include "math_support.h"
|
||||||
#include "lyxlex.h"
|
#include "lyxlex.h"
|
||||||
|
#include "debug.h"
|
||||||
#include "support/lstrings.h"
|
#include "support/lstrings.h"
|
||||||
|
|
||||||
using std::istream;
|
using std::istream;
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#pragma implementation
|
#pragma implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xarray.h"
|
|
||||||
#include "math_inset.h"
|
#include "math_inset.h"
|
||||||
#include "math_scriptinset.h"
|
#include "math_scriptinset.h"
|
||||||
#include "math_support.h"
|
#include "math_support.h"
|
@ -4,7 +4,8 @@
|
|||||||
#define MATHEDXARRAY_H
|
#define MATHEDXARRAY_H
|
||||||
|
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include "array.h"
|
|
||||||
|
#include "math_data.h"
|
||||||
#include "math_metricsinfo.h"
|
#include "math_metricsinfo.h"
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
Loading…
Reference in New Issue
Block a user