| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Animal.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/12/18 16:26:41 by bchanot #+# #+# */
- /* Updated: 2025/12/18 18:45:42 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef AANIMAL_HPP
- # define AANIMAL_HPP
- # include <iostream>
- # include <string>
- class AAnimal
- {
- public:
- AAnimal();
- AAnimal( AAnimal const & src );
- AAnimal( std::string const & type );
- virtual ~AAnimal();
- AAnimal & operator=( AAnimal const & rhs );
- virtual void makeSound(void) const = 0;
- protected:
- std::string type;
- };
- std::ostream & operator<<( std::ostream & o, AAnimal const & i );
- #endif /* ********************************************************** ANIMAL_H */
|