-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAtom.h
More file actions
50 lines (31 loc) · 695 Bytes
/
Atom.h
File metadata and controls
50 lines (31 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// Created by Benedikt on 29.11.2016.
//
#ifndef GITTERGAS_ATOM_H
#define GITTERGAS_ATOM_H
#include <string>
using namespace std;
class Atom {
public:
//Konstruktoren
Atom(string name, string zeichen, int Ordnungszahl);
Atom();
//Getter-Methoden
string get_name();
string get_zeichen();
int get_O_Zahl();
//Relationen
//Print-Methoden
//Setter-Methoden
void set_name(string name);
void set_zeichen(string zeichen);
void set_O_Zahl(int Ordnungszahl);
//Transformations-Methoden
private:
//Eigenschaften
string name;
string zeichen;
int Ordnungszahl;
//Interne Methoden
};
#endif //GITTERGAS_ATOM_H