Skip to content

File animal_interface.h

File List > animal > animal_interface.h

Go to the documentation of this file.

#ifndef EXAMPLE_ANIMAL_INTERFACE_H
#define EXAMPLE_ANIMAL_INTERFACE_H

#include <string>

namespace example {
    class AnimalInterface {
    public:
        virtual int get_num_of_limbs() const = 0;

        virtual int get_num_of_eyes() const = 0;

        virtual bool has_tail() const = 0;
    };
}

#endif