Faker C++
Loading...
Searching...
No Matches
faker::science Namespace Reference

Classes

struct  ChemicalElement
 
struct  Unit
 

Functions

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

Function Documentation

◆ chemicalElement()

FAKER_CXX_EXPORT ChemicalElement faker::science::chemicalElement ( )

Returns a random chemical element from the periodic table.

Returns
Chemical element.
faker::science::chemicalElement() // Object of ChemicalElement containing info about a random element in the periodic
table.
FAKER_CXX_EXPORT ChemicalElement chemicalElement()
Returns a random chemical element from the periodic table.

◆ currentUnit()

FAKER_CXX_EXPORT Unit faker::science::currentUnit ( )

Returns a unit of measurement for either current.

Returns
Current unit.
faker::science::currentUnit() // Object of Unit containing info about a random unit of measurement used to measure
current.
FAKER_CXX_EXPORT Unit currentUnit()
Returns a unit of measurement for either current.

◆ distanceUnit()

FAKER_CXX_EXPORT Unit faker::science::distanceUnit ( )

Returns a unit of measurement for either distance.

Returns
Distance unit.
faker::science::distanceUnit() // Object of Unit containing info about a random unit of measurement used to measure
distance.
FAKER_CXX_EXPORT Unit distanceUnit()
Returns a unit of measurement for either distance.

◆ massUnit()

FAKER_CXX_EXPORT Unit faker::science::massUnit ( )

Returns a unit of measurement for either mass.

Returns
Mass unit.
faker::science::massUnit() // Object of Unit containing info about a random unit of measurement used to measure mass.
FAKER_CXX_EXPORT Unit massUnit()
Returns a unit of measurement for either mass.

◆ tempUnit()

FAKER_CXX_EXPORT Unit faker::science::tempUnit ( )

Returns a unit of measurement for either temp.

Returns
Temperture unit.
faker::science::tempUnit() // Object of Unit containing info about a random unit of measurement used to measure temp.
FAKER_CXX_EXPORT Unit tempUnit()
Returns a unit of measurement for either temp.

◆ timeUnit()

FAKER_CXX_EXPORT Unit faker::science::timeUnit ( )

Returns a unit of measurement for either time.

Returns
Time unit.
faker::science::timeUnit() // Object of Unit containing info about a random unit of measurement used to measure time.
FAKER_CXX_EXPORT Unit timeUnit()
Returns a unit of measurement for either time.

◆ unit()

FAKER_CXX_EXPORT Unit faker::science::unit ( )

Returns a unit of measurement for either distance, mass, time, temp, current.

Returns
Unit.
faker::science::unit() // Object of Unit containing info about a random unit of measurement.
FAKER_CXX_EXPORT Unit unit()
Returns a unit of measurement for either distance, mass, time, temp, current.