Faker C++
|
Classes | |
struct | ChemicalElement |
struct | Unit |
Functions | |
FAKER_CXX_EXPORT ChemicalElement | chemicalElement (Locale locale=Locale::en_US) |
Returns a random chemical element from the periodic table. | |
FAKER_CXX_EXPORT Unit | unit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either distance, mass, time, temp, current. | |
FAKER_CXX_EXPORT Unit | distanceUnit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either distance. | |
FAKER_CXX_EXPORT Unit | timeUnit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either time. | |
FAKER_CXX_EXPORT Unit | massUnit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either mass. | |
FAKER_CXX_EXPORT Unit | tempUnit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either temp. | |
FAKER_CXX_EXPORT Unit | currentUnit (Locale locale=Locale::en_US) |
Returns a unit of measurement for either current. | |
FAKER_CXX_EXPORT ChemicalElement faker::science::chemicalElement | ( | Locale | locale = Locale::en_US | ) |
Returns a random chemical element from the periodic table.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::currentUnit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either current.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::distanceUnit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either distance.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::massUnit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either mass.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::tempUnit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either temp.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::timeUnit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either time.
locale | The locale. Defaults to `Locale::en_US`. |
FAKER_CXX_EXPORT Unit faker::science::unit | ( | Locale | locale = Locale::en_US | ) |
Returns a unit of measurement for either distance, mass, time, temp, current.
locale | The locale. Defaults to `Locale::en_US`. |