Dog.hpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* Dog.hpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/12/18 16:27:49 by bchanot #+# #+# */
  9. /* Updated: 2025/12/18 18:48:08 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #ifndef DOG_HPP
  13. # define DOG_HPP
  14. # include <iostream>
  15. # include <string>
  16. #include "AAnimal.hpp"
  17. #include "Brain.hpp"
  18. class Dog : public AAnimal
  19. {
  20. public:
  21. Dog();
  22. Dog( Dog const & src );
  23. ~Dog();
  24. Dog & operator=( Dog const & rhs );
  25. virtual void makeSound(void) const;
  26. private:
  27. Brain *_brain;
  28. };
  29. std::ostream & operator<<( std::ostream & o, Dog const & i );
  30. #endif /* ************************************************************* DOG_H */