#include <iostream>
#include <stdexcept>
-#include "ginac.h"
+#include "lst.h"
+#include "ex.h"
#define RESERVE(s,size) // no reserve needed for list
// public
-lst::lst() : basic(TINFO_LST)
+lst::lst() : basic(TINFO_lst)
{
debugmsg("lst default constructor",LOGLEVEL_CONSTRUCT);
}
// public
-lst::lst(exlist const & s, bool discardable) : basic(TINFO_LST)
+lst::lst(exlist const & s, bool discardable) : basic(TINFO_lst)
{
debugmsg("lst constructor from exlist",
LOGLEVEL_CONSTRUCT);
}
}
-lst::lst(exlist * vp) : basic(TINFO_LST)
+lst::lst(exlist * vp) : basic(TINFO_lst)
{
debugmsg("lst constructor from exlist *",LOGLEVEL_CONSTRUCT);
ASSERT(vp!=0);
delete vp;
}
-lst::lst(ex const & e1) : basic(TINFO_LST)
+lst::lst(ex const & e1) : basic(TINFO_lst)
{
debugmsg("lst constructor from 1 ex",
LOGLEVEL_CONSTRUCT);
seq.push_back(e1);
}
-lst::lst(ex const & e1, ex const & e2) : basic(TINFO_LST)
+lst::lst(ex const & e1, ex const & e2) : basic(TINFO_lst)
{
debugmsg("lst constructor from 2 ex",
LOGLEVEL_CONSTRUCT);
}
lst::lst(ex const & e1, ex const & e2, ex const & e3)
- : basic(TINFO_LST)
+ : basic(TINFO_lst)
{
debugmsg("lst constructor from 3 ex",
LOGLEVEL_CONSTRUCT);
}
lst::lst(ex const & e1, ex const & e2, ex const & e3,
- ex const & e4) : basic(TINFO_LST)
+ ex const & e4) : basic(TINFO_lst)
{
debugmsg("lst constructor from 4 ex",
LOGLEVEL_CONSTRUCT);
}
lst::lst(ex const & e1, ex const & e2, ex const & e3,
- ex const & e4, ex const & e5) : basic(TINFO_LST)
+ ex const & e4, ex const & e5) : basic(TINFO_lst)
{
debugmsg("lst constructor from 5 ex",
LOGLEVEL_CONSTRUCT);
lst::lst(ex const & e1, ex const & e2, ex const & e3,
ex const & e4, ex const & e5, ex const & e6)
- : basic(TINFO_LST)
+ : basic(TINFO_lst)
{
debugmsg("lst constructor from 6 ex",
LOGLEVEL_CONSTRUCT);
lst::lst(ex const & e1, ex const & e2, ex const & e3,
ex const & e4, ex const & e5, ex const & e6,
- ex const & e7) : basic(TINFO_LST)
+ ex const & e7) : basic(TINFO_lst)
{
debugmsg("lst constructor from 7 ex",
LOGLEVEL_CONSTRUCT);
lst::lst(ex const & e1, ex const & e2, ex const & e3,
ex const & e4, ex const & e5, ex const & e6,
- ex const & e7, ex const & e8) : basic(TINFO_LST)
+ ex const & e7, ex const & e8) : basic(TINFO_lst)
{
debugmsg("lst constructor from 8 ex",
LOGLEVEL_CONSTRUCT);
lst::lst(ex const & e1, ex const & e2, ex const & e3,
ex const & e4, ex const & e5, ex const & e6,
ex const & e7, ex const & e8, ex const & e9)
- : basic(TINFO_LST)
+ : basic(TINFO_lst)
{
debugmsg("lst constructor from 9 ex",
LOGLEVEL_CONSTRUCT);
ex const & e4, ex const & e5, ex const & e6,
ex const & e7, ex const & e8, ex const & e9,
ex const &e10)
- : basic(TINFO_LST)
+ : basic(TINFO_lst)
{
debugmsg("lst constructor from 10 ex",
LOGLEVEL_CONSTRUCT);