Faker C++
Loading...
Searching...
No Matches
book.h
Go to the documentation of this file.
1#pragma once
2
3#include <string_view>
4
5#include "faker-cxx/export.h"
6#include "faker-cxx/types/locale.h"
7
8namespace faker::book
9{
21FAKER_CXX_EXPORT std::string_view title(Locale locale = Locale::en_US);
22
34FAKER_CXX_EXPORT std::string_view genre(Locale locale = Locale::en_US);
35
47FAKER_CXX_EXPORT std::string_view author(Locale locale = Locale::en_US);
48
60FAKER_CXX_EXPORT std::string_view publisher(Locale locale = Locale::en_US);
61
73FAKER_CXX_EXPORT std::string_view format(Locale locale = Locale::en_US);
74
86FAKER_CXX_EXPORT std::string_view series(Locale locale = Locale::en_US);
87}
Definition book.h:9
FAKER_CXX_EXPORT std::string_view title(Locale locale=Locale::en_US)
Returns a random book title.
FAKER_CXX_EXPORT std::string_view series(Locale locale=Locale::en_US)
returns a random book series
FAKER_CXX_EXPORT std::string_view format(Locale locale=Locale::en_US)
Returns format of book.
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 genre(Locale locale=Locale::en_US)
Returns a random book genre.