Faker C++
Toggle main menu visibility
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
8
namespace
faker::book
9
{
21
FAKER_CXX_EXPORT std::string_view
title
(Locale locale = Locale::en_US);
22
34
FAKER_CXX_EXPORT std::string_view
genre
(Locale locale = Locale::en_US);
35
47
FAKER_CXX_EXPORT std::string_view
author
(Locale locale = Locale::en_US);
48
60
FAKER_CXX_EXPORT std::string_view
publisher
(Locale locale = Locale::en_US);
61
73
FAKER_CXX_EXPORT std::string_view
format
(Locale locale = Locale::en_US);
74
86
FAKER_CXX_EXPORT std::string_view
series
(Locale locale = Locale::en_US);
87
}
faker::book
Definition
book.h:9
faker::book::title
FAKER_CXX_EXPORT std::string_view title(Locale locale=Locale::en_US)
Returns a random book title.
faker::book::series
FAKER_CXX_EXPORT std::string_view series(Locale locale=Locale::en_US)
returns a random book series
faker::book::format
FAKER_CXX_EXPORT std::string_view format(Locale locale=Locale::en_US)
Returns format of book.
faker::book::author
FAKER_CXX_EXPORT std::string_view author(Locale locale=Locale::en_US)
Returns a random book author.
faker::book::publisher
FAKER_CXX_EXPORT std::string_view publisher(Locale locale=Locale::en_US)
Returns a random book publisher.
faker::book::genre
FAKER_CXX_EXPORT std::string_view genre(Locale locale=Locale::en_US)
Returns a random book genre.
include
faker-cxx
book.h
Generated by
1.17.0