X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fsymmetry.h;h=d5a3ca8d21bd77e547693e432ccc4ef81b9e34f3;hp=0b805edc08c794a607b965e93e7bb95f3e55fab1;hb=86ae5e2dfe39fb17f3d6c52a497a8309c9814111;hpb=df27e9de2a3f09aa315d1fe9fb90a3e5a5751989 diff --git a/ginac/symmetry.h b/ginac/symmetry.h index 0b805edc..d5a3ca8d 100644 --- a/ginac/symmetry.h +++ b/ginac/symmetry.h @@ -61,10 +61,6 @@ public: /** Create node with two children. */ symmetry(symmetry_type t, const symmetry &c1, const symmetry &c2); - // functions overriding virtual functions from base classes -public: - void print(const print_context & c, unsigned level = 0) const; - // non-virtual functions in this class public: /** Get symmetry type. */ @@ -85,6 +81,10 @@ public: /** Check whether this node actually represents any kind of symmetry. */ bool has_symmetry() const {return type != none || !children.empty(); } +protected: + void do_print(const print_context & c, unsigned level) const; + void do_print_tree(const print_tree & c, unsigned level) const; + // member variables private: /** Type of symmetry described by this node. */