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

An employee factory implementation that uses standard input to construct employee instances. More...

#include <stdin-employee-factory.h>

Inheritance diagram for AbstractFactory::StdinEmployeeFactory:
Inheritance graph
Collaboration diagram for AbstractFactory::StdinEmployeeFactory:
Collaboration graph

Public Member Functions

Employee Create () final
 Instructs this factory to create a value. More...
 
- Public Member Functions inherited from AbstractFactory::Factory< Employee >
virtual ~Factory ()
 Destructor needs to be virtual. More...
 
virtual Employee Create (TArgs...args)=0
 Instructs this factory to create a value. More...
 

Detailed Description

An employee factory implementation that uses standard input to construct employee instances.

Definition at line 30 of file stdin-employee-factory.h.

Member Function Documentation

Employee AbstractFactory::StdinEmployeeFactory::Create ( )
final

Instructs this factory to create a value.

Definition at line 28 of file stdin-employee-factory.cpp.

References AbstractFactory::Employee::DepartmentName, AbstractFactory::Employee::Name, and AbstractFactory::Employee::Salary.

Referenced by main().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: