From a3ed1f4ac3174a69419d6cada35ad4c90374cce3 Mon Sep 17 00:00:00 2001 From: cieslarmichal Date: Sat, 12 Oct 2024 10:20:18 +0000 Subject: [PATCH] deploy: 6fe007e96115c32c92e62698936dd1873dbbb813 --- doxygen_crawl.html | 10 ++-- namespacefaker_1_1string.html | 63 +++++++------------------ namespacefaker_1_1string.js | 5 +- namespacemembers_func_i.html | 2 +- namespacemembers_func_s.html | 2 +- namespacemembers_i.html | 2 +- namespacemembers_s.html | 2 +- navtreedata.js | 4 +- navtreeindex3.js | 10 ++-- navtreeindex4.js | 4 +- navtreeindex5.js | 12 ++--- navtreeindex6.js | 2 - search/all_12.js | 2 +- search/all_8.js | 2 +- search/functions_10.js | 2 +- search/functions_8.js | 2 +- string_8h.html | 15 +++--- string_8h.js | 5 +- string_8h_source.html | 58 +++++++++++------------ structfaker_1_1string_1_1CharCount.html | 8 ++-- 20 files changed, 85 insertions(+), 127 deletions(-) diff --git a/doxygen_crawl.html b/doxygen_crawl.html index 3ddc3fb90..70ed07bef 100644 --- a/doxygen_crawl.html +++ b/doxygen_crawl.html @@ -1133,7 +1133,7 @@ - + @@ -1146,8 +1146,7 @@ - - + @@ -1553,7 +1552,7 @@ - + @@ -1566,8 +1565,7 @@ - - + diff --git a/namespacefaker_1_1string.html b/namespacefaker_1_1string.html index 3abea315f..dab09e94b 100644 --- a/namespacefaker_1_1string.html +++ b/namespacefaker_1_1string.html @@ -128,9 +128,9 @@ - - - + + + @@ -144,12 +144,9 @@ - - - - - - + + + @@ -489,8 +486,8 @@

-

◆ isValidGuarantee()

+ +

◆ isValidGuarantee()

@@ -508,7 +505,7 @@

- +

Functions

FAKER_CXX_EXPORT bool isValidGuarantee (GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned int length)
 Checks if the given guarantee map is valid for given targetCharacters and length.
 
FAKER_CXX_EXPORT bool isValidGuarantee (GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned length)
 Checks if the given guarantee map is valid for given targetCharacters and length.
 
FAKER_CXX_EXPORT std::string generateAtLeastString (const GuaranteeMap &guarantee)
 Generates the least required string for a given guarantee map.
 
FAKER_CXX_EXPORT std::string sample (GuaranteeMap &&guarantee, unsigned length=10)
 Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
 
FAKER_CXX_EXPORT std::string symbol (unsigned length=10)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string symbol (unsigned int minLength, unsigned int maxLength)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string symbol (unsigned minLength=1, unsigned maxLength=10)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string fromCharacters (const std::string &characters, unsigned length=1)
 Generates a string consisting of given characters.
 
unsigned int length )unsigned length )
@@ -526,8 +523,8 @@

GuaranteeMap guarantee = {{'0',{5,10}},{'1',{6,10}}};
std::string targetCharacters = "01";
unsigned int length = 10;
-
faker::string::isValidGuarantee(guarantee,targetCharacters,length) // false
-
FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned int length)
Checks if the given guarantee map is valid for given targetCharacters and length.
+
faker::string::isValidGuarantee(guarantee,targetCharacters,length) // false
+
FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned length)
Checks if the given guarantee map is valid for given targetCharacters and length.

@@ -668,8 +665,8 @@

-

◆ symbol() [1/2]

+ +

◆ symbol()

@@ -690,7 +687,7 @@

Parameters
- +
minlengthThe number of minimum characters to generate. Defaults to `1`.
minLengthThe number of minimum characters to generate. Defaults to `1`.
maxLengthThe number of maximum characters to generate. Defaults to `10`.
@@ -701,34 +698,6 @@

