/* * Project: MoleCuilder * Description: creates and alters molecular systems * Copyright (C) 2010 University of Bonn. All rights reserved. * Please see the LICENSE file or "Copyright notice" in builder.cpp for details. */ /* * CloneStub.cpp * * Created on: Jan 4, 2011 * Author: heber */ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "CloneStub.hpp" #include "CommonStub.hpp" /************ Prototype 1 *******************/ template <> IPrototype* Prototype::clone() const { IPrototype *MyClone = new Prototype(); MyClone->setcount(getcount()); return MyClone; } /************ Prototype 2 *******************/ template <> IPrototype* Prototype::clone() const { IPrototype *MyClone = new Prototype(); MyClone->setcount(getcount()); return MyClone; }