From c415ddf88819fdb942f9ca9e48aade5a80140917 Mon Sep 17 00:00:00 2001 From: cieslarmichal Date: Fri, 12 Jan 2024 09:15:44 +0000 Subject: [PATCH] deploy: a3194642418f0549e9a32e1af10425be6f27295b --- Location_8h_source.html | 35 ++++++++++++---------- classfaker_1_1Location-members.html | 19 ++++++------ classfaker_1_1Location.html | 45 +++++++++++++++++++++++++++-- functions_c.html | 1 + functions_func_c.html | 1 + search/all_2.js | 33 +++++++++++---------- search/functions_2.js | 29 ++++++++++--------- 7 files changed, 105 insertions(+), 58 deletions(-) diff --git a/Location_8h_source.html b/Location_8h_source.html index 9aaf35f1b..2497cf1da 100644 --- a/Location_8h_source.html +++ b/Location_8h_source.html @@ -122,32 +122,35 @@
34
46 static std::string state(AddressCountry country = AddressCountry::Usa);
47
-
59 static std::string city(AddressCountry country = AddressCountry::Usa);
+
59 static std::string county(AddressCountry country = AddressCountry::Usa);
60
-
73 static std::string zipCode(AddressCountry country = AddressCountry::Usa);
-
74
-
86 static std::string streetAddress(AddressCountry country = AddressCountry::Usa);
+
72 static std::string city(AddressCountry country = AddressCountry::Usa);
+
73
+
86 static std::string zipCode(AddressCountry country = AddressCountry::Usa);
87
-
99 static std::string street(AddressCountry country = AddressCountry::Usa);
+
99 static std::string streetAddress(AddressCountry country = AddressCountry::Usa);
100
-
112 static std::string buildingNumber(AddressCountry country = AddressCountry::Usa);
+
112 static std::string street(AddressCountry country = AddressCountry::Usa);
113
-
126 static std::string secondaryAddress(AddressCountry country = AddressCountry::Usa);
-
127
-
139 static std::string latitude(Precision precision = Precision::FourDp);
+
125 static std::string buildingNumber(AddressCountry country = AddressCountry::Usa);
+
126
+
139 static std::string secondaryAddress(AddressCountry country = AddressCountry::Usa);
140
-
152 static std::string longitude(Precision precision = Precision::FourDp);
+
152 static std::string latitude(Precision precision = Precision::FourDp);
153
-
163 static std::string direction();
-
164
-
174 static std::string timeZone();
-
175};
+
165 static std::string longitude(Precision precision = Precision::FourDp);
+
166
+
176 static std::string direction();
+
177
+
187 static std::string timeZone();
+
188};
-
176}
+
189}
Definition Location.h:11
static std::string longitude(Precision precision=Precision::FourDp)
Generates a random longitude.
+
static std::string county(AddressCountry country=AddressCountry::Usa)
Returns a random county for a given country.
static std::string city(AddressCountry country=AddressCountry::Usa)
Returns a random city for given country.
-
static std::string state(AddressCountry country=AddressCountry::Usa)
Returns a random state for a given country..
+
static std::string state(AddressCountry country=AddressCountry::Usa)
Returns a random state for a given country.
static std::string secondaryAddress(AddressCountry country=AddressCountry::Usa)
Returns a random secondary address number for given country. This refers to a specific location at a ...
static std::string zipCode(AddressCountry country=AddressCountry::Usa)
Returns a random zip code for given country.
static std::string countryCode()
Returns a random country code.
diff --git a/classfaker_1_1Location-members.html b/classfaker_1_1Location-members.html index 9e178a6ba..b6db2b0ce 100644 --- a/classfaker_1_1Location-members.html +++ b/classfaker_1_1Location-members.html @@ -105,15 +105,16 @@ city(AddressCountry country=AddressCountry::Usa)faker::Locationstatic country()faker::Locationstatic countryCode()faker::Locationstatic - direction()faker::Locationstatic - latitude(Precision precision=Precision::FourDp)faker::Locationstatic - longitude(Precision precision=Precision::FourDp)faker::Locationstatic - secondaryAddress(AddressCountry country=AddressCountry::Usa)faker::Locationstatic - state(AddressCountry country=AddressCountry::Usa)faker::Locationstatic - street(AddressCountry country=AddressCountry::Usa)faker::Locationstatic - streetAddress(AddressCountry country=AddressCountry::Usa)faker::Locationstatic - timeZone()faker::Locationstatic - zipCode(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + county(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + direction()faker::Locationstatic + latitude(Precision precision=Precision::FourDp)faker::Locationstatic + longitude(Precision precision=Precision::FourDp)faker::Locationstatic + secondaryAddress(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + state(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + street(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + streetAddress(AddressCountry country=AddressCountry::Usa)faker::Locationstatic + timeZone()faker::Locationstatic + zipCode(AddressCountry country=AddressCountry::Usa)faker::Locationstatic diff --git a/classfaker_1_1Location.html b/classfaker_1_1Location.html index be7e1de69..d03888865 100644 --- a/classfaker_1_1Location.html +++ b/classfaker_1_1Location.html @@ -111,8 +111,11 @@  Returns a random country code.
  static std::string state (AddressCountry country=AddressCountry::Usa) - Returns a random state for a given country..
+ Returns a random state for a given country.
  +static std::string county (AddressCountry country=AddressCountry::Usa) + Returns a random county for a given country.
+  static std::string city (AddressCountry country=AddressCountry::Usa)  Returns a random city for given country.
  @@ -277,6 +280,42 @@

+

◆ county()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Location::county (AddressCountry country = AddressCountry::Usa)
+
+static
+
+ +

Returns a random county for a given country.

+
Parameters
+ + +
countryThe country to generate county from. Defaults to `Country::Usa`.
+
+
+
Returns
County.
+
Location::county() // "Adams County"
+
static std::string county(AddressCountry country=AddressCountry::Usa)
Returns a random county for a given country.
+
+
+

◆ direction()

@@ -438,7 +477,7 @@

-

Returns a random state for a given country..

+

Returns a random state for a given country.

Parameters
@@ -447,7 +486,7 @@

Returns
State.
Location::state() // "Arizona"
-
static std::string state(AddressCountry country=AddressCountry::Usa)
Returns a random state for a given country..
+
static std::string state(AddressCountry country=AddressCountry::Usa)
Returns a random state for a given country.
diff --git a/functions_c.html b/functions_c.html index 9717869ad..761e18e51 100644 --- a/functions_c.html +++ b/functions_c.html @@ -125,6 +125,7 @@

- c -

  • conjunction() : faker::Word
  • country() : faker::Location
  • countryCode() : faker::Location
  • +
  • county() : faker::Location
  • cow() : faker::Animal
  • cpuManufacture() : faker::Computer
  • cpuModel() : faker::Computer
  • diff --git a/functions_func_c.html b/functions_func_c.html index a96c2f4f8..5afb387b6 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -125,6 +125,7 @@

    - c -

    • conjunction() : faker::Word
    • country() : faker::Location
    • countryCode() : faker::Location
    • +
    • county() : faker::Location
    • cow() : faker::Animal
    • cpuManufacture() : faker::Computer
    • cpuModel() : faker::Computer
    • diff --git a/search/all_2.js b/search/all_2.js index f1e110423..6619cb1e3 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -33,20 +33,21 @@ var searchData= ['conjunction_30',['conjunction',['../classfaker_1_1Word.html#a8a196cfe1c2aa792d79ae394d0ba9c36',1,'faker::Word']]], ['country_31',['country',['../classfaker_1_1Location.html#aeccb6f1381edcf063010684db6c47f66',1,'faker::Location']]], ['countrycode_32',['countryCode',['../classfaker_1_1Location.html#a8ea095c82bb74e805c4c24a8dfccc5cf',1,'faker::Location']]], - ['cow_33',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], - ['cpumanufacture_34',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], - ['cpumodel_35',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], - ['cputype_36',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], - ['creditcardcvv_37',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], - ['creditcardnumber_38',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], - ['crocodilia_39',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], - ['cron_40',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], - ['cronoptions_41',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], - ['crypto_42',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]], - ['csv_43',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], - ['currency_44',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], - ['currencycode_45',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], - ['currencyname_46',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], - ['currencysymbol_47',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], - ['currentunit_48',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] + ['county_33',['county',['../classfaker_1_1Location.html#a3df16f37cc59c77606ffcec78de3d15e',1,'faker::Location']]], + ['cow_34',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], + ['cpumanufacture_35',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], + ['cpumodel_36',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], + ['cputype_37',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], + ['creditcardcvv_38',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], + ['creditcardnumber_39',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], + ['crocodilia_40',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], + ['cron_41',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], + ['cronoptions_42',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], + ['crypto_43',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]], + ['csv_44',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], + ['currency_45',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], + ['currencycode_46',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], + ['currencyname_47',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], + ['currencysymbol_48',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], + ['currentunit_49',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js index 5e4c25483..6aad51d52 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -27,18 +27,19 @@ var searchData= ['conjunction_24',['conjunction',['../classfaker_1_1Word.html#a8a196cfe1c2aa792d79ae394d0ba9c36',1,'faker::Word']]], ['country_25',['country',['../classfaker_1_1Location.html#aeccb6f1381edcf063010684db6c47f66',1,'faker::Location']]], ['countrycode_26',['countryCode',['../classfaker_1_1Location.html#a8ea095c82bb74e805c4c24a8dfccc5cf',1,'faker::Location']]], - ['cow_27',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], - ['cpumanufacture_28',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], - ['cpumodel_29',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], - ['cputype_30',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], - ['creditcardcvv_31',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], - ['creditcardnumber_32',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], - ['crocodilia_33',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], - ['cron_34',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], - ['csv_35',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], - ['currency_36',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], - ['currencycode_37',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], - ['currencyname_38',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], - ['currencysymbol_39',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], - ['currentunit_40',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] + ['county_27',['county',['../classfaker_1_1Location.html#a3df16f37cc59c77606ffcec78de3d15e',1,'faker::Location']]], + ['cow_28',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], + ['cpumanufacture_29',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], + ['cpumodel_30',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], + ['cputype_31',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], + ['creditcardcvv_32',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], + ['creditcardnumber_33',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], + ['crocodilia_34',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], + ['cron_35',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], + ['csv_36',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], + ['currency_37',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], + ['currencycode_38',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], + ['currencyname_39',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], + ['currencysymbol_40',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], + ['currentunit_41',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] ];

countryThe country to generate state from. Defaults to `Country::Usa`.