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

Functions

FAKER_CXX_EXPORT std::string_view artist ()
 Returns a random artist.
 
FAKER_CXX_EXPORT std::string_view genre ()
 Returns a random music genre.
 
FAKER_CXX_EXPORT std::string_view songName ()
 Returns a random song name.
 

Function Documentation

◆ artist()

FAKER_CXX_EXPORT std::string_view faker::music::artist ( )

Returns a random artist.

Returns
Artist.
faker::music::artist() // "Nirvana"
FAKER_CXX_EXPORT std::string_view artist()
Returns a random artist.

◆ genre()

FAKER_CXX_EXPORT std::string_view faker::music::genre ( )

Returns a random music genre.

Returns
Music genre.
FAKER_CXX_EXPORT std::string_view genre()
Returns a random music genre.

◆ songName()

FAKER_CXX_EXPORT std::string_view faker::music::songName ( )

Returns a random song name.

Returns
Song name.
faker::music::songName() // "Light My Fire"
FAKER_CXX_EXPORT std::string_view songName()
Returns a random song name.