-

◆ symbol() [2/2]

- -
-
- - - - - - - -
FAKER_CXX_EXPORT std::string faker::string::symbol (unsigned length = 10)
-
- -

Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".

-
Parameters
- - -
lengthThe number of characters to generate. Defaults to `10`.
-
-
-
Returns
Sample string.
-
faker::string::sample() // "#$%^&#$%^&"
-
faker::string::sample(5) // "#$%^&"
-
-
-

◆ uuid()

diff --git a/namespacefaker_1_1string.js b/namespacefaker_1_1string.js index abb34bc1c..3311e580c 100644 --- a/namespacefaker_1_1string.js +++ b/namespacefaker_1_1string.js @@ -14,12 +14,11 @@ var namespacefaker_1_1string = [ "fromCharacters", "namespacefaker_1_1string.html#ac54da67b0fb85a3dcd6b970e286bcd1c", null ], [ "fromCharacters", "namespacefaker_1_1string.html#a609843a4fde8ddb1d6304b25916858e6", null ], [ "generateAtLeastString", "namespacefaker_1_1string.html#a5f7f456ce960ac5d9407c805144b3943", null ], - [ "isValidGuarantee", "namespacefaker_1_1string.html#a2b72fcb64a3202113769a90cf922b140", null ], + [ "isValidGuarantee", "namespacefaker_1_1string.html#ab4bf69cbc483ce603dfe6bd89da38887", null ], [ "numeric", "namespacefaker_1_1string.html#a6b7e02197a0cec823f7b051c7234865b", null ], [ "numeric", "namespacefaker_1_1string.html#a646c3109166518bfa5bcf5c2f5de98ef", null ], [ "sample", "namespacefaker_1_1string.html#a6613ccca522a49631ed49c7d93c32e85", null ], [ "sample", "namespacefaker_1_1string.html#a34013d255a8eaf4c2afab2090c15cb8d", null ], - [ "symbol", "namespacefaker_1_1string.html#aa67e7ba8c9fc02e69036c87a73c31e7a", null ], - [ "symbol", "namespacefaker_1_1string.html#aa99c783a57a5d818de12f13510fe9a72", null ], + [ "symbol", "namespacefaker_1_1string.html#a329b6a478487c87eadb19b1f78292264", null ], [ "uuid", "namespacefaker_1_1string.html#a335d7aad191429aa88bed20818881d95", null ] ]; \ No newline at end of file diff --git a/namespacemembers_func_i.html b/namespacemembers_func_i.html index 6b95ba622..e17fa2761 100644 --- a/namespacemembers_func_i.html +++ b/namespacemembers_func_i.html @@ -113,7 +113,7 @@

- i -

diff --git a/namespacemembers_func_s.html b/namespacemembers_func_s.html index 354e15f40..7e6613d46 100644 --- a/namespacemembers_func_s.html +++ b/namespacemembers_func_s.html @@ -134,7 +134,7 @@

- s -

diff --git a/namespacemembers_i.html b/namespacemembers_i.html index 1d71304dd..b584cb4e0 100644 --- a/namespacemembers_i.html +++ b/namespacemembers_i.html @@ -114,7 +114,7 @@

- i -

diff --git a/namespacemembers_s.html b/namespacemembers_s.html index 3f949a7b3..c3db63edf 100644 --- a/namespacemembers_s.html +++ b/namespacemembers_s.html @@ -136,7 +136,7 @@

- s -

