school/cs235/lab04/Factory.h
2016-04-06 20:46:10 -07:00

23 lines
735 B
C++

#pragma once
#include "ExpressionManagerInterface.h"
using namespace std;
/*
WARNING: It is expressly forbidden to modify any part of this document, including its name
*/
//=======================================================================================
/*
createExpressionManager()
Creates and returns an object whose class extends ExpressionManagerInterface.
This should be an object of a class you have created.
Example: If you made a class called "ExpressionManager", you might say, "return new ExpressionManager();".
*/
class Factory
{
public:
static ExpressionManagerInterface * createManager();
};
//=======================================================================================