cpp04/ex00/Animal.hpp

20 lines
387 B
C++

#ifndef ANIMAL_HPP
# define ANIMAL_HPP
# include <iostream>
class Animal
{
protected :
std::string _type;
public :
Animal();
Animal(std::string type);
Animal(const Animal &other);
virtual ~Animal();
Animal & operator=(const Animal &other);
virtual void makeSound() const;
std::string getType() const;
};
#endif