Faker C++
|
Functions | |
FAKER_CXX_EXPORT std::string_view | title (Locale locale=Locale::en_US) |
Returns a random book title. | |
FAKER_CXX_EXPORT std::string_view | genre (Locale locale=Locale::en_US) |
Returns a random book genre. | |
FAKER_CXX_EXPORT std::string_view | author (Locale locale=Locale::en_US) |
Returns a random book author. | |
FAKER_CXX_EXPORT std::string_view | publisher (Locale locale=Locale::en_US) |
Returns a random book publisher. | |
FAKER_CXX_EXPORT std::string_view | format (Locale locale=Locale::en_US) |
Returns format of book. | |
FAKER_CXX_EXPORT std::string_view | series (Locale locale=Locale::en_US) |
returns a random book series | |
FAKER_CXX_EXPORT std::string_view faker::book::author | ( | Locale | locale = Locale::en_US | ) |
Returns a random book author.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::book::format | ( | Locale | locale = Locale::en_US | ) |
Returns format of book.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::book::genre | ( | Locale | locale = Locale::en_US | ) |
Returns a random book genre.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::book::publisher | ( | Locale | locale = Locale::en_US | ) |
Returns a random book publisher.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::book::series | ( | Locale | locale = Locale::en_US | ) |
returns a random book series
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::book::title | ( | Locale | locale = Locale::en_US | ) |
Returns a random book title.
locale | The locale. Defaults to `Locale::en_US`. |