]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.h
added functions to retrieve the properties stored in archive objects
[ginac.git] / ginac / color.h
index c5c57c5598942080a6f467b4ead100d17c166558..e5baa85661c769510295677196cd8937ce8ee9f8 100644 (file)
@@ -71,7 +71,7 @@ class su3one : public tensor
 
        // functions overriding virtual functions from bases classes
 public:
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level = 0) const;
 };
 
 /** This class represents an su(3) generator. */
@@ -81,7 +81,7 @@ class su3t : public tensor
 
        // functions overriding virtual functions from bases classes
 public:
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level = 0) const;
 };
 
 /** This class represents the tensor of antisymmetric su(3) structure
@@ -92,7 +92,7 @@ class su3f : public tensor
 
        // functions overriding virtual functions from bases classes
 public:
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level = 0) const;
        ex eval_indexed(const basic & i) const;
        bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 };
@@ -104,7 +104,7 @@ class su3d : public tensor
 
        // functions overriding virtual functions from bases classes
 public:
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level = 0) const;
        ex eval_indexed(const basic & i) const;
        bool contract_with(exvector::iterator self, exvector::iterator other, exvector & v) const;
 };