]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.cpp
documentation update
[ginac.git] / ginac / indexed.cpp
index 8e05dbf22a7d534cf0a1e6e8f4ccd1be82d85b2a..9456f38cf829ba0eec4b2b6ecce89ce754333818 100644 (file)
@@ -27,9 +27,7 @@
 #include "idx.h"
 #include "debugmsg.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 GINAC_IMPLEMENT_REGISTERED_CLASS(indexed, exprseq)
 
@@ -45,28 +43,6 @@ indexed::indexed()
        tinfo_key=TINFO_indexed;
 }
 
-indexed::~indexed()
-{
-       debugmsg("indexed destructor",LOGLEVEL_DESTRUCT);
-       destroy(false);
-}
-
-indexed::indexed(const indexed & other)
-{
-       debugmsg("indexed copy constructor",LOGLEVEL_CONSTRUCT);
-       copy (other);
-}
-
-const indexed & indexed::operator=(const indexed & other)
-{
-       debugmsg("indexed operator=",LOGLEVEL_ASSIGNMENT);
-       if (this != &other) {
-               destroy(true);
-               copy(other);
-       }
-       return *this;
-}
-
 // protected
 
 void indexed::copy(const indexed & other)
@@ -191,12 +167,6 @@ void indexed::archive(archive_node &n) const
 
 // public
 
-basic * indexed::duplicate() const
-{
-       debugmsg("indexed duplicate",LOGLEVEL_DUPLICATE);
-       return new indexed(*this);
-}
-
 void indexed::printraw(std::ostream & os) const
 {
        debugmsg("indexed printraw",LOGLEVEL_PRINT);
@@ -338,6 +308,4 @@ bool indexed::all_of_type_idx(void) const
        return true;
 }
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC