| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Dog.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/12/18 16:27:49 by bchanot #+# #+# */
- /* Updated: 2025/12/18 18:48:08 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef DOG_HPP
- # define DOG_HPP
- # include <iostream>
- # include <string>
- #include "AAnimal.hpp"
- #include "Brain.hpp"
- class Dog : public AAnimal
- {
- public:
- Dog();
- Dog( Dog const & src );
- ~Dog();
- Dog & operator=( Dog const & rhs );
- virtual void makeSound(void) const;
- private:
- Brain *_brain;
- };
- std::ostream & operator<<( std::ostream & o, Dog const & i );
- #endif /* ************************************************************* DOG_H */
|