/* * 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() { }; element *AtomInfo::getType(){ return type; } void AtomInfo::setType(element* _type) { type = _type; } void AtomInfo::setType(int Z) { element *elem = World::get()->getPeriode()->FindElement(Z); setType(elem); }