v_9b
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
employee.h
Go to the documentation of this file.
1
#ifndef EMPLOYEE_H
2
#define EMPLOYEE_H
3
4
#include <string>
5
#include <iostream>
6
using namespace
std
;
7
10
class
Employee
11
{
12
public
:
16
Employee
(
const
string
& name);
18
virtual
~
Employee
();
19
23
virtual
void
print(ostream& s)
const
;
24
28
virtual
float
payment()
const
= 0;
// rein virtuell
29
// {return 0.0f; }; // da war die Methode nur virtuell
30
34
int
get_Counter
()
const
{
return
_counter;};
35
36
protected
:
37
private
:
38
string
_name;
39
static
int
_counter
;
40
};
41
42
#endif // EMPLOYEE_H
std
Employee
Definition:
employee.h:10
Employee::_counter
static int _counter
e i n Zaehler fuer alle Instanzen
Definition:
employee.h:39
Employee::get_Counter
int get_Counter() const
Definition:
employee.h:34
employee.h
Generated on Fri May 29 2015 14:50:32 for v_9b by
1.8.8