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

Functions

FAKER_CXX_EXPORT std::string_view genre (Locale locale=Locale::en_US)
 Returns a random movie genre.
 
FAKER_CXX_EXPORT std::string_view movieTitle (Locale locale=Locale::en_US)
 Returns a random movie title.
 
FAKER_CXX_EXPORT std::string_view tvShow (Locale locale=Locale::en_US)
 Returns a random tv show.
 
FAKER_CXX_EXPORT std::string_view director (Locale locale=Locale::en_US)
 Returns a random movie director name.
 
FAKER_CXX_EXPORT std::string_view actor (Locale locale=Locale::en_US)
 Returns a random actor name.
 
FAKER_CXX_EXPORT std::string_view actress (Locale locale=Locale::en_US)
 Returns a random actress name.
 

Function Documentation

◆ actor()

FAKER_CXX_EXPORT std::string_view faker::movie::actor ( Locale locale = Locale::en_US)

Returns a random actor name.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Actor name.
faker::movie::actor() // "John Travolta"
FAKER_CXX_EXPORT std::string_view actor(Locale locale=Locale::en_US)
Returns a random actor name.

◆ actress()

FAKER_CXX_EXPORT std::string_view faker::movie::actress ( Locale locale = Locale::en_US)

Returns a random actress name.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Actress name.
faker::movie::actress() // "Scarlett Johansson"
FAKER_CXX_EXPORT std::string_view actress(Locale locale=Locale::en_US)
Returns a random actress name.

◆ director()

FAKER_CXX_EXPORT std::string_view faker::movie::director ( Locale locale = Locale::en_US)

Returns a random movie director name.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Movie director name.
faker::movie::director() // "Quentin Tarantino"
FAKER_CXX_EXPORT std::string_view director(Locale locale=Locale::en_US)
Returns a random movie director name.

◆ genre()

FAKER_CXX_EXPORT std::string_view faker::movie::genre ( Locale locale = Locale::en_US)

Returns a random movie genre.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Movie genre.
faker::movie::genre() // "Drama"
FAKER_CXX_EXPORT std::string_view genre(Locale locale=Locale::en_US)
Returns a random movie genre.

◆ movieTitle()

FAKER_CXX_EXPORT std::string_view faker::movie::movieTitle ( Locale locale = Locale::en_US)

Returns a random movie title.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Movie title.
faker::movie::movieTitle() // "Pulp Fiction"
FAKER_CXX_EXPORT std::string_view movieTitle(Locale locale=Locale::en_US)
Returns a random movie title.

◆ tvShow()

FAKER_CXX_EXPORT std::string_view faker::movie::tvShow ( Locale locale = Locale::en_US)

Returns a random tv show.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Tv show.
faker::movie::tvShow() // "The Sopranos"
FAKER_CXX_EXPORT std::string_view tvShow(Locale locale=Locale::en_US)
Returns a random tv show.