/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Animal.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/24 09:02:10 by narnaud #+# #+# */ /* Updated: 2022/06/24 10:07:53 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include #include using std::string; using std::cout; using std::endl; class Animal{ public: Animal(void); Animal(string type); Animal(Animal const & src); virtual ~Animal(void); Animal & operator= (Animal const & src); string getType(void) const; virtual void makeSound(void) const; protected: string _type; };