CPP05/ex03/inc/Intern.hpp

22 lines
479 B
C++

#pragma once
#include <string>
#include "AForm.hpp"
class Intern
{
public:
Intern();
Intern(const Intern &other);
Intern &operator=(const Intern &other);
~Intern();
AForm *makeForm(const std::string &formName, const std::string &target);
private:
static AForm *createShrubberyForm(const std::string &target);
static AForm *createRobotomyForm(const std::string &target);
static AForm *createPresidentialForm(const std::string &target);
};