Faker C++
Loading...
Searching...
No Matches
faker::animal Namespace Reference

Functions

FAKER_CXX_EXPORT std::string_view bear (Locale locale=Locale::en_US)
 Returns a random species of bear.
 
FAKER_CXX_EXPORT std::string_view bird (Locale locale=Locale::en_US)
 Returns a random species of bird.
 
FAKER_CXX_EXPORT std::string_view cat (Locale locale=Locale::en_US)
 Returns a random species of cat.
 
FAKER_CXX_EXPORT std::string_view cetacean (Locale locale=Locale::en_US)
 Returns a random species of cetacean.
 
FAKER_CXX_EXPORT std::string_view cow (Locale locale=Locale::en_US)
 Returns a random species of cow.
 
FAKER_CXX_EXPORT std::string_view crocodile (Locale locale=Locale::en_US)
 Returns a random species of crocodilia.
 
FAKER_CXX_EXPORT std::string_view dog (Locale locale=Locale::en_US)
 Returns a random species of dog.
 
FAKER_CXX_EXPORT std::string_view fish (Locale locale=Locale::en_US)
 Returns a random species of fish.
 
FAKER_CXX_EXPORT std::string_view horse (Locale locale=Locale::en_US)
 Returns a random species of horse.
 
FAKER_CXX_EXPORT std::string_view insect (Locale locale=Locale::en_US)
 Returns a random species of insect.
 
FAKER_CXX_EXPORT std::string_view lion (Locale locale=Locale::en_US)
 Returns a random species of lion.
 
FAKER_CXX_EXPORT std::string_view rabbit (Locale locale=Locale::en_US)
 Returns a random species of rabbit.
 
FAKER_CXX_EXPORT std::string_view rodent (Locale locale=Locale::en_US)
 Returns a random species of rodent.
 
FAKER_CXX_EXPORT std::string_view snake (Locale locale=Locale::en_US)
 Returns a random species of snake.
 
FAKER_CXX_EXPORT std::string_view type (Locale locale=Locale::en_US)
 Returns a random type of animal.
 

Function Documentation

◆ bear()

FAKER_CXX_EXPORT std::string_view faker::animal::bear ( Locale locale = Locale::en_US)

Returns a random species of bear.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of bear.
faker::animal::bear() // "Polar bear"
FAKER_CXX_EXPORT std::string_view bear(Locale locale=Locale::en_US)
Returns a random species of bear.

◆ bird()

FAKER_CXX_EXPORT std::string_view faker::animal::bird ( Locale locale = Locale::en_US)

Returns a random species of bird.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of bird.
faker::animal::bird() // "Black-bellied Whistling-Duck"
FAKER_CXX_EXPORT std::string_view bird(Locale locale=Locale::en_US)
Returns a random species of bird.

◆ cat()

FAKER_CXX_EXPORT std::string_view faker::animal::cat ( Locale locale = Locale::en_US)

Returns a random species of cat.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of cat.
faker::animal::cat() // "Chartreux"
FAKER_CXX_EXPORT std::string_view cat(Locale locale=Locale::en_US)
Returns a random species of cat.

◆ cetacean()

FAKER_CXX_EXPORT std::string_view faker::animal::cetacean ( Locale locale = Locale::en_US)

Returns a random species of cetacean.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of cetacean.
faker::animal::cetacean() // "Blue Whale"
FAKER_CXX_EXPORT std::string_view cetacean(Locale locale=Locale::en_US)
Returns a random species of cetacean.

◆ cow()

FAKER_CXX_EXPORT std::string_view faker::animal::cow ( Locale locale = Locale::en_US)

Returns a random species of cow.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of cow.
faker::animal::cow() // "American Angus"
FAKER_CXX_EXPORT std::string_view cow(Locale locale=Locale::en_US)
Returns a random species of cow.

◆ crocodile()

FAKER_CXX_EXPORT std::string_view faker::animal::crocodile ( Locale locale = Locale::en_US)

Returns a random species of crocodilia.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of crocodilia.
faker::animal::crocodile() // "Dwarf Crocodile"
FAKER_CXX_EXPORT std::string_view crocodile(Locale locale=Locale::en_US)
Returns a random species of crocodilia.

◆ dog()

FAKER_CXX_EXPORT std::string_view faker::animal::dog ( Locale locale = Locale::en_US)

Returns a random species of dog.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of dog.
faker::animal::dog() // "Shiba Inu"
FAKER_CXX_EXPORT std::string_view dog(Locale locale=Locale::en_US)
Returns a random species of dog.

◆ fish()

FAKER_CXX_EXPORT std::string_view faker::animal::fish ( Locale locale = Locale::en_US)

Returns a random species of fish.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of fish.
faker::animal::fish() // "Silver carp"
FAKER_CXX_EXPORT std::string_view fish(Locale locale=Locale::en_US)
Returns a random species of fish.

◆ horse()

FAKER_CXX_EXPORT std::string_view faker::animal::horse ( Locale locale = Locale::en_US)

Returns a random species of horse.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of horse.
faker::animal::horse() // "Fjord Horse"
FAKER_CXX_EXPORT std::string_view horse(Locale locale=Locale::en_US)
Returns a random species of horse.

◆ insect()

FAKER_CXX_EXPORT std::string_view faker::animal::insect ( Locale locale = Locale::en_US)

Returns a random species of insect.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of insect.
FAKER_CXX_EXPORT std::string_view insect(Locale locale=Locale::en_US)
Returns a random species of insect.

◆ lion()

FAKER_CXX_EXPORT std::string_view faker::animal::lion ( Locale locale = Locale::en_US)

Returns a random species of lion.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of lion.
faker::animal::lion() // "West African Lion"
FAKER_CXX_EXPORT std::string_view lion(Locale locale=Locale::en_US)
Returns a random species of lion.

◆ rabbit()

FAKER_CXX_EXPORT std::string_view faker::animal::rabbit ( Locale locale = Locale::en_US)

Returns a random species of rabbit.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of rabbit.
faker::animal::rabbit() // "Californian"
FAKER_CXX_EXPORT std::string_view rabbit(Locale locale=Locale::en_US)
Returns a random species of rabbit.

◆ rodent()

FAKER_CXX_EXPORT std::string_view faker::animal::rodent ( Locale locale = Locale::en_US)

Returns a random species of rodent.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of rodent.
faker::animal::rodent() // "Chinchilla"
FAKER_CXX_EXPORT std::string_view rodent(Locale locale=Locale::en_US)
Returns a random species of rodent.

◆ snake()

FAKER_CXX_EXPORT std::string_view faker::animal::snake ( Locale locale = Locale::en_US)

Returns a random species of snake.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of snake.
faker::animal::snake() // "Boa constrictor"
FAKER_CXX_EXPORT std::string_view snake(Locale locale=Locale::en_US)
Returns a random species of snake.

◆ type()

FAKER_CXX_EXPORT std::string_view faker::animal::type ( Locale locale = Locale::en_US)

Returns a random type of animal.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Type of animal.
FAKER_CXX_EXPORT std::string_view type(Locale locale=Locale::en_US)
Returns a random type of animal.