Doxybook Example
animal_interface.h
Go to the documentation of this file.
1 #ifndef EXAMPLE_ANIMAL_INTERFACE_H
2 #define EXAMPLE_ANIMAL_INTERFACE_H
3 
4 #include <string>
5 
6 namespace example {
12  public:
17  virtual int get_num_of_limbs() const = 0;
18 
23  virtual int get_num_of_eyes() const = 0;
24 
31  virtual bool has_tail() const = 0;
32  };
33 }
34 
35 #endif
virtual bool has_tail() const =0
Returns true if the animal has a tail.
Definition: animal.h:31
Definition: animal_interface.h:11
virtual int get_num_of_eyes() const =0
Returns the number of eyes.
virtual int get_num_of_limbs() const =0
Returns the number of limbs.