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

Functions

FAKER_CXX_EXPORT std::string_view alcoholicBeverage ()
 Returns a random alcoholic beverage name.
 
FAKER_CXX_EXPORT std::string_view grain ()
 Returns a random grain measurement.
 
FAKER_CXX_EXPORT std::string_view milkProduct ()
 Returns a random milk product's name.
 
FAKER_CXX_EXPORT std::string_view fruit ()
 Returns a random fruit's name.
 
FAKER_CXX_EXPORT std::string_view meat ()
 Returns a random meat's name.
 
FAKER_CXX_EXPORT std::string_view seafood ()
 Returns a random seafood's name.
 
FAKER_CXX_EXPORT std::string_view vegetable ()
 Returns a random vegetable's name.
 
FAKER_CXX_EXPORT std::string_view oil ()
 Returns a random oil's name.
 
FAKER_CXX_EXPORT std::string_view nut ()
 Returns a random nut's name.
 
FAKER_CXX_EXPORT std::string_view seed ()
 Returns a random seed's name.
 
FAKER_CXX_EXPORT std::string_view sugarProduct ()
 Returns a random sugar product's name.
 
FAKER_CXX_EXPORT std::string_view nonalcoholicBeverage ()
 Returns a random non-alcoholic beverage's name.
 
FAKER_CXX_EXPORT std::string_view dishName ()
 Returns a random dish's name.
 
FAKER_CXX_EXPORT std::string_view foodCategory ()
 Returns a random food categories' name.
 

Function Documentation

◆ alcoholicBeverage()

FAKER_CXX_EXPORT std::string_view faker::food::alcoholicBeverage ( )

Returns a random alcoholic beverage name.

Returns
Alcoholic beverage.
FAKER_CXX_EXPORT std::string_view alcoholicBeverage()
Returns a random alcoholic beverage name.

◆ dishName()

FAKER_CXX_EXPORT std::string_view faker::food::dishName ( )

Returns a random dish's name.

Returns
Dish.
faker::food::dishName() // "beef wellington"
FAKER_CXX_EXPORT std::string_view dishName()
Returns a random dish's name.

◆ foodCategory()

FAKER_CXX_EXPORT std::string_view faker::food::foodCategory ( )

Returns a random food categories' name.

Returns
Food Category.
FAKER_CXX_EXPORT std::string_view foodCategory()
Returns a random food categories' name.

◆ fruit()

FAKER_CXX_EXPORT std::string_view faker::food::fruit ( )

Returns a random fruit's name.

Returns
Fruit.
faker::food::fruit() // "apple"
FAKER_CXX_EXPORT std::string_view fruit()
Returns a random fruit's name.

◆ grain()

FAKER_CXX_EXPORT std::string_view faker::food::grain ( )

Returns a random grain measurement.

Returns
Grain.
faker::food::grain() // "1 Lt"
FAKER_CXX_EXPORT std::string_view grain()
Returns a random grain measurement.

◆ meat()

FAKER_CXX_EXPORT std::string_view faker::food::meat ( )

Returns a random meat's name.

Returns
Meat.
faker::food::meat() // "antrikot"
FAKER_CXX_EXPORT std::string_view meat()
Returns a random meat's name.

◆ milkProduct()

FAKER_CXX_EXPORT std::string_view faker::food::milkProduct ( )

Returns a random milk product's name.

Returns
Milk product.
faker::food::milkProduct() // "mozzarella"
FAKER_CXX_EXPORT std::string_view milkProduct()
Returns a random milk product's name.

◆ nonalcoholicBeverage()

FAKER_CXX_EXPORT std::string_view faker::food::nonalcoholicBeverage ( )

Returns a random non-alcoholic beverage's name.

Returns
Non-alcoholic Beverage.
FAKER_CXX_EXPORT std::string_view nonalcoholicBeverage()
Returns a random non-alcoholic beverage's name.

◆ nut()

FAKER_CXX_EXPORT std::string_view faker::food::nut ( )

Returns a random nut's name.

Returns
Nuts.
faker::food::nut() // "walnut"
FAKER_CXX_EXPORT std::string_view nut()
Returns a random nut's name.

◆ oil()

FAKER_CXX_EXPORT std::string_view faker::food::oil ( )

Returns a random oil's name.

Returns
Oil.
faker::food::oil() // "olive oil"
FAKER_CXX_EXPORT std::string_view oil()
Returns a random oil's name.

◆ seafood()

FAKER_CXX_EXPORT std::string_view faker::food::seafood ( )

Returns a random seafood's name.

Returns
Seafood.
faker::food::seafood() // "lobster"
FAKER_CXX_EXPORT std::string_view seafood()
Returns a random seafood's name.

◆ seed()

FAKER_CXX_EXPORT std::string_view faker::food::seed ( )

Returns a random seed's name.

Returns
Seed.
faker::food::seed() // "mozzarella"
FAKER_CXX_EXPORT std::string_view seed()
Returns a random seed's name.

◆ sugarProduct()

FAKER_CXX_EXPORT std::string_view faker::food::sugarProduct ( )

Returns a random sugar product's name.

Returns
Sugar product.
faker::food::sugarProduct() // "honey harmony"
FAKER_CXX_EXPORT std::string_view sugarProduct()
Returns a random sugar product's name.

◆ vegetable()

FAKER_CXX_EXPORT std::string_view faker::food::vegetable ( )

Returns a random vegetable's name.

Returns
Vegetable.
faker::food::vegetable() // "watermelon"
FAKER_CXX_EXPORT std::string_view vegetable()
Returns a random vegetable's name.