5#include "faker-cxx/export.h"
6#include "faker-cxx/types/locale.h"
31struct FAKER_CXX_EXPORT
Unit
31struct FAKER_CXX_EXPORT
Unit {
…};
49FAKER_CXX_EXPORT
Unit unit(Locale locale = Locale::en_US);
FAKER_CXX_EXPORT Unit distanceUnit(Locale locale=Locale::en_US)
Returns a unit of measurement for either distance.
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 timeUnit(Locale locale=Locale::en_US)
Returns a unit of measurement for either time.
FAKER_CXX_EXPORT Unit currentUnit(Locale locale=Locale::en_US)
Returns a unit of measurement for either current.
FAKER_CXX_EXPORT Unit tempUnit(Locale locale=Locale::en_US)
Returns a unit of measurement for either temp.
FAKER_CXX_EXPORT Unit massUnit(Locale locale=Locale::en_US)
Returns a unit of measurement for either mass.
FAKER_CXX_EXPORT ChemicalElement chemicalElement(Locale locale=Locale::en_US)
Returns a random chemical element from the periodic table.
std::string_view name
Definition science.h:12
std::string_view symbol
Definition science.h:13
int atomicNumber
Definition science.h:14
std::string_view symbol
Definition science.h:34
std::string_view name
Definition science.h:33
std::string_view usedToMeasure
Definition science.h:35