cpp/cpp04/ex02/Dog.hpp
2022-07-19 12:59:21 +02:00

35 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Dog.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/14 02:11:42 by apommier #+# #+# */
/* Updated: 2022/07/17 19:04:03 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DOG_HPP
# define DOG_HPP
#include "Animal.hpp"
class Dog : public Animal {
public:
Dog();
Dog(const Dog& copy);
~Dog();
Dog &operator=(const Dog& rhs);
Animal &operator=( const Animal &rhs);
void makeSound(void) const;
Brain *getBrain() const;
private:
Brain *_Brain;
};
#endif