diff --git a/navtreedata.js b/navtreedata.js index 5d7ee36b2..df21fb68b 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -57,8 +57,8 @@ var NAVTREEINDEX = "namespacefaker_1_1finance.html#afa74fcebfd397842d3beb0b18620ec39", "namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aa5ab690f00e63ae31852cb5b353160949", "namespacemembers_func.html", -"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab0aa0804e676a38255af4fd70236af7c", -"video__game_8h_source.html" +"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab30590449236426f85c33d8dbfec3501", +"weather_8h.html#ad5e26b9b6328feeb6e22d64381940199" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex3.js b/navtreeindex3.js index d35629745..0bd7a3eb4 100644 --- a/navtreeindex3.js +++ b/navtreeindex3.js @@ -169,8 +169,8 @@ var NAVTREEINDEX3 = "namespacefaker_1_1string.html":[0,0,0,29], "namespacefaker_1_1string.html#a0f34587fb525159e53e01829edbe81cd":[0,0,0,29,5], "namespacefaker_1_1string.html#a271ae1a89baf97693b8181f7e88975db":[0,0,0,29,3], -"namespacefaker_1_1string.html#a2b72fcb64a3202113769a90cf922b140":[0,0,0,29,10], -"namespacefaker_1_1string.html#a335d7aad191429aa88bed20818881d95":[0,0,0,29,17], +"namespacefaker_1_1string.html#a329b6a478487c87eadb19b1f78292264":[0,0,0,29,15], +"namespacefaker_1_1string.html#a335d7aad191429aa88bed20818881d95":[0,0,0,29,16], "namespacefaker_1_1string.html#a34013d255a8eaf4c2afab2090c15cb8d":[0,0,0,29,14], "namespacefaker_1_1string.html#a5b7a1d4a3ebb389e224c7bfc534d7cda":[0,0,0,29,2], "namespacefaker_1_1string.html#a5b7a1d4a3ebb389e224c7bfc534d7cdaa19de5b94f7b83900d4b296d9fa491aec":[0,0,0,29,2,2], @@ -182,8 +182,7 @@ var NAVTREEINDEX3 = "namespacefaker_1_1string.html#a6613ccca522a49631ed49c7d93c32e85":[0,0,0,29,13], "namespacefaker_1_1string.html#a66f88f14a90528cdf5683a55a9d4a280":[0,0,0,29,6], "namespacefaker_1_1string.html#a6b7e02197a0cec823f7b051c7234865b":[0,0,0,29,11], -"namespacefaker_1_1string.html#aa67e7ba8c9fc02e69036c87a73c31e7a":[0,0,0,29,15], -"namespacefaker_1_1string.html#aa99c783a57a5d818de12f13510fe9a72":[0,0,0,29,16], +"namespacefaker_1_1string.html#ab4bf69cbc483ce603dfe6bd89da38887":[0,0,0,29,10], "namespacefaker_1_1string.html#abf5e1f4e277703148d5ab06e6a0bfeda":[0,0,0,29,4], "namespacefaker_1_1string.html#ac54da67b0fb85a3dcd6b970e286bcd1c":[0,0,0,29,7], "namespacefaker_1_1string.html#ae0a533af930e38eee4c35054705ee180":[0,0,0,29,1], @@ -249,5 +248,6 @@ var NAVTREEINDEX3 = "namespacemembers_d.html":[0,1,0,3], "namespacemembers_e.html":[0,1,0,4], "namespacemembers_enum.html":[0,1,3], -"namespacemembers_f.html":[0,1,0,5] +"namespacemembers_f.html":[0,1,0,5], +"namespacemembers_func.html":[0,1,1] }; diff --git a/navtreeindex4.js b/navtreeindex4.js index f4676d2bd..19e0ab77d 100644 --- a/navtreeindex4.js +++ b/navtreeindex4.js @@ -1,6 +1,5 @@ var NAVTREEINDEX4 = { -"namespacemembers_func.html":[0,1,1], "namespacemembers_func.html":[0,1,1,0], "namespacemembers_func_b.html":[0,1,1,1], "namespacemembers_func_c.html":[0,1,1,2], @@ -249,5 +248,6 @@ var NAVTREEINDEX4 = "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aaa97709e3f0e28497a746d36b67c9fc77":[3,0,0,0,27,0,169], "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aaab2a384f6b7c12a5a4ae319d488c8b63":[3,0,0,0,27,0,57], "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aaae54a5c026f31ada088992587d92cb3a":[3,0,0,0,27,0,42], -"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab0595cb10912e30a71fec3d8c58d4011":[3,0,0,0,27,0,193] +"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab0595cb10912e30a71fec3d8c58d4011":[3,0,0,0,27,0,193], +"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab0aa0804e676a38255af4fd70236af7c":[3,0,0,0,27,0,228] }; diff --git a/navtreeindex5.js b/navtreeindex5.js index bd3e129bb..fb3f166df 100644 --- a/navtreeindex5.js +++ b/navtreeindex5.js @@ -1,6 +1,5 @@ var NAVTREEINDEX5 = { -"phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab0aa0804e676a38255af4fd70236af7c":[3,0,0,0,27,0,228], "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab30590449236426f85c33d8dbfec3501":[3,0,0,0,27,0,199], "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab45ff92cc522bb89bfc3b8ef3fc21b7d":[3,0,0,0,27,0,110], "phone_8h.html#af67e35b39f2987b4ed513541c7425a0aab5a9722262bbb7a7449ebc0f4394c901":[3,0,0,0,27,0,201], @@ -99,8 +98,8 @@ var NAVTREEINDEX5 = "string_8h.html":[3,0,0,0,32], "string_8h.html#a0f34587fb525159e53e01829edbe81cd":[3,0,0,0,32,5], "string_8h.html#a271ae1a89baf97693b8181f7e88975db":[3,0,0,0,32,3], -"string_8h.html#a2b72fcb64a3202113769a90cf922b140":[3,0,0,0,32,10], -"string_8h.html#a335d7aad191429aa88bed20818881d95":[3,0,0,0,32,17], +"string_8h.html#a329b6a478487c87eadb19b1f78292264":[3,0,0,0,32,15], +"string_8h.html#a335d7aad191429aa88bed20818881d95":[3,0,0,0,32,16], "string_8h.html#a34013d255a8eaf4c2afab2090c15cb8d":[3,0,0,0,32,14], "string_8h.html#a5b7a1d4a3ebb389e224c7bfc534d7cda":[3,0,0,0,32,2], "string_8h.html#a5b7a1d4a3ebb389e224c7bfc534d7cdaa19de5b94f7b83900d4b296d9fa491aec":[3,0,0,0,32,2,2], @@ -112,8 +111,7 @@ var NAVTREEINDEX5 = "string_8h.html#a6613ccca522a49631ed49c7d93c32e85":[3,0,0,0,32,13], "string_8h.html#a66f88f14a90528cdf5683a55a9d4a280":[3,0,0,0,32,6], "string_8h.html#a6b7e02197a0cec823f7b051c7234865b":[3,0,0,0,32,11], -"string_8h.html#aa67e7ba8c9fc02e69036c87a73c31e7a":[3,0,0,0,32,15], -"string_8h.html#aa99c783a57a5d818de12f13510fe9a72":[3,0,0,0,32,16], +"string_8h.html#ab4bf69cbc483ce603dfe6bd89da38887":[3,0,0,0,32,10], "string_8h.html#abf5e1f4e277703148d5ab06e6a0bfeda":[3,0,0,0,32,4], "string_8h.html#ac54da67b0fb85a3dcd6b970e286bcd1c":[3,0,0,0,32,7], "string_8h.html#ae0a533af930e38eee4c35054705ee180":[3,0,0,0,32,1], @@ -249,5 +247,7 @@ var NAVTREEINDEX5 = "video__game_8h.html#a1768ee589e7e2ab3294f52691e34aab7":[3,0,0,0,36,1], "video__game_8h.html#a3c88f81c0dedea1654576cd375331f68":[3,0,0,0,36,3], "video__game_8h.html#a428b23be974b23395428dd66dc0af21a":[3,0,0,0,36,0], -"video__game_8h.html#a4b291179ffa053bb384f776b9a78fc38":[3,0,0,0,36,2] +"video__game_8h.html#a4b291179ffa053bb384f776b9a78fc38":[3,0,0,0,36,2], +"video__game_8h_source.html":[3,0,0,0,36], +"weather_8h.html":[3,0,0,0,37] }; diff --git a/navtreeindex6.js b/navtreeindex6.js index 8b0fcb25e..977cf1ec1 100644 --- a/navtreeindex6.js +++ b/navtreeindex6.js @@ -1,7 +1,5 @@ var NAVTREEINDEX6 = { -"video__game_8h_source.html":[3,0,0,0,36], -"weather_8h.html":[3,0,0,0,37], "weather_8h.html#ad5e26b9b6328feeb6e22d64381940199":[3,0,0,0,37,0], "weather_8h_source.html":[3,0,0,0,37], "word_8h.html":[3,0,0,0,38], diff --git a/search/all_12.js b/search/all_12.js index b503fbac4..bab403ce8 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -71,7 +71,7 @@ var searchData= ['sweden_68',['Sweden',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aac8f4261f9f46e6465709e17ebea7a92b',1,'faker::phone']]], ['switzerland_69',['Switzerland',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aa3ad08396dc5afa78f34f548eea3c1d64',1,'faker::phone']]], ['symbol_70',['Symbol',['../namespacefaker_1_1internet.html#ab1fd12c6089e1eb7e783223be1b73ac1a02c86eb2792f3262c21d030a87e19793',1,'faker::internet']]], - ['symbol_71',['symbol',['../structfaker_1_1finance_1_1Currency.html#a62b7b2b0c51f760b541d512dc1b258a8',1,'faker::finance::Currency::symbol'],['../structfaker_1_1science_1_1ChemicalElement.html#a28671ec7602c301da0b71c273a44db92',1,'faker::science::ChemicalElement::symbol'],['../structfaker_1_1science_1_1Unit.html#a4a6362cc36e3a09d126ab39f1b0b24a1',1,'faker::science::Unit::symbol'],['../namespacefaker_1_1string.html#aa99c783a57a5d818de12f13510fe9a72',1,'faker::string::symbol(unsigned length=10)'],['../namespacefaker_1_1string.html#aa67e7ba8c9fc02e69036c87a73c31e7a',1,'faker::string::symbol(unsigned int minLength, unsigned int maxLength)']]], + ['symbol_71',['symbol',['../structfaker_1_1finance_1_1Currency.html#a62b7b2b0c51f760b541d512dc1b258a8',1,'faker::finance::Currency::symbol'],['../structfaker_1_1science_1_1ChemicalElement.html#a28671ec7602c301da0b71c273a44db92',1,'faker::science::ChemicalElement::symbol'],['../structfaker_1_1science_1_1Unit.html#a4a6362cc36e3a09d126ab39f1b0b24a1',1,'faker::science::Unit::symbol'],['../namespacefaker_1_1string.html#a329b6a478487c87eadb19b1f78292264',1,'faker::string::symbol()']]], ['symbols_72',['symbols',['../structfaker_1_1internet_1_1PasswordOptions.html#a4be4b79a9720d1bea96a9001f9cf5d5a',1,'faker::internet::PasswordOptions']]], ['syrianarabrepublic_73',['SyrianArabRepublic',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aab30590449236426f85c33d8dbfec3501',1,'faker::phone']]], ['system_2eh_74',['system.h',['../system_8h.html',1,'']]] diff --git a/search/all_8.js b/search/all_8.js index 5958217f7..72088bd13 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -31,6 +31,6 @@ var searchData= ['isleofman_28',['IsleOfMan',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aac7ac0961f79019cd2041fee5deda8718',1,'faker::phone']]], ['iso_29',['ISO',['../namespacefaker_1_1date.html#a0a1ec9647c68eb08f4f47d162a424c5aa5b512ee8a59deb284ad0a6a035ba10b1',1,'faker::date']]], ['israel_30',['Israel',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aa5a548c2f5875f10bf5614b7c258876cf',1,'faker::phone']]], - ['isvalidguarantee_31',['isValidGuarantee',['../namespacefaker_1_1string.html#a2b72fcb64a3202113769a90cf922b140',1,'faker::string']]], + ['isvalidguarantee_31',['isValidGuarantee',['../namespacefaker_1_1string.html#ab4bf69cbc483ce603dfe6bd89da38887',1,'faker::string']]], ['italy_32',['Italy',['../namespacefaker_1_1phone.html#af67e35b39f2987b4ed513541c7425a0aa1007e1b7f894dfbf72a0eaa80f3bc57e',1,'faker::phone']]] ]; diff --git a/search/functions_10.js b/search/functions_10.js index c47765ca5..e4e640108 100644 --- a/search/functions_10.js +++ b/search/functions_10.js @@ -32,5 +32,5 @@ var searchData= ['succulent_29',['succulent',['../namespacefaker_1_1plant.html#ab21548af4b288b15d53ca1bfd37749a9',1,'faker::plant']]], ['suffix_30',['suffix',['../namespacefaker_1_1person.html#a0e2a416b654fbed4272162da9148cf75',1,'faker::person']]], ['sugarproduct_31',['sugarProduct',['../namespacefaker_1_1food.html#a3b58938e421e79f85126d4ef3b6e4280',1,'faker::food']]], - ['symbol_32',['symbol',['../namespacefaker_1_1string.html#aa99c783a57a5d818de12f13510fe9a72',1,'faker::string::symbol(unsigned length=10)'],['../namespacefaker_1_1string.html#aa67e7ba8c9fc02e69036c87a73c31e7a',1,'faker::string::symbol(unsigned int minLength, unsigned int maxLength)']]] + ['symbol_32',['symbol',['../namespacefaker_1_1string.html#a329b6a478487c87eadb19b1f78292264',1,'faker::string']]] ]; diff --git a/search/functions_8.js b/search/functions_8.js index 4d5892564..e2c11ec7a 100644 --- a/search/functions_8.js +++ b/search/functions_8.js @@ -11,5 +11,5 @@ var searchData= ['ipv6_8',['ipv6',['../namespacefaker_1_1internet.html#aa1ebac0fa8bab72b27017f6736b7c51f',1,'faker::internet']]], ['isbn10_9',['ISBN10',['../namespacefaker_1_1commerce.html#ab0f57fa4c4048bf1f650a9c01260a1dd',1,'faker::commerce']]], ['isbn13_10',['ISBN13',['../namespacefaker_1_1commerce.html#ad139ddf45f996ffb8bb46300b5c45d2a',1,'faker::commerce']]], - ['isvalidguarantee_11',['isValidGuarantee',['../namespacefaker_1_1string.html#a2b72fcb64a3202113769a90cf922b140',1,'faker::string']]] + ['isvalidguarantee_11',['isValidGuarantee',['../namespacefaker_1_1string.html#ab4bf69cbc483ce603dfe6bd89da38887',1,'faker::string']]] ]; diff --git a/string_8h.html b/string_8h.html index 90d136d2c..3a0a34524 100644 --- a/string_8h.html +++ b/string_8h.html @@ -173,9 +173,9 @@ - - - + + + @@ -189,12 +189,9 @@ - - - - - - + + + diff --git a/string_8h.js b/string_8h.js index c66cb310e..5d4ff3810 100644 --- a/string_8h.js +++ b/string_8h.js @@ -14,12 +14,11 @@ var string_8h = [ "fromCharacters", "string_8h.html#ac54da67b0fb85a3dcd6b970e286bcd1c", null ], [ "fromCharacters", "string_8h.html#a609843a4fde8ddb1d6304b25916858e6", null ], [ "generateAtLeastString", "string_8h.html#a5f7f456ce960ac5d9407c805144b3943", null ], - [ "isValidGuarantee", "string_8h.html#a2b72fcb64a3202113769a90cf922b140", null ], + [ "isValidGuarantee", "string_8h.html#ab4bf69cbc483ce603dfe6bd89da38887", null ], [ "numeric", "string_8h.html#a6b7e02197a0cec823f7b051c7234865b", null ], [ "numeric", "string_8h.html#a646c3109166518bfa5bcf5c2f5de98ef", null ], [ "sample", "string_8h.html#a6613ccca522a49631ed49c7d93c32e85", null ], [ "sample", "string_8h.html#a34013d255a8eaf4c2afab2090c15cb8d", null ], - [ "symbol", "string_8h.html#aa67e7ba8c9fc02e69036c87a73c31e7a", null ], - [ "symbol", "string_8h.html#aa99c783a57a5d818de12f13510fe9a72", null ], + [ "symbol", "string_8h.html#a329b6a478487c87eadb19b1f78292264", null ], [ "uuid", "string_8h.html#a335d7aad191429aa88bed20818881d95", null ] ]; \ No newline at end of file diff --git a/string_8h_source.html b/string_8h_source.html index e342487f2..05da3c570 100644 --- a/string_8h_source.html +++ b/string_8h_source.html @@ -129,14 +129,14 @@
22struct FAKER_CXX_EXPORT CharCount
23{
-
24 unsigned int atLeastCount{(std::numeric_limits<unsigned int>::min)()};
-
25 unsigned int atMostCount{(std::numeric_limits<unsigned int>::max)()};
+
24 unsigned int atLeastCount{(std::numeric_limits<unsigned>::min)()};
+
25 unsigned int atMostCount{(std::numeric_limits<unsigned>::max)()};
26};
27
31using GuaranteeMap = std::map<char, CharCount>;
32
-
49FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap& guarantee, std::set<char>& targetCharacters, unsigned int length);
+
49FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap& guarantee, std::set<char>& targetCharacters, unsigned length);
50
63FAKER_CXX_EXPORT std::string generateAtLeastString(const GuaranteeMap& guarantee);
64
@@ -191,35 +191,33 @@
134
148FAKER_CXX_EXPORT std::string sample(GuaranteeMap&& guarantee, unsigned length = 10);
149
-
162FAKER_CXX_EXPORT std::string symbol(unsigned length = 10);
-
163
-
177FAKER_CXX_EXPORT std::string symbol(unsigned int minLength, unsigned int maxLength);
-
178
-
192FAKER_CXX_EXPORT std::string fromCharacters(const std::string& characters, unsigned length = 1);
-
193
-
208FAKER_CXX_EXPORT std::string fromCharacters(GuaranteeMap&& guarantee, const std::string& characters,
-
209 unsigned length = 1);
-
210
-
226FAKER_CXX_EXPORT std::string alpha(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
-
227 const std::string& excludeCharacters = "");
-
228
-
244FAKER_CXX_EXPORT std::string alpha(GuaranteeMap&& guarantee, unsigned length = 1,
- -
246
-
263FAKER_CXX_EXPORT std::string alphanumeric(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
-
264 const std::string& excludeCharacters = "");
-
265
-
281FAKER_CXX_EXPORT std::string alphanumeric(GuaranteeMap&& guarantee, unsigned length = 1,
- -
283
-
298FAKER_CXX_EXPORT std::string numeric(unsigned length = 1, bool allowLeadingZeros = true);
-
299
-
315FAKER_CXX_EXPORT std::string numeric(GuaranteeMap&& guarantee, unsigned length = 1, bool allowLeadingZeros = true);
-
316}
+
163FAKER_CXX_EXPORT std::string symbol(unsigned minLength = 1, unsigned maxLength = 10);
+
164
+
178FAKER_CXX_EXPORT std::string fromCharacters(const std::string& characters, unsigned length = 1);
+
179
+
194FAKER_CXX_EXPORT std::string fromCharacters(GuaranteeMap&& guarantee, const std::string& characters,
+
195 unsigned length = 1);
+
196
+
212FAKER_CXX_EXPORT std::string alpha(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
+
213 const std::string& excludeCharacters = "");
+
214
+
230FAKER_CXX_EXPORT std::string alpha(GuaranteeMap&& guarantee, unsigned length = 1,
+ +
232
+
249FAKER_CXX_EXPORT std::string alphanumeric(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
+
250 const std::string& excludeCharacters = "");
+
251
+
267FAKER_CXX_EXPORT std::string alphanumeric(GuaranteeMap&& guarantee, unsigned length = 1,
+ +
269
+
284FAKER_CXX_EXPORT std::string numeric(unsigned length = 1, bool allowLeadingZeros = true);
+
285
+
301FAKER_CXX_EXPORT std::string numeric(GuaranteeMap&& guarantee, unsigned length = 1, bool allowLeadingZeros = true);
+
302}
Definition random_generator.h:11
Definition string.h:14
-
FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned int length)
Checks if the given guarantee map is valid for given targetCharacters and length.
+
FAKER_CXX_EXPORT std::string symbol(unsigned minLength=1, unsigned maxLength=10)
Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
std::string uuid(RandomGenerator< T > gen=RandomGenerator< std::mt19937 >{})
Generates an Universally Unique Identifier with version 4.
Definition string.h:77
FAKER_CXX_EXPORT std::string sample(unsigned length=10)
Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
StringCasing
Definition string.h:16
@@ -229,7 +227,7 @@
FAKER_CXX_EXPORT std::string generateAtLeastString(const GuaranteeMap &guarantee)
Generates the least required string for a given guarantee map.
FAKER_CXX_EXPORT std::string numeric(unsigned length=1, bool allowLeadingZeros=true)
Generates a given length string of digits.
FAKER_CXX_EXPORT std::string alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
Generates a string consisting of alpha characters and digits.
-
FAKER_CXX_EXPORT std::string symbol(unsigned length=10)
Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
+
FAKER_CXX_EXPORT bool isValidGuarantee(GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned length)
Checks if the given guarantee map is valid for given targetCharacters and length.
FAKER_CXX_EXPORT std::string alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
Generates a string consisting of letters in the English alphabet.
FAKER_CXX_EXPORT std::string fromCharacters(const std::string &characters, unsigned length=1)
Generates a string consisting of given characters.
std::map< char, CharCount > GuaranteeMap
Definition string.h:31
diff --git a/structfaker_1_1string_1_1CharCount.html b/structfaker_1_1string_1_1CharCount.html index 2b1d35332..1ecdbb759 100644 --- a/structfaker_1_1string_1_1CharCount.html +++ b/structfaker_1_1string_1_1CharCount.html @@ -110,9 +110,9 @@

Functions

FAKER_CXX_EXPORT bool faker::string::isValidGuarantee (GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned int length)
 Checks if the given guarantee map is valid for given targetCharacters and length.
 
FAKER_CXX_EXPORT bool faker::string::isValidGuarantee (GuaranteeMap &guarantee, std::set< char > &targetCharacters, unsigned length)
 Checks if the given guarantee map is valid for given targetCharacters and length.
 
FAKER_CXX_EXPORT std::string faker::string::generateAtLeastString (const GuaranteeMap &guarantee)
 Generates the least required string for a given guarantee map.
 
FAKER_CXX_EXPORT std::string faker::string::sample (GuaranteeMap &&guarantee, unsigned length=10)
 Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
 
FAKER_CXX_EXPORT std::string faker::string::symbol (unsigned length=10)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string faker::string::symbol (unsigned int minLength, unsigned int maxLength)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string faker::string::symbol (unsigned minLength=1, unsigned maxLength=10)
 Returns a string containing "~`!@#$%^&*()_-+={[}]|:;\"'<,>.?/".
 
FAKER_CXX_EXPORT std::string faker::string::fromCharacters (const std::string &characters, unsigned length=1)
 Generates a string consisting of given characters.
 
- + - +

Public Attributes

unsigned int atLeastCount {(std::numeric_limits<unsigned int>::min)()}
unsigned int atLeastCount {(std::numeric_limits<unsigned>::min)()}
 
unsigned int atMostCount {(std::numeric_limits<unsigned int>::max)()}
unsigned int atMostCount {(std::numeric_limits<unsigned>::max)()}
 

Member Data Documentation

@@ -123,7 +123,7 @@

- +
unsigned int faker::string::CharCount::atLeastCount {(std::numeric_limits<unsigned int>::min)()}unsigned int faker::string::CharCount::atLeastCount {(std::numeric_limits<unsigned>::min)()}