]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
updated the logic in the numeric(int) constructor
[ginac.git] / ginac / structure.h
index 9ad049fda6fdc7bbdddcedc19c22eaead38fa1ef..9bfb97ce3f50e3c216c90ab9ba2f58b4605a7eb2 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to 'abstract' class structure. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 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
@@ -41,12 +41,9 @@ class structure : public basic
 {
        GINAC_DECLARE_REGISTERED_CLASS(structure, basic)
        
-       // functions overriding virtual functions from bases classes
+       // functions overriding virtual functions from base classes
 public:
-       void printraw(std::ostream & os) const; 
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
-       void printtree(std::ostream & os, unsigned indent) const;
-       void printcsrc(std::ostream & os, unsigned type, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level=0) const;
 protected:
        bool is_equal_same_type(const basic & other) const;