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

Functions

FAKER_CXX_EXPORT std::string_view tree (Locale locale=Locale::en_US)
 Returns a random species of tree.
 
FAKER_CXX_EXPORT std::string_view flower (Locale locale=Locale::en_US)
 Returns a random species of flower.
 
FAKER_CXX_EXPORT std::string_view shrub (Locale locale=Locale::en_US)
 Returns a random species of shrub.
 
FAKER_CXX_EXPORT std::string_view grass (Locale locale=Locale::en_US)
 Returns a random species of grass.
 
FAKER_CXX_EXPORT std::string_view fern (Locale locale=Locale::en_US)
 Returns a random species of fern.
 
FAKER_CXX_EXPORT std::string_view succulent (Locale locale=Locale::en_US)
 Returns a random species of succulent.
 
FAKER_CXX_EXPORT std::string_view vine (Locale locale=Locale::en_US)
 Returns a random species of vine.
 
FAKER_CXX_EXPORT std::string_view plantType (Locale locale=Locale::en_US)
 Returns a random type of plant.
 

Function Documentation

◆ fern()

FAKER_CXX_EXPORT std::string_view faker::plant::fern ( Locale locale = Locale::en_US)

Returns a random species of fern.

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

◆ flower()

FAKER_CXX_EXPORT std::string_view faker::plant::flower ( Locale locale = Locale::en_US)

Returns a random species of flower.

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

◆ grass()

FAKER_CXX_EXPORT std::string_view faker::plant::grass ( Locale locale = Locale::en_US)

Returns a random species of grass.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of grass.
faker::plant::grass() // "Kentucky Bluegrass"
FAKER_CXX_EXPORT std::string_view grass(Locale locale=Locale::en_US)
Returns a random species of grass.

◆ plantType()

FAKER_CXX_EXPORT std::string_view faker::plant::plantType ( Locale locale = Locale::en_US)

Returns a random type of plant.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Type of plant.
faker::plant::type() // "tree"

◆ shrub()

FAKER_CXX_EXPORT std::string_view faker::plant::shrub ( Locale locale = Locale::en_US)

Returns a random species of shrub.

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

◆ succulent()

FAKER_CXX_EXPORT std::string_view faker::plant::succulent ( Locale locale = Locale::en_US)

Returns a random species of succulent.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Species of succulent.
faker::plant::succulent() // "Aloe Vera"
FAKER_CXX_EXPORT std::string_view succulent(Locale locale=Locale::en_US)
Returns a random species of succulent.

◆ tree()

FAKER_CXX_EXPORT std::string_view faker::plant::tree ( Locale locale = Locale::en_US)

Returns a random species of tree.

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

◆ vine()

FAKER_CXX_EXPORT std::string_view faker::plant::vine ( Locale locale = Locale::en_US)

Returns a random species of vine.

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