Interface example::AnimalInterface¶
ClassList > example > AnimalInterface
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¶
Returns the number of eyes.
virtual int example::AnimalInterface::get_num_of_eyes () const = 0
See also: get_num_of_limbs
function get_num_of_limbs¶
Returns the number of limbs.
virtual int example::AnimalInterface::get_num_of_limbs () const = 0
See also: get_num_of_eyes
function has_tail¶
Returns true if the animal has a 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 demo-projects/animal/animal_interface.h