/ CPP_Modules / CPP_Module_04 / ex00 / WrongAnimal.hpp
WrongAnimal.hpp
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   WrongAnimal.hpp                                    :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2023/08/15 16:03:58 by gychoi            #+#    #+#             */
 9  /*   Updated: 2023/08/15 18:57:48 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #pragma once
14  #ifndef __WRONGANIMAL_HPP__
15  # define __WRONGANIMAL_HPP__
16  # include <string>
17  
18  class	WrongAnimal
19  {
20  	protected:
21  		std::string	type;
22  
23  	public:
24  		WrongAnimal(void);
25  		virtual ~WrongAnimal(void);
26  		WrongAnimal(WrongAnimal const& target);
27  		WrongAnimal&	operator=(WrongAnimal const& target);
28  
29  		virtual std::string	getType(void) const;
30  
31  		void	makeSound(void) const;
32  };
33  
34  #endif	/* __WRONGANIMAL_HPP__ */