Advertisement
klippa

Интерфейс, формирующий хорошую абстракцию

Oct 19th, 2017
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. class Employee {
  2. public:
  3.     // открытые конструкторы и деструкторы
  4.     Employee();
  5.     Employee(
  6.         FullName name,
  7.         String address,
  8.         String workPhone,
  9.         String homePhone,
  10.         TaxId taxIdNumber,
  11.         JobClassification jobClass
  12.     );
  13.     virtual ~Employee();
  14.     // открытые методы
  15.     FullName GetName() const;
  16.     String GetAddress() const;
  17.     String GetWorkPhone() const;
  18.     String GetHomePhone() const;
  19.     TaxId GetTaxIdNumber() const;
  20.     JobClassification GetJobClassification() const;
  21.     // ...
  22. private:
  23.     // ...
  24. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement