Faker C++
Loading...
Searching...
No Matches
science.h File Reference
#include <string_view>
#include "faker-cxx/export.h"
#include "faker-cxx/types/locale.h"
Include dependency graph for science.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  faker::science::ChemicalElement
struct  faker::science::Unit

Namespaces

namespace  faker
namespace  faker::science

Functions

FAKER_CXX_EXPORT ChemicalElement faker::science::chemicalElement (Locale locale=Locale::en_US)
 Returns a random chemical element from the periodic table.
FAKER_CXX_EXPORT Unit faker::science::unit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either distance, mass, time, temp, current.
FAKER_CXX_EXPORT Unit faker::science::distanceUnit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either distance.
FAKER_CXX_EXPORT Unit faker::science::timeUnit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either time.
FAKER_CXX_EXPORT Unit faker::science::massUnit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either mass.
FAKER_CXX_EXPORT Unit faker::science::tempUnit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either temp.
FAKER_CXX_EXPORT Unit faker::science::currentUnit (Locale locale=Locale::en_US)
 Returns a unit of measurement for either current.