Faker C++
|
Functions | |
FAKER_CXX_EXPORT std::string_view | alcoholicBeverage (Locale locale=Locale::en_US) |
Returns a random alcoholic beverage name. | |
FAKER_CXX_EXPORT std::string_view | grain (Locale locale=Locale::en_US) |
Returns a random grain measurement. | |
FAKER_CXX_EXPORT std::string_view | milkProduct (Locale locale=Locale::en_US) |
Returns a random milk product's name. | |
FAKER_CXX_EXPORT std::string_view | fruit (Locale locale=Locale::en_US) |
Returns a random fruit's name. | |
FAKER_CXX_EXPORT std::string_view | meat (Locale locale=Locale::en_US) |
Returns a random meat's name. | |
FAKER_CXX_EXPORT std::string_view | seafood (Locale locale=Locale::en_US) |
Returns a random seafood's name. | |
FAKER_CXX_EXPORT std::string_view | vegetable (Locale locale=Locale::en_US) |
Returns a random vegetable's name. | |
FAKER_CXX_EXPORT std::string_view | oil (Locale locale=Locale::en_US) |
Returns a random oil's name. | |
FAKER_CXX_EXPORT std::string_view | nut (Locale locale=Locale::en_US) |
Returns a random nut's name. | |
FAKER_CXX_EXPORT std::string_view | seed (Locale locale=Locale::en_US) |
Returns a random seed's name. | |
FAKER_CXX_EXPORT std::string_view | sugarProduct (Locale locale=Locale::en_US) |
Returns a random sugar product's name. | |
FAKER_CXX_EXPORT std::string_view | nonalcoholicBeverage (Locale locale=Locale::en_US) |
Returns a random non-alcoholic beverage's name. | |
FAKER_CXX_EXPORT std::string_view | dishName (Locale locale=Locale::en_US) |
Returns a random dish's name. | |
FAKER_CXX_EXPORT std::string_view | foodCategory (Locale locale=Locale::en_US) |
Returns a random food categories' name. | |
FAKER_CXX_EXPORT std::string_view faker::food::alcoholicBeverage | ( | Locale | locale = Locale::en_US | ) |
Returns a random alcoholic beverage name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::dishName | ( | Locale | locale = Locale::en_US | ) |
Returns a random dish's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::foodCategory | ( | Locale | locale = Locale::en_US | ) |
Returns a random food categories' name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::fruit | ( | Locale | locale = Locale::en_US | ) |
Returns a random fruit's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::grain | ( | Locale | locale = Locale::en_US | ) |
Returns a random grain measurement.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::meat | ( | Locale | locale = Locale::en_US | ) |
Returns a random meat's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::milkProduct | ( | Locale | locale = Locale::en_US | ) |
Returns a random milk product's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::nonalcoholicBeverage | ( | Locale | locale = Locale::en_US | ) |
Returns a random non-alcoholic beverage's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::nut | ( | Locale | locale = Locale::en_US | ) |
Returns a random nut's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::oil | ( | Locale | locale = Locale::en_US | ) |
Returns a random oil's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::seafood | ( | Locale | locale = Locale::en_US | ) |
Returns a random seafood's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::seed | ( | Locale | locale = Locale::en_US | ) |
Returns a random seed's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::sugarProduct | ( | Locale | locale = Locale::en_US | ) |
Returns a random sugar product's name.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT std::string_view faker::food::vegetable | ( | Locale | locale = Locale::en_US | ) |
Returns a random vegetable's name.
locale | The locale. Defaults to `Locale::en_US`. |