/* * atom_atominfo.cpp * * Created on: Oct 19, 2009 * Author: heber */ #include "periodentafel.hpp" #include "World.hpp" #include "atom_atominfo.hpp" /** Constructor of class AtomInfo. */ AtomInfo::AtomInfo() : type(NULL) {}; /** Destructor of class AtomInfo. */ AtomInfo::~AtomInfo() { }; const element *AtomInfo::getType(){ return type; } void AtomInfo::setType(const element* _type) { type = _type; } void AtomInfo::setType(int Z) { const element *elem = World::getInstance().getPeriode()->FindElement(Z); setType(elem); }