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