]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
dummy index renamer ignores index dimensions
[ginac.git] / ginac / structure.h
index 12b86d1c4a1b8f6c7f241e82b25c47ce5d1caac8..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,30 +41,17 @@ class structure : public basic
 {
        GINAC_DECLARE_REGISTERED_CLASS(structure, basic)
        
-       // other ctors
-       // none
-
-       // 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;
        
-       // new virtual functions which can be overridden by derived classes
-       // none
-       
        // non-virtual functions in this class
 protected:
        static std::vector<registered_structure_info> & registered_structures(void);
 public:
        static unsigned register_new(const char * nm);
-
-// member variables
-// none
-
 };
 
 } // namespace GiNaC