diff --git a/Finance_8h_source.html b/Finance_8h_source.html
index 9b7667c20..0ebf22fcb 100644
--- a/Finance_8h_source.html
+++ b/Finance_8h_source.html
@@ -111,133 +111,110 @@
7#include "types/Country.h"
8#include "types/Precision.h"
-
+ 10namespace faker::finance
-
-
-
14 std::string_view name;
-
15 std::string_view code;
-
16 std::string_view symbol;
-
+
+
+
14 std::string_view name;
+
15 std::string_view code;
+
16 std::string_view symbol;
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
94 static std::string
amount(
double min = 0,
double max = 1000, Precision precision = Precision::TwoDp,
-
95 const std::string& symbol =
"");
-
-
97 enum class IbanCountry
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
140 static std::string
iban(std::optional<IbanCountry> country = std::nullopt);
-
-
142 enum class BicCountry
-
-
-
-
-
-
-
-
-
-
-
-
-
-
168 static std::string_view
bic(std::optional<BicCountry> country = std::nullopt);
-
-
-
-
196 static std::string
pin(
unsigned length = 4);
-
-
-
-
209 enum class CreditCardType
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-static std::string pin(unsigned length=4)
-static std::string accountNumber(unsigned length=8)
-static std::string_view creditCardType()
-static std::string creditCardExpirationDate()
-static std::string litecoinAddress()
-static std::string iban(std::optional< IbanCountry > country=std::nullopt)
-static std::string_view currencySymbol()
Returns a random currency symbol.
-static std::string routingNumber()
-static std::string creditCardCvv()
-static Currency currency()
Returns a random currency.
-static std::string_view bic(std::optional< BicCountry > country=std::nullopt)
-static std::string ethereumAddress()
-static std::string bitcoinAddress()
-static std::string_view currencyCode()
Returns a random currency code.
-static std::string creditCardNumber(std::optional< CreditCardType > creditCardType=std::nullopt)
-static std::string_view accountType()
Returns a random account type.
-static std::string_view currencyName()
Returns a random currency name.
-static std::string amount(double min=0, double max=1000, Precision precision=Precision::TwoDp, const std::string &symbol="")
Generates a random amount between the given bounds (inclusive).
-
+
+
+
+ 40 std::string_view currencyName();
+
+ 51 std::string_view currencyCode();
+
+ 62 std::string_view currencySymbol();
+
+ 73 std::string_view accountType();
+
+ 92 std::string amount(
double min = 0,
double max = 1000, Precision precision = Precision::TwoDp,
+ 93 const std::string& symbol =
"");
+
+ 95 enum class IbanCountry
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 138 std::string iban(std::optional<IbanCountry> country = std::nullopt);
+
+ 140 enum class BicCountry
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 166 std::string_view bic(std::optional<BicCountry> country = std::nullopt);
+
+ 180 std::string accountNumber(
unsigned length = 8);
+
+ 194 std::string pin(
unsigned length = 4);
+
+ 205 std::string routingNumber();
+
+ 207 enum class CreditCardType
+
+
+
+
+
+
+
+ 226 std::string creditCardNumber(std::optional<CreditCardType> creditCardType = std::nullopt);
+
+ 237 std::string creditCardCvv();
+
+ 248 std::string bitcoinAddress();
+
+ 259 std::string litecoinAddress();
+
+ 270 std::string ethereumAddress();
+
+ 281 std::string creditCardExpirationDate();
+
+ 292 std::string_view creditCardType();
+
+
+
diff --git a/annotated.html b/annotated.html
index 90967e28c..36a0ba7e9 100644
--- a/annotated.html
+++ b/annotated.html
@@ -110,25 +110,25 @@
CAirplane | |
CAirport | |
CRange | |
- ▼Ngit | |
- CAuthor | |
- ▼Ninternet | |
- CPasswordOptions | |
- ▼Nsystem | |
- CCronOptions | |
- CFileOptions | |
- CNetworkInterfaceOptions | |
- CCharCount | |
- CCurrency | |
- CFinance | |
- ▼CHelper | |
- CWeightedElement | |
- CPerson | |
- CRandomGenerator | |
- ▼CScience | |
- CChemicalElement | |
- CUnit | |
- CString | |
+ ▼Nfinance | |
+ CCurrency | |
+ ▼Ngit | |
+ CAuthor | |
+ ▼Ninternet | |
+ CPasswordOptions | |
+ ▼Nsystem | |
+ CCronOptions | |
+ CFileOptions | |
+ CNetworkInterfaceOptions | |
+ CCharCount | |
+ ▼CHelper | |
+ CWeightedElement | |
+ CPerson | |
+ CRandomGenerator | |
+ ▼CScience | |
+ CChemicalElement | |
+ CUnit | |
+ CString | |
diff --git a/annotated_dup.js b/annotated_dup.js
index 76c7122e5..4866208b0 100644
--- a/annotated_dup.js
+++ b/annotated_dup.js
@@ -7,6 +7,9 @@ var annotated_dup =
[ "Airport", "structfaker_1_1airline_1_1Airport.html", null ],
[ "Range", "structfaker_1_1airline_1_1Range.html", null ]
] ],
+ [ "finance", null, [
+ [ "Currency", "structfaker_1_1finance_1_1Currency.html", null ]
+ ] ],
[ "git", null, [
[ "Author", "structfaker_1_1git_1_1Author.html", null ]
] ],
@@ -19,8 +22,6 @@ var annotated_dup =
[ "NetworkInterfaceOptions", "structfaker_1_1system_1_1NetworkInterfaceOptions.html", null ]
] ],
[ "CharCount", "structfaker_1_1CharCount.html", null ],
- [ "Currency", "structfaker_1_1Currency.html", null ],
- [ "Finance", "classfaker_1_1Finance.html", null ],
[ "Helper", "classfaker_1_1Helper.html", "classfaker_1_1Helper" ],
[ "Person", "classfaker_1_1Person.html", null ],
[ "RandomGenerator", "classfaker_1_1RandomGenerator.html", null ],
diff --git a/classes.html b/classes.html
index e57942767..1fac67b0c 100644
--- a/classes.html
+++ b/classes.html
@@ -109,10 +109,10 @@
AirlineInfo (faker::airline)Airplane (faker::airline)Airport (faker::airline)Author (faker::git)
- C
-- CharCount (faker)
- Science::ChemicalElement (faker)
- CronOptions (faker::system)
- Currency (faker)
+CharCount (faker)Science::ChemicalElement (faker)CronOptions (faker::system)Currency (faker::finance)
- F
-- FileOptions (faker::system)
- Finance (faker)
+FileOptions (faker::system)
- H
- Helper (faker)
diff --git a/classfaker_1_1Finance-members.html b/classfaker_1_1Finance-members.html
deleted file mode 100644
index 0c5806e84..000000000
--- a/classfaker_1_1Finance-members.html
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
-
-
-Faker C++: Member List
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
- Faker C++
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
-
-
-
-
-
This is the complete list of members for faker::Finance, including all inherited members.
-
-
-
-
-
-
diff --git a/classfaker_1_1Finance.html b/classfaker_1_1Finance.html
deleted file mode 100644
index 403ae0ebe..000000000
--- a/classfaker_1_1Finance.html
+++ /dev/null
@@ -1,818 +0,0 @@
-
-
-
-
-
-
-
-Faker C++: faker::Finance Class Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
-
- Faker C++
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
-
-
-
-
- |
-enum class | IbanCountry {
- Austria
-, Belgium
-, Bulgaria
-, Croatia
-,
- Cyprus
-, Czechia
-, Denmark
-, Estonia
-,
- Finland
-, France
-, Germany
-, Greece
-,
- Hungary
-, Ireland
-, Italy
-, Latvia
-,
- Lithuania
-, Luxembourg
-, Malta
-, Netherlands
-,
- Poland
-, Portugal
-, Romania
-, Slovakia
-,
- Slovenia
-, Spain
-, Sweden
-
- } |
- |
-enum class | BicCountry {
- France
-, Germany
-, India
-, Italy
-,
- Netherlands
-, Poland
-, Romania
-, Spain
-,
- UnitedKingdom
-, UnitedStates
-
- } |
- |
-enum class | CreditCardType { AmericanExpress
-, Discover
-, MasterCard
-, Visa
- } |
- |
-
- |
-static Currency | currency () |
- | Returns a random currency.
|
- |
-static std::string_view | currencyName () |
- | Returns a random currency name.
|
- |
-static std::string_view | currencyCode () |
- | Returns a random currency code.
|
- |
-static std::string_view | currencySymbol () |
- | Returns a random currency symbol.
|
- |
-static std::string_view | accountType () |
- | Returns a random account type.
|
- |
-static std::string | amount (double min=0, double max=1000, Precision precision=Precision::TwoDp, const std::string &symbol="") |
- | Generates a random amount between the given bounds (inclusive).
|
- |
-static std::string | iban (std::optional< IbanCountry > country=std::nullopt) |
- |
-static std::string_view | bic (std::optional< BicCountry > country=std::nullopt) |
- |
-static std::string | accountNumber (unsigned length=8) |
- |
-static std::string | pin (unsigned length=4) |
- |
-static std::string | routingNumber () |
- |
-static std::string | creditCardNumber (std::optional< CreditCardType > creditCardType=std::nullopt) |
- |
-static std::string | creditCardCvv () |
- |
-static std::string | bitcoinAddress () |
- |
-static std::string | litecoinAddress () |
- |
-static std::string | ethereumAddress () |
- |
-static std::string | creditCardExpirationDate () |
- |
-static std::string_view | creditCardType () |
- |
-
-
-
-
◆ accountNumber()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::accountNumber |
- ( |
- unsigned | length = 8 | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random account number.
-
- Parameters
-
-
- length | The length of the account number. Defaults to `8`. |
-
-
-
-
- Returns
- Account number.
-
-
-
-
static std::string accountNumber(unsigned length=8)
-
-
-
-
-
◆ accountType()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::accountType |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
-
Returns a random account type.
-
- Returns
- Account type.
-
-
static std::string_view accountType()
Returns a random account type.
-
-
-
-
-
◆ amount()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::amount |
- ( |
- double | min = 0, |
-
-
- |
- |
- double | max = 1000, |
-
-
- |
- |
- Precision | precision = Precision::TwoDp, |
-
-
- |
- |
- const std::string & | symbol = "" ) |
-
-
- |
-
-static |
-
-
-
-
-
Generates a random amount between the given bounds (inclusive).
-
- Parameters
-
-
- min | The lower bound for the amount. Defaults to `0`. |
- max | The upper bound for the amount. Defaults to `1000`. |
- precision | The number of decimal points of precision for the amount. Defaults to `PrecisionTwoDp`. |
- symbol | The symbol used to prefix the amount. Defaults to `""`. |
-
-
-
-
- Returns
- Amount of money as string.
-
-
-
-
-
static std::string amount(double min=0, double max=1000, Precision precision=Precision::TwoDp, const std::string &symbol="")
Generates a random amount between the given bounds (inclusive).
-
-
-
-
-
◆ bic()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::bic |
- ( |
- std::optional< BicCountry > | country = std::nullopt | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random bic.
-
- Parameters
-
-
- country | The country from which you want to generate a BIC, if none is provided a random country will be used. |
-
-
-
-
- Returns
- BIC.
-
-
static std::string_view bic(std::optional< BicCountry > country=std::nullopt)
-
-
-
-
-
◆ bitcoinAddress()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::bitcoinAddress |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random bitcoin address.
-
- Returns
- Bitcoin address.
-
-
static std::string bitcoinAddress()
-
-
-
-
-
◆ creditCardCvv()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::creditCardCvv |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random credit card CVV.
-
- Returns
- Credit card CVV.
-
-
static std::string creditCardCvv()
-
-
-
-
-
◆ creditCardExpirationDate()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::creditCardExpirationDate |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random expiration date.
-
- Returns
- std::string date.
-
-
static std::string creditCardExpirationDate()
-
-
-
-
-
◆ creditCardNumber()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::creditCardNumber |
- ( |
- std::optional< CreditCardType > | creditCardType = std::nullopt | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random credit card number.
-
- Parameters
-
-
- creditCardType | The type of the credit card. |
-
-
-
-
- Returns
- Credit card number.
-
-
static std::string creditCardNumber(std::optional< CreditCardType > creditCardType=std::nullopt)
-
-
-
-
-
◆ creditCardType()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::creditCardType |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random credit card type.
-
- Returns
- std::string creditCardType.
-
-
static std::string_view creditCardType()
-
-
-
-
-
◆ currency()
-
-
-
-
-
-
-
-
- static Currency faker::Finance::currency |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
-
Returns a random currency.
-
- Returns
- Currency.
-
-
static Currency currency()
Returns a random currency.
-
-
-
-
-
◆ currencyCode()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::currencyCode |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
-
Returns a random currency code.
-
- Returns
- Code of the currency.
-
-
static std::string_view currencyCode()
Returns a random currency code.
-
-
-
-
-
◆ currencyName()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::currencyName |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
-
Returns a random currency name.
-
- Returns
- Name of the currency.
-
-
static std::string_view currencyName()
Returns a random currency name.
-
-
-
-
-
◆ currencySymbol()
-
-
-
-
-
-
-
-
- static std::string_view faker::Finance::currencySymbol |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
-
Returns a random currency symbol.
-
- Returns
- Symbol of the currency.
-
-
static std::string_view currencySymbol()
Returns a random currency symbol.
-
-
-
-
-
◆ ethereumAddress()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::ethereumAddress |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random ethereum address.
-
- Returns
- Ethereum address.
-
-
static std::string ethereumAddress()
-
-
-
-
-
◆ iban()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::iban |
- ( |
- std::optional< IbanCountry > | country = std::nullopt | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random iban.
-
- Parameters
-
-
- country | The country from which you want to generate an IBAN, if none is provided a random country will be used. |
-
-
-
-
- Returns
- IBAN.
-
-
static std::string iban(std::optional< IbanCountry > country=std::nullopt)
-
-
-
-
-
◆ litecoinAddress()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::litecoinAddress |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random litecoin address.
-
- Returns
- Litecoin address.
-
-
static std::string litecoinAddress()
-
-
-
-
-
◆ pin()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::pin |
- ( |
- unsigned | length = 4 | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random PIN number.
-
- Parameters
-
-
- length | The length of the PIN to generate. Defaults to `4`. |
-
-
-
-
- Returns
- PIN number.
-
-
-
static std::string pin(unsigned length=4)
-
-
-
-
-
◆ routingNumber()
-
-
-
-
-
-
-
-
- static std::string faker::Finance::routingNumber |
- ( |
- | ) |
- |
-
-
- |
-
-static |
-
-
-
-
Generates a random routing number.
-
- Returns
- Routing number.
-
-
static std::string routingNumber()
-
-
-
-
The documentation for this class was generated from the following file:
-
-
-
-
-
-
diff --git a/doxygen_crawl.html b/doxygen_crawl.html
index ca210be72..1d9ffc432 100644
--- a/doxygen_crawl.html
+++ b/doxygen_crawl.html
@@ -47,10 +47,6 @@
-
-
-
-
@@ -75,6 +71,8 @@
+
+
@@ -110,10 +108,6 @@
-
-
-
-
@@ -172,25 +166,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -258,7 +233,6 @@
-
@@ -266,6 +240,7 @@
+
diff --git a/functions.html b/functions.html
index 9eb021db5..dd7da6325 100644
--- a/functions.html
+++ b/functions.html
@@ -102,34 +102,21 @@
Here is a list of all documented class members with links to the class documentation for each member:
- a -
- b -
- c -
@@ -139,11 +126,6 @@ - d -
-- e -
-
-
- f -