#include <string>
-#include "ginac.h"
+#include "indexed.h"
+#include "ex.h"
+#include "idx.h"
//////////
// default constructor, destructor, copy constructor assignment operator and helpers
indexed::indexed()
{
debugmsg("indexed default constructor",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
}
indexed::~indexed()
indexed::indexed(ex const & i1) : exprseq(i1)
{
debugmsg("indexed constructor from ex",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
ASSERT(all_of_type_idx());
}
indexed::indexed(ex const & i1, ex const & i2) : exprseq(i1,i2)
{
debugmsg("indexed constructor from ex,ex",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
ASSERT(all_of_type_idx());
}
: exprseq(i1,i2,i3)
{
debugmsg("indexed constructor from ex,ex,ex",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
ASSERT(all_of_type_idx());
}
indexed::indexed(exvector const & iv) : exprseq(iv)
{
debugmsg("indexed constructor from exvector",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
ASSERT(all_of_type_idx());
}
indexed::indexed(exvector * ivp) : exprseq(ivp)
{
debugmsg("indexed constructor from exvector *",LOGLEVEL_CONSTRUCT);
- tinfo_key=TINFO_INDEXED;
+ tinfo_key=TINFO_indexed;
ASSERT(all_of_type_idx());
}