Interface example::AnimalInterface
Class List > example > AnimalInterface
#include <animal_interface.h>
Inherited by the following classes: example::Animal
Public Functions
Type | Name |
---|---|
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. |
virtual bool | has_tail () const = 0 Returns true if the animal has a tail. |
Public Functions Documentation
function get_num_of_eyes
virtual int example::AnimalInterface::get_num_of_eyes () const = 0
See also: get_num_of_limbs
function get_num_of_limbs
virtual int example::AnimalInterface::get_num_of_limbs () const = 0
See also: get_num_of_eyes
function has_tail
virtual bool example::AnimalInterface::has_tail () const = 0
See also: get_num_of_limbs
Return value:
true
Does have a tailfalse
Does not have a tail
The documentation for this class was generated from the following file src/animal_interface.h