aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex00/Victim.hpp
blob: f7c4218761595a899a5fa6c7b6c01f1be17d670d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   Victim.hpp                                         :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: charles <charles.cabergs@gmail.com>        +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/04/13 20:40:50 by charles           #+#    #+#             */
/*   Updated: 2020/12/11 10:26:56 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef VICTIM_HPP
# define VICTIM_HPP

# include <string>
# include <iostream>

class Victim
{
public:
    Victim(std::string const& name);
    Victim& operator=(Victim const& other);
    Victim(Victim const& other);
    virtual ~Victim();

    std::string const& getName()  const;
    virtual void getPolymorphed() const;

protected:
    std::string m_name;

private:
    Victim();
};

std::ostream& operator<<(std::ostream& out, Victim const& v);

#endif