]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.h
Synced to HEAD
[ginac.git] / ginac / relational.h
index cbe51468eeb9691199a10c79d59a4bb41c8986cd..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,7 +51,6 @@ 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;
@@ -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;