]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
- added skeleton implementation of color and clifford classes (don't bother
[ginac.git] / ginac / structure.h
index 6c5400336732bafef22bab16c9ddd5dd4b88793a..9ad049fda6fdc7bbdddcedc19c22eaead38fa1ef 100644 (file)
@@ -25,9 +25,7 @@
 
 #include "basic.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 struct registered_structure_info {
        const char * name;
@@ -42,37 +40,23 @@ struct registered_structure_info {
 class structure : public basic
 {
        GINAC_DECLARE_REGISTERED_CLASS(structure, basic)
-
-       // other constructors
-       // none
-
+       
        // functions overriding virtual functions from bases classes
 public:
-       basic * duplicate() const;
        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;
 protected:
-       int compare_same_type(const basic & other) const;
        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
-
 };
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_STRUCTURE_H__