22 namespace AbstractFactory {
double Salary
Stores the employee's monthly wage.
std::string DepartmentName
Stores the name of the employee's department.
std::string Name
Stores the person's name.
static constexpr const char * EmployeeNameKey
The Boost property tree key for the employees' names.
A data structure that represents an employee's data.
boost::property_tree::ptree m_ptree
static constexpr const char * EmployeeDepartmentNameKey
The Boost property tree key for the employees' department names.
Concrete ptree based factory.
Employee Create() final
Instructs this factory to create a value.
static constexpr const char * EmployeeSalaryKey
The Boost property tree key for the employees' salaries.