|
Doxybook Example
|
#include <special_bird.h>


Public Member Functions | |
| SpecialBird (const std::string &name, SpecialBird *mother=nullptr, SpecialBird *father=nullptr) | |
| SpecialBird (const SpecialBird &other)=delete | |
| SpecialBird (SpecialBird &&SpecialBird) noexcept | |
| ~SpecialBird ()=default | |
| void | swap (SpecialBird &other) noexcept |
| void | do_something_special () |
| SpecialBird & | operator= (const SpecialBird &other)=delete |
| SpecialBird & | operator= (SpecialBird &&other) noexcept |
Public Member Functions inherited from example::Bird | |
| Bird (const std::string &name, Bird *mother=nullptr, Bird *father=nullptr) | |
| Bird (const Bird &other)=delete | |
| Bird (Bird &&Bird) noexcept | |
| ~Bird ()=default | |
| void | swap (Bird &other) noexcept |
| void | move () override |
| void | make_sound () override |
| Bird & | operator= (const Bird &other)=delete |
| Deleted copy operator. More... | |
| Bird & | operator= (Bird &&other) noexcept |
| Move operator. More... | |
Public Member Functions inherited from example::Animal | |
| Animal (Type type, const std::string &name, Animal *mother=nullptr, Animal *father=nullptr) | |
| The main constructor. More... | |
| Animal (const Animal &other)=delete | |
| Animal (Animal &&animal) noexcept | |
| virtual | ~Animal ()=default |
| operator bool () const | |
| Returns true if this is an valid animal. More... | |
| void | swap (Animal &other) noexcept |
| int | get_num_of_limbs () const override |
| Returns the number of limbs. More... | |
| int | get_num_of_eyes () const override |
| Returns the number of eyes. More... | |
| bool | has_tail () const override |
| Returns true if the animal has a tail. More... | |
| Parents | get_parents () const |
| const std::string & | get_name () const |
| Get the name of the animal. More... | |
| void | some_inline_member_function (Animal *animal) |
| Lorem Ipsum. More... | |
| Animal & | operator= (const Animal &other)=delete |
| Deleted copy operator. More... | |
| Animal & | operator= (Animal &&other) noexcept |
| Move operator. More... | |
Additional Inherited Members | |
Public Types inherited from example::Animal | |
| enum | Type { NONE = 0, INSECT = 1, AMPHIBIAN = 2, BIRD = 3, FISH = 4, REPTILE = 5, MAMMAL = 6 } |
| The 6 classes of animal kingdom. More... | |
| typedef std::pair< Animal *, Animal * > | Parents |
Static Public Member Functions inherited from example::Animal | |
| static Animal * | find_parent_by_name (Animal *child) |
| static Animal * | find_child_by_name (Animal *parent) |
Protected Attributes inherited from example::Animal | |
| Animal * | mother |
| The pointer to the mother. More... | |
| Animal * | father |
| The pointer to the father. More... | |
| std::string | name |
| example::SpecialBird::SpecialBird | ( | const std::string & | name, |
| SpecialBird * | mother = nullptr, |
||
| SpecialBird * | father = nullptr |
||
| ) |
|
delete |
|
noexcept |
|
default |
| void example::SpecialBird::do_something_special | ( | ) |
|
delete |
|
noexcept |
|
noexcept |
1.8.13