A School Directory Application
Package to illustrate classes, subclasses, polymorphism,cout<<<overloading, and virtual functions
Loading...
Searching...
No Matches
Staff.h
Go to the documentation of this file.
1
28
#ifndef STAFF_H
29
#define STAFF_H
30
31
#include "
Entry.h
"
32
44
class
Staff
:
public
Entry
{
45
public
:
46
Staff
(std::string first, std::string last, std::string addr,
47
std::string room,
int
ext, std::string ttl) ;
48
60
std::ostream&
print
(std::ostream &os)
const
;
61
62
// Staff have two special fields
63
private
:
64
std::string office ;
65
int
extension ;
66
std::string title ;
67
68
};
69
70
#endif
Entry.h
Entry
Definition:
Entry.h:26
Staff
Definition:
Staff.h:44
Staff::print
std::ostream & print(std::ostream &os) const
Definition:
Staff.cpp:51
Generated by
1.9.6