|
Class hierarchy and polymorphismus
|
#include <employee.h>

Public Member Functions | |
| Employee (const std::string &name) | |
| virtual | ~Employee () |
| Employee (Employee const &)=default | |
| Employee & | operator= (Employee const &)=default |
| std::string const & | Get_name () const |
| virtual void | print (std::ostream &s) const |
| virtual float | payment () const =0 |
| int | get_Counter () const |
Abstrakte Basisklasse eines allgemeinen Angestellten einer Verkaufsstelle
Definition at line 8 of file employee.h.
|
explicit |
Parameter constructor
| [in] | name | Name des Angestellten |
Definition at line 8 of file employee.cpp.
|
virtual |
Default destructor
Definition at line 15 of file employee.cpp.
|
default |
|
inline |
Rueckgabe der Anzahlt der Instanzen von Employee und abgleiteten Klassen.
Definition at line 39 of file employee.h.
|
inline |
Definition at line 21 of file employee.h.
|
pure virtual |
Berechnet das Gehalt.
Implemented in Worker, salesPerson, and manager.

|
virtual |
Gibt die Daten der aktuellen Instanz aus.
| [in,out] | s | Ausgabestrom |
Reimplemented in Worker, salesPerson, and manager.
Definition at line 22 of file employee.cpp.

