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

Enumerations

enum class  CompanyNameFormat { LastNameSuffix , FirstNameLastNameSuffix , FirstNameLastNameJobAreaSuffix }
 

Functions

FAKER_CXX_EXPORT std::string companyName (std::optional< CompanyNameFormat > format=std::nullopt, Locale locale=Locale::en_US)
 Returns a random company name.
 
FAKER_CXX_EXPORT std::string_view type (Locale locale=Locale::en_US)
 Returns a random company type.
 
FAKER_CXX_EXPORT std::string_view industry (Locale locale=Locale::en_US)
 Returns a random company industry.
 
FAKER_CXX_EXPORT std::string buzzPhrase (Locale locale=Locale::en_US)
 Returns a random buzz phrase.
 
FAKER_CXX_EXPORT std::string_view buzzAdjective (Locale locale=Locale::en_US)
 Returns a random buzz adjective.
 
FAKER_CXX_EXPORT std::string_view buzzNoun (Locale locale=Locale::en_US)
 Returns a random buzz noun.
 
FAKER_CXX_EXPORT std::string_view buzzVerb (Locale locale=Locale::en_US)
 Returns a random buzz verb.
 
FAKER_CXX_EXPORT std::string catchPhrase (Locale locale=Locale::en_US)
 Returns a random catch phrase.
 
FAKER_CXX_EXPORT std::string_view catchPhraseAdjective (Locale locale=Locale::en_US)
 Returns a random catch phrase adjective.
 
FAKER_CXX_EXPORT std::string_view catchPhraseDescriptor (Locale locale=Locale::en_US)
 Returns a random catch phrase descriptor.
 
FAKER_CXX_EXPORT std::string_view catchPhraseNoun (Locale locale=Locale::en_US)
 Returns a random catch phrase noun.
 

Enumeration Type Documentation

◆ CompanyNameFormat

Enumerator
LastNameSuffix 
FirstNameLastNameSuffix 
FirstNameLastNameJobAreaSuffix 

Function Documentation

◆ buzzAdjective()

FAKER_CXX_EXPORT std::string_view faker::company::buzzAdjective ( Locale locale = Locale::en_US)

Returns a random buzz adjective.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Buzz adjective.
FAKER_CXX_EXPORT std::string_view buzzAdjective(Locale locale=Locale::en_US)
Returns a random buzz adjective.

◆ buzzNoun()

FAKER_CXX_EXPORT std::string_view faker::company::buzzNoun ( Locale locale = Locale::en_US)

Returns a random buzz noun.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Buzz noun.
faker::company::buzzNoun() // "paradigms"
FAKER_CXX_EXPORT std::string_view buzzNoun(Locale locale=Locale::en_US)
Returns a random buzz noun.

◆ buzzPhrase()

FAKER_CXX_EXPORT std::string faker::company::buzzPhrase ( Locale locale = Locale::en_US)

Returns a random buzz phrase.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Buzz phrase.
faker::company::buzzPhrase() // "cultivate synergistic e-market"
FAKER_CXX_EXPORT std::string buzzPhrase(Locale locale=Locale::en_US)
Returns a random buzz phrase.

◆ buzzVerb()

FAKER_CXX_EXPORT std::string_view faker::company::buzzVerb ( Locale locale = Locale::en_US)

Returns a random buzz verb.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Buzz verb.
FAKER_CXX_EXPORT std::string_view buzzVerb(Locale locale=Locale::en_US)
Returns a random buzz verb.

◆ catchPhrase()

FAKER_CXX_EXPORT std::string faker::company::catchPhrase ( Locale locale = Locale::en_US)

Returns a random catch phrase.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Catch phrase.
faker::company::catchPhrase() // "Upgradable systematic flexibility"
FAKER_CXX_EXPORT std::string catchPhrase(Locale locale=Locale::en_US)
Returns a random catch phrase.

◆ catchPhraseAdjective()

FAKER_CXX_EXPORT std::string_view faker::company::catchPhraseAdjective ( Locale locale = Locale::en_US)

Returns a random catch phrase adjective.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Catch phrase adjective.
FAKER_CXX_EXPORT std::string_view catchPhraseAdjective(Locale locale=Locale::en_US)
Returns a random catch phrase adjective.

◆ catchPhraseDescriptor()

FAKER_CXX_EXPORT std::string_view faker::company::catchPhraseDescriptor ( Locale locale = Locale::en_US)

Returns a random catch phrase descriptor.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Catch phrase descriptor.
FAKER_CXX_EXPORT std::string_view catchPhraseDescriptor(Locale locale=Locale::en_US)
Returns a random catch phrase descriptor.

◆ catchPhraseNoun()

FAKER_CXX_EXPORT std::string_view faker::company::catchPhraseNoun ( Locale locale = Locale::en_US)

Returns a random catch phrase noun.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Catch phrase noun.
FAKER_CXX_EXPORT std::string_view catchPhraseNoun(Locale locale=Locale::en_US)
Returns a random catch phrase noun.

◆ companyName()

FAKER_CXX_EXPORT std::string faker::company::companyName ( std::optional< CompanyNameFormat > format = std::nullopt,
Locale locale = Locale::en_US )

Returns a random company name.

Parameters
formatThe optional format of the company name.
localeThe locale. Defaults to `Locale::en_US`.
Returns
Company name.
faker::company::companyName() // "Peterson Inc"
faker::company::companyName(CompanyNameFormat::FirstNameLastNameSuffix) // "Adams Peterson Inc"
CompanyNameFormat
Definition company.h:13
FAKER_CXX_EXPORT std::string companyName(std::optional< CompanyNameFormat > format=std::nullopt, Locale locale=Locale::en_US)
Returns a random company name.
Definition airline.h:9

◆ industry()

FAKER_CXX_EXPORT std::string_view faker::company::industry ( Locale locale = Locale::en_US)

Returns a random company industry.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Company industry.
faker::company::industry() // "Biotechnology"
FAKER_CXX_EXPORT std::string_view industry(Locale locale=Locale::en_US)
Returns a random company industry.

◆ type()

FAKER_CXX_EXPORT std::string_view faker::company::type ( Locale locale = Locale::en_US)

Returns a random company type.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
Company type.
faker::company::type() // "Nonprofit"
FAKER_CXX_EXPORT std::string_view type(Locale locale=Locale::en_US)
Returns a random company type.