X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fstructure.h;h=1f7eaea07e6c89bfaee9eac0f18fdfd9f54118d8;hp=12b86d1c4a1b8f6c7f241e82b25c47ce5d1caac8;hb=bb4e167feda39c009815447a2fcca3696b76a90f;hpb=4e3a4ac2bcb0837611ea31bc8fc05d84a20c33ac diff --git a/ginac/structure.h b/ginac/structure.h index 12b86d1c..1f7eaea0 100644 --- a/ginac/structure.h +++ b/ginac/structure.h @@ -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_structures(void); public: static unsigned register_new(const char * nm); - -// member variables -// none - }; } // namespace GiNaC