//******************************************************************************
//
// CS 240C : Spring 2003 Ohio University Travis Dillon
// Project 3 : Animal Homes
// file : animal.h
// started : 05-07-03
// summary : This class is only here to serve as a parent. Pointers to this
// class are used to have different objects in a single container.
//
//******************************************************************************
#ifndef ANIMAL_H
#define ANIMAL_H
#include "prog3.h"
#include <fstream>
class Animal
{
public:
virtual void input() = 0; //used to get data about home from user
virtual void output() = 0; //used to output the data in each object
virtual int get_id() = 0; //returns the 1 - 6, corrosponds to object type
virtual void print(ofstream& fout) = 0; //outputs objects data in container
};
#endif //ANIMAL_H