Faker

class Faker {}

Constructors

this
this(int seed)

Members

Functions

addressBuildingNumber
string addressBuildingNumber()
addressCity
string addressCity()
addressCityName
string addressCityName()
addressCityPrefix
string addressCityPrefix()
addressCitySuffix
string addressCitySuffix()
addressCountry
string addressCountry()
addressCountryCode
string addressCountryCode()
addressCountryCodeAlpha3
string addressCountryCodeAlpha3()
addressCounty
string addressCounty()
addressDefaultCountry
string addressDefaultCountry()
addressDirection
string addressDirection()
addressDirectionAbbr
string addressDirectionAbbr()
addressLatitude
string addressLatitude()
addressLongitude
string addressLongitude()
addressPostcode
string addressPostcode()
addressPostcodeByState
string addressPostcodeByState()
addressSecondaryAddress
string addressSecondaryAddress()
addressState
string addressState()
addressStateAbbr
string addressStateAbbr()
addressStreetAddress
string addressStreetAddress()
addressStreetName
string addressStreetName()
addressStreetSuffix
string addressStreetSuffix()
addressTimeZone
string addressTimeZone()
animalBear
string animalBear()
animalBird
string animalBird()
animalCat
string animalCat()
animalCetacean
string animalCetacean()
animalCow
string animalCow()
animalCrocodilia
string animalCrocodilia()
animalDog
string animalDog()
animalFish
string animalFish()
animalHorse
string animalHorse()
animalInsect
string animalInsect()
animalLion
string animalLion()
animalRabbit
string animalRabbit()
animalSnake
string animalSnake()
animalType
string animalType()
appAuthor
string appAuthor()
appName
string appName()
appVersion
string appVersion()
businessCreditCardExpiryDates
string businessCreditCardExpiryDates()
businessCreditCardNumbers
string businessCreditCardNumbers()
businessCreditCardTypes
string businessCreditCardTypes()
cellPhoneFormats
string cellPhoneFormats()
commerceColor
string commerceColor()
commerceDepartment
string commerceDepartment()
commerceProductDescription
string commerceProductDescription()
commerceProductName
string commerceProductName()
commerceProductNameAdjective
string commerceProductNameAdjective()
commerceProductNameMaterial
string commerceProductNameMaterial()
commerceProductNameProduct
string commerceProductNameProduct()
companyAdjective
string companyAdjective()
companyBs
string companyBs()
Undocumented in source. Be warned that the author may not have intended to support it.
companyBsAdjective
string companyBsAdjective()
companyBsNoun
string companyBsNoun()
companyBsVerb
string companyBsVerb()
companyCatchPhrase
string companyCatchPhrase()
companyDescriptor
string companyDescriptor()
companyName
string companyName()
companyNoun
string companyNoun()
companySuffix
string companySuffix()
databaseCollation
string databaseCollation()
databaseColumn
string databaseColumn()
databaseEngine
string databaseEngine()
databaseType
string databaseType()
dateBetween
DateTime dateBetween(DateTime begin, DateTime end)
dateFuture
DateTime dateFuture(size_t years, DateTime refDate)
datePast
DateTime datePast(size_t years, DateTime refDate)
digitBuild
string digitBuild(string s, dchar sym)
fianaceCreditCardCVV
string fianaceCreditCardCVV()
financeAccount
string financeAccount(size_t length)
financeAccountType
string financeAccountType()
financeBIC
string financeBIC()
financeBitcoinAddress
string financeBitcoinAddress()
financeCreditCard
string financeCreditCard()
financeCreditCardAmericanExpress
string financeCreditCardAmericanExpress()
financeCreditCardDinersClub
string financeCreditCardDinersClub()
financeCreditCardDiscover
string financeCreditCardDiscover()
financeCreditCardInstapayment
string financeCreditCardInstapayment()
financeCreditCardJcb
string financeCreditCardJcb()
financeCreditCardMastercard
string financeCreditCardMastercard()
financeCreditCardSolo
string financeCreditCardSolo()
financeCreditCardSwitch
string financeCreditCardSwitch()
financeCreditCardVisa
string financeCreditCardVisa()
financeCurrency
Currency financeCurrency()
financeIBAN
string financeIBAN(bool fourSpace)

TODO IBAN generation looks broken

financeMask
string financeMask(size_t length, bool parents, bool ellipsis)
financeRoutingNumber
string financeRoutingNumber()
financeTransactionType
string financeTransactionType()
hackerAbbreviation
string hackerAbbreviation()
hackerAdjective
string hackerAdjective()
hackerIngverb
string hackerIngverb()
hackerNoun
string hackerNoun()
hackerVerb
string hackerVerb()
helperAlpha
string helperAlpha(size_t count, bool upperCase)
helperAlphaNum
string helperAlphaNum(size_t count)
helperHexaDecimal
string helperHexaDecimal(size_t count)
internetAvatarUri
string internetAvatarUri()
internetColor
string internetColor(int baseRed255, int baseGreen255, int baseBlue255)
internetDomainName
string internetDomainName()
internetDomainSuffix
string internetDomainSuffix()
internetDomainWord
string internetDomainWord()
internetExampleEmail
string internetExampleEmail()
internetFreeEmail
string internetFreeEmail()
internetIPv4
string internetIPv4()
internetIPv6
string internetIPv6()
internetPassword
string internetPassword(bool strong)
internetProtocol
string internetProtocol()
internetUrl
string internetUrl()
internetUserName
string internetUserName(string firstname, string lastname)
loremParagraph
string loremParagraph(size_t length)
loremParagraphs
string loremParagraphs(size_t length)
loremSentance
string loremSentance(size_t length)
loremSentances
string loremSentances(size_t length)
loremSupplemental
string loremSupplemental()
loremText
string loremText(size_t length)
loremWords
string loremWords()
mod97
long mod97(string digitStr)
musicGenre
string musicGenre()
nameBinaryGender
string nameBinaryGender()
nameFemaleFirstName
string nameFemaleFirstName()
nameFirstName
string nameFirstName()
nameGender
string nameGender()
nameGenderBinary
string nameGenderBinary()
nameLastName
string nameLastName()
nameMaleFirstName
string nameMaleFirstName()
nameName
string nameName()
namePrefix
string namePrefix()
nameSuffix
string nameSuffix()
nameTitleDescriptor
string nameTitleDescriptor()
nameTitleJob
string nameTitleJob()
nameTitleLevel
string nameTitleLevel()
passportNumber
string passportNumber()
phoneNumber
string phoneNumber()
phoneNumberFormats
string phoneNumberFormats()
replaceChars
string replaceChars(string s)
replaceSymbols
string replaceSymbols(string str)
teamCreature
string teamCreature()
teamName
string teamName()
toDigitString
string toDigitString(string str)
ukNationalInsuranceNumber
string ukNationalInsuranceNumber()
vehicle
string vehicle()
vehicleBicycle
string vehicleBicycle()
vehicleFuel
string vehicleFuel()
vehicleManufacturer
string vehicleManufacturer()
vehicleModel
string vehicleModel()
vehicleVehicleType
string vehicleVehicleType()
vehicleVin
string vehicleVin()
wordAdjective
string wordAdjective()
wordAdverb
string wordAdverb()
wordConjunction
string wordConjunction()
wordInterjection
string wordInterjection()
wordNoun
string wordNoun()
wordPreposition
string wordPreposition()
wordVerb
string wordVerb()

Static variables

ibanData
IbanData ibanData;
Undocumented in source.

Variables

rnd
Random rnd;

Meta