]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
added print_tree-style output for symmetry objects
[ginac.git] / ginac / structure.h
index 12b86d1c4a1b8f6c7f241e82b25c47ce5d1caac8..1f7eaea07e6c89bfaee9eac0f18fdfd9f54118d8 100644 (file)
@@ -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