]> www.ginac.de Git - ginac.git/blobdiff - ginac/isospin.cpp
GINAC_DECLARE_REGISTERED_CLASS declares duplicate() and compare_same_type(),
[ginac.git] / ginac / isospin.cpp
index b46ecb0e72142764a76b05f0ab6bdc48eaecc68f..1be79d590533be4a88defdad96d2ead28c35fbd8 100644 (file)
@@ -4,7 +4,7 @@
  *  No real implementation yet, to be done.     */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -51,28 +51,6 @@ isospin::isospin()
        tinfo_key=TINFO_isospin;
 }
 
-isospin::~isospin()
-{
-       debugmsg("isospin destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-isospin::isospin(const isospin & other)
-{
-       debugmsg("isospin copy constructor",LOGLEVEL_CONSTRUCT);
-       copy (other);
-}
-
-const isospin & isospin::operator=(const isospin & other)
-{
-       debugmsg("isospin operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void isospin::copy(const isospin & other)
@@ -143,12 +121,6 @@ void isospin::archive(archive_node &n) const
 
 // public
 
-basic * isospin::duplicate() const
-{
-       debugmsg("isospin duplicate",LOGLEVEL_DUPLICATE);
-       return new isospin(*this);
-}
-
 void isospin::printraw(std::ostream & os) const
 {
        debugmsg("isospin printraw",LOGLEVEL_PRINT);
@@ -244,13 +216,6 @@ std::string & isospin::autoname_prefix(void)
 
 unsigned isospin::next_serial=0;
 
-//////////
-// global constants
-//////////
-
-const isospin some_isospin;
-const type_info & typeid_isospin=typeid(some_isospin);
-
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
 #endif // ndef NO_NAMESPACE_GINAC