school/cs235/lab10/Factory.h

24 lines
643 B
C++

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