source: molecuilder/src/atom_atominfo.cpp@ a71ad8

Last change on this file since a71ad8 was 5dba7a, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Made the periodentafel use STL-containers instead of custom llists

  • Property mode set to 100644
File size: 553 bytes
Line 
1/*
2 * atom_atominfo.cpp
3 *
4 * Created on: Oct 19, 2009
5 * Author: heber
6 */
7
8#include "periodentafel.hpp"
9#include "World.hpp"
10#include "atom_atominfo.hpp"
11
12/** Constructor of class AtomInfo.
13 */
14AtomInfo::AtomInfo() : type(NULL) {};
15
16/** Destructor of class AtomInfo.
17 */
18AtomInfo::~AtomInfo()
19{
20};
21
22const element *AtomInfo::getType(){
23 return type;
24}
25
26void AtomInfo::setType(const element* _type) {
27 type = _type;
28}
29
30void AtomInfo::setType(int Z) {
31 const element *elem = World::getInstance().getPeriode()->FindElement(Z);
32 setType(elem);
33}
Note: See TracBrowser for help on using the repository browser.