school/cs235/lab10/Factory.cpp

21 lines
518 B
C++
Raw Normal View History

2016-04-06 20:46:10 -07:00
#include "Factory.h"
#include "avl.h"
//You may add #include statements here
/*
You will MODIFY THIS DOCUMENT.
*/
//=======================================================================================
/*
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();".
*/
AVLInterface * Factory::getAVL()
{
return new avl();//Modify this line
}