]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.h
Synced to HEAD
[ginac.git] / ginac / relational.h
index 591cc3b718486421006ed41cd051575641b04449..fd3460a4734446e7d5e6ca7b28bcaab41e6637f2 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to relations between expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -51,13 +51,12 @@ public:
        
        // functions overriding virtual functions from base classes
 public:
-       void print(const print_context & c, unsigned level = 0) const;
        unsigned precedence() const {return 20;}
        bool info(unsigned inf) const;
        size_t nops() const;
        ex op(size_t i) const;
        ex map(map_function & f) const;
-       ex subs(const lst & ls, const lst & lr, unsigned options = 0) const;
+       ex subs(const exmap & m, unsigned options = 0) const;
        ex eval(int level=0) const;
 
 protected:
@@ -68,6 +67,10 @@ protected:
        unsigned calchash() const;
 
        // new virtual functions which can be overridden by derived classes
+protected:
+       void do_print(const print_context & c, unsigned level) const;
+       void do_print_python_repr(const print_python_repr & c, unsigned level) const;
+
 public:
        virtual ex lhs() const;
        virtual ex rhs() const;