Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
AbstractFactory::Employee Struct Reference

A data structure that represents an employee's data. More...

#include <employee.h>

Collaboration diagram for AbstractFactory::Employee:
Collaboration graph

Public Member Functions

 Employee ()
 

Public Attributes

std::string Name
 Stores the person's name. More...
 
std::string DepartmentName
 Stores the name of the employee's department. More...
 
double Salary
 Stores the employee's monthly wage. More...
 

Detailed Description

A data structure that represents an employee's data.

Instances of this type can be constructed by a factory.

Definition at line 28 of file employee.h.

Constructor & Destructor Documentation

AbstractFactory::Employee::Employee ( )
inline

Definition at line 30 of file employee.h.

Member Data Documentation

std::string AbstractFactory::Employee::Name
std::string AbstractFactory::Employee::DepartmentName

Stores the name of the employee's department.

Definition at line 33 of file employee.h.

Referenced by AbstractFactory::StdinEmployeeFactory::Create(), AbstractFactory::PtreeEmployeeFactory::Create(), main(), printEmployee(), and toPtree().

double AbstractFactory::Employee::Salary

Stores the employee's monthly wage.

Definition at line 34 of file employee.h.

Referenced by AbstractFactory::StdinEmployeeFactory::Create(), AbstractFactory::PtreeEmployeeFactory::Create(), main(), printEmployee(), and toPtree().


The documentation for this struct was generated from the following file: