blob: 738051e83abcd19ca7289faf384af5c8de721b01 (
plain)
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
|
#include "GeneralDevice.h"
#include <string>
#include <iostream>
using std::cout;
using std::endl;
using std::istream;
using std::ostream;
using std::string;
ostream &operator<<( ostream& outstream, GeneralDevice &GenDev)
{
GenDev.print();
return outstream;
}
GeneralDevice::GeneralDevice()
{
cout << "Konstruktor GeneralDevice called" << endl;
}
GeneralDevice::GeneralDevice(char* devName)
:deviceName(devName)
{
cout << "�berladener Konstruktor GeneralDevice called" << endl;
}
GeneralDevice::~GeneralDevice()
{
cout << "Destruktor GeneralDevice called" << endl;
}
string GeneralDevice::getDeviceName()
{
//cout << deviceName;
return deviceName;
}
void GeneralDevice::setDeviceName(string devName)
{
deviceName=devName;
}
|