Gobelijn API documentation
- generated for commit a0cbea7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
employee.h
Go to the documentation of this file.
1
#pragma once
2
/*
3
* This file is part of the gobelijn software.
4
* Gobelijn is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation, either version 3 of the License, or any later
7
* version. Gobelijn is distributed in the hope that it will be useful, but
8
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9
* or FITNESS FOR A PARTICULAR PURPOSE.
10
* See the GNU General Public License for details. You should have received
11
* a copy of the GNU General Public License along with the software. If not,
12
* see <http://www.gnu.org/licenses/>.
13
*
14
* Copyright 2016, Jan Broeckhove.
15
*/
21
#include <string>
22
23
namespace
AbstractFactory {
28
struct
Employee
29
{
30
Employee
() :
Name
(
""
),
DepartmentName
(
""
),
Salary
(0.0) {}
31
32
std::string
Name
;
33
std::string
DepartmentName
;
34
double
Salary
;
35
};
36
}
// namespace AbstractFactory
AbstractFactory::Employee::Salary
double Salary
Stores the employee's monthly wage.
Definition:
employee.h:34
AbstractFactory::Employee::Employee
Employee()
Definition:
employee.h:30
AbstractFactory::Employee::DepartmentName
std::string DepartmentName
Stores the name of the employee's department.
Definition:
employee.h:33
AbstractFactory::Employee::Name
std::string Name
Stores the person's name.
Definition:
employee.h:32
AbstractFactory::Employee
A data structure that represents an employee's data.
Definition:
employee.h:28
main
cpp
abstract-factory
employee.h
Generated on Fri Feb 1 2019 09:33:32 for Gobelijn API documentation by
1.8.6