#include "WrongAnimal.hpp" /********************************************* * CONSTRUCTORS *********************************************/ WrongAnimal::WrongAnimal() { type = "wrong_animal"; return; } WrongAnimal::WrongAnimal( WrongAnimal const & src ) { *this = src; return; } /********************************************* * DESTRUCTORS *********************************************/ WrongAnimal::~WrongAnimal() { return; } /********************************************* * OPERATORS *********************************************/ WrongAnimal & WrongAnimal::operator=( WrongAnimal const & rhs ) { if ( this != &rhs ) { type = rhs.getType(); } return *this; } /********************************************* * ACCESSORS *********************************************/ std::string WrongAnimal::getType() const {return type;} /********************************************* * PUBLIC MEMBER FUNCTIONS *********************************************/ void WrongAnimal::makeSound() const { std::cout << "*sound*\n"; }