Faker C++
Toggle main menu visibility
Loading...
Searching...
No Matches
education.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::education
9
{
21
FAKER_CXX_EXPORT std::string_view
school
(Locale locale = Locale::en_US);
22
34
FAKER_CXX_EXPORT std::string_view
degree
(Locale locale = Locale::en_US);
35
47
FAKER_CXX_EXPORT std::string_view
field
(Locale locale = Locale::en_US);
48
60
FAKER_CXX_EXPORT std::string_view
term
(Locale locale = Locale::en_US);
61
73
FAKER_CXX_EXPORT std::string_view
courses
(Locale locale = Locale::en_US);
74
75
}
// namespace faker::education
faker::education
Definition
education.h:9
faker::education::degree
FAKER_CXX_EXPORT std::string_view degree(Locale locale=Locale::en_US)
Returns a random degree type (e.g., BSc, MBA).
faker::education::courses
FAKER_CXX_EXPORT std::string_view courses(Locale locale=Locale::en_US)
Returns a random list of courses.
faker::education::school
FAKER_CXX_EXPORT std::string_view school(Locale locale=Locale::en_US)
Returns a random school name.
faker::education::field
FAKER_CXX_EXPORT std::string_view field(Locale locale=Locale::en_US)
Returns a random field of study (e.g., Computer Science, Business).
faker::education::term
FAKER_CXX_EXPORT std::string_view term(Locale locale=Locale::en_US)
Returns a random academic term (e.g., Semester, GPA).
include
faker-cxx
education.h
Generated by
1.17.0