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