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

Functions

FAKER_CXX_EXPORT std::string_view condition (Locale locale=Locale::en_US)
 Returns a random medical condition.
 
FAKER_CXX_EXPORT std::string_view medicalTest (Locale locale=Locale::en_US)
 Returns a random medical test.
 
FAKER_CXX_EXPORT std::string_view specialty (Locale locale=Locale::en_US)
 Returns a random Medical specialty.
 

Function Documentation

◆ condition()

FAKER_CXX_EXPORT std::string_view faker::medicine::condition ( Locale locale = Locale::en_US)

Returns a random medical condition.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Medical condition.
FAKER_CXX_EXPORT std::string_view condition(Locale locale=Locale::en_US)
Returns a random medical condition.

◆ medicalTest()

FAKER_CXX_EXPORT std::string_view faker::medicine::medicalTest ( Locale locale = Locale::en_US)

Returns a random medical test.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Medical test.
faker::medicine::medicalTest() // "pulmonary auscultation"
FAKER_CXX_EXPORT std::string_view medicalTest(Locale locale=Locale::en_US)
Returns a random medical test.

◆ specialty()

FAKER_CXX_EXPORT std::string_view faker::medicine::specialty ( Locale locale = Locale::en_US)

Returns a random Medical specialty.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Medical specialty.
faker::medicine::specialty() // "Cardiology"
FAKER_CXX_EXPORT std::string_view specialty(Locale locale=Locale::en_US)
Returns a random Medical specialty.