diff --git a/Internet_8h_source.html b/Internet_8h_source.html
index 380eedb39..362c275d1 100644
--- a/Internet_8h_source.html
+++ b/Internet_8h_source.html
@@ -196,15 +196,18 @@
-
+
+
+
-
+
static std::string domainName()
Generates a random domain name.
static std::string httpMethod()
Generates a random http method name.
static std::string domainWord()
Generates a random domain word.
static std::string httpResponseHeader()
Generates a random http response header.
static std::string domainSuffix()
Generates a random domain suffix.
+static std::string anonymousUsername(unsigned maxLength)
Generates a random username.
static std::string ipv4(const std::array< unsigned int, 4 > &baseIpv4Address, const std::array< unsigned int, 4 > &generationMask)
Returns a string containing randomized ipv4 address based on given base address and mask.
static std::string url(WebProtocol webProtocol=WebProtocol::Https)
Generates a random url.
static std::string ipv4(IPv4Class ipv4class=IPv4Class::C)
Returns a string containing randomized ipv4 address of the given class.
diff --git a/classfaker_1_1Internet-members.html b/classfaker_1_1Internet-members.html
index 34951cb61..9c9da3836 100644
--- a/classfaker_1_1Internet-members.html
+++ b/classfaker_1_1Internet-members.html
@@ -101,27 +101,28 @@
This is the complete list of members for faker::Internet, including all inherited members.
- checkIfEmojiIsValid(const std::string &emojiToCheck) | faker::Internet | static |
- domainName() | faker::Internet | static |
- domainSuffix() | faker::Internet | static |
- domainWord() | faker::Internet | static |
- email(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, std::optional< std::string > emailHost=std::nullopt) | faker::Internet | static |
- emoji(std::optional< EmojiType > type=std::nullopt) | faker::Internet | static |
- exampleEmail(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt) | faker::Internet | static |
- httpMediaType() | faker::Internet | static |
- httpMethod() | faker::Internet | static |
- httpRequestHeader() | faker::Internet | static |
- httpResponseHeader() | faker::Internet | static |
- httpStatusCode(std::optional< HttpResponseType > responseType=std::nullopt) | faker::Internet | static |
- ipv4(IPv4Class ipv4class=IPv4Class::C) | faker::Internet | static |
- ipv4(const std::array< unsigned int, 4 > &baseIpv4Address, const std::array< unsigned int, 4 > &generationMask) | faker::Internet | static |
- ipv6() | faker::Internet | static |
- mac(const std::string &sep=":") | faker::Internet | static |
- password(int length=15, PasswordOptions options={}) | faker::Internet | static |
- port() | faker::Internet | static |
- protocol() | faker::Internet | static |
- url(WebProtocol webProtocol=WebProtocol::Https) | faker::Internet | static |
- username(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, Country country=Country::Usa) | faker::Internet | static |
+ anonymousUsername(unsigned maxLength) | faker::Internet | static |
+ checkIfEmojiIsValid(const std::string &emojiToCheck) | faker::Internet | static |
+ domainName() | faker::Internet | static |
+ domainSuffix() | faker::Internet | static |
+ domainWord() | faker::Internet | static |
+ email(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, std::optional< std::string > emailHost=std::nullopt) | faker::Internet | static |
+ emoji(std::optional< EmojiType > type=std::nullopt) | faker::Internet | static |
+ exampleEmail(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt) | faker::Internet | static |
+ httpMediaType() | faker::Internet | static |
+ httpMethod() | faker::Internet | static |
+ httpRequestHeader() | faker::Internet | static |
+ httpResponseHeader() | faker::Internet | static |
+ httpStatusCode(std::optional< HttpResponseType > responseType=std::nullopt) | faker::Internet | static |
+ ipv4(IPv4Class ipv4class=IPv4Class::C) | faker::Internet | static |
+ ipv4(const std::array< unsigned int, 4 > &baseIpv4Address, const std::array< unsigned int, 4 > &generationMask) | faker::Internet | static |
+ ipv6() | faker::Internet | static |
+ mac(const std::string &sep=":") | faker::Internet | static |
+ password(int length=15, PasswordOptions options={}) | faker::Internet | static |
+ port() | faker::Internet | static |
+ protocol() | faker::Internet | static |
+ url(WebProtocol webProtocol=WebProtocol::Https) | faker::Internet | static |
+ username(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, Country country=Country::Usa) | faker::Internet | static |
diff --git a/classfaker_1_1Internet.html b/classfaker_1_1Internet.html
index 05c51a48c..d7ec42c59 100644
--- a/classfaker_1_1Internet.html
+++ b/classfaker_1_1Internet.html
@@ -167,8 +167,47 @@
static std::string | domainSuffix () |
| Generates a random domain suffix.
|
|
+static std::string | anonymousUsername (unsigned maxLength) |
+ | Generates a random username.
|
+ |
+
+◆ anonymousUsername()
+
+
+
+
+
+
+
+
+ static std::string faker::Internet::anonymousUsername |
+ ( |
+ unsigned | maxLength | ) |
+ |
+
+
+ |
+
+static |
+
+
+
+
+
Generates a random username.
+
- Parameters
-
+
+ maxLength | maxLength of the generated username. |
+
+
+
+
- Returns
- Username.
+
+
static std::string anonymousUsername(unsigned maxLength)
Generates a random username.
+
+
+
◆ checkIfEmojiIsValid()
diff --git a/functions.html b/functions.html
index 5142f0553..b909827bb 100644
--- a/functions.html
+++ b/functions.html
@@ -113,6 +113,7 @@ - a -
- alpha() : faker::String
- alphanumeric() : faker::String
- amount() : faker::Finance
+- anonymousUsername() : faker::Internet
- arrayElement() : faker::Helper
- artist() : faker::Music
- author() : faker::Book, faker::Git
diff --git a/functions_func.html b/functions_func.html
index d41fe9bd9..a5e8413ea 100644
--- a/functions_func.html
+++ b/functions_func.html
@@ -113,6 +113,7 @@ - a -
- alpha() : faker::String
- alphanumeric() : faker::String
- amount() : faker::Finance
+- anonymousUsername() : faker::Internet
- arrayElement() : faker::Helper
- artist() : faker::Music
- author() : faker::Book, faker::Git
diff --git a/search/all_0.js b/search/all_0.js
index eeabc5d91..77748806c 100644
--- a/search/all_0.js
+++ b/search/all_0.js
@@ -17,8 +17,9 @@ var searchData=
['alphanumeric_14',['alphanumeric',['../classfaker_1_1String.html#a5de8e6ed5846465ac4197356eee53398',1,'faker::String::alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")'],['../classfaker_1_1String.html#a6fc84f399dd85bb008b1bf56d3b569d7',1,'faker::String::alphanumeric(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)']]],
['amount_15',['amount',['../classfaker_1_1Finance.html#af5ef8556903d06d1fdbedf48275dc688',1,'faker::Finance']]],
['animal_16',['Animal',['../classfaker_1_1Animal.html',1,'faker']]],
- ['arrayelement_17',['arrayElement',['../classfaker_1_1Helper.html#a46622f2ea33bab9a6ee3d35149f8b01b',1,'faker::Helper::arrayElement(std::span< const T > data)'],['../classfaker_1_1Helper.html#ac7c79f7dbcb604b8c1c64e67d01ca1ad',1,'faker::Helper::arrayElement(const std::vector< T > &data)']]],
- ['artist_18',['artist',['../classfaker_1_1Music.html#a2576c6c8c092ee5eec85aebf3e6a7702',1,'faker::Music']]],
- ['author_19',['Author',['../structfaker_1_1Git_1_1Author.html',1,'faker::Git']]],
- ['author_20',['author',['../classfaker_1_1Book.html#a81eeda6350d328c56043bff85342e4d4',1,'faker::Book::author()'],['../classfaker_1_1Git.html#a8955eed4cbf57eb8e372aea0c6d342d1',1,'faker::Git::author()']]]
+ ['anonymoususername_17',['anonymousUsername',['../classfaker_1_1Internet.html#a495813778b7e50dc6d957986b68255e2',1,'faker::Internet']]],
+ ['arrayelement_18',['arrayElement',['../classfaker_1_1Helper.html#a46622f2ea33bab9a6ee3d35149f8b01b',1,'faker::Helper::arrayElement(std::span< const T > data)'],['../classfaker_1_1Helper.html#ac7c79f7dbcb604b8c1c64e67d01ca1ad',1,'faker::Helper::arrayElement(const std::vector< T > &data)']]],
+ ['artist_19',['artist',['../classfaker_1_1Music.html#a2576c6c8c092ee5eec85aebf3e6a7702',1,'faker::Music']]],
+ ['author_20',['Author',['../structfaker_1_1Git_1_1Author.html',1,'faker::Git']]],
+ ['author_21',['author',['../classfaker_1_1Book.html#a81eeda6350d328c56043bff85342e4d4',1,'faker::Book::author()'],['../classfaker_1_1Git.html#a8955eed4cbf57eb8e372aea0c6d342d1',1,'faker::Git::author()']]]
];
diff --git a/search/functions_0.js b/search/functions_0.js
index e1cae7c82..f1333560d 100644
--- a/search/functions_0.js
+++ b/search/functions_0.js
@@ -15,7 +15,8 @@ var searchData=
['alpha_12',['alpha',['../classfaker_1_1String.html#abbab2e4390b07455a9386ef718e60703',1,'faker::String::alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")'],['../classfaker_1_1String.html#a80ef169c2f5a7a96ab11e9d9ce64eb95',1,'faker::String::alpha(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)']]],
['alphanumeric_13',['alphanumeric',['../classfaker_1_1String.html#a5de8e6ed5846465ac4197356eee53398',1,'faker::String::alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")'],['../classfaker_1_1String.html#a6fc84f399dd85bb008b1bf56d3b569d7',1,'faker::String::alphanumeric(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)']]],
['amount_14',['amount',['../classfaker_1_1Finance.html#af5ef8556903d06d1fdbedf48275dc688',1,'faker::Finance']]],
- ['arrayelement_15',['arrayElement',['../classfaker_1_1Helper.html#a46622f2ea33bab9a6ee3d35149f8b01b',1,'faker::Helper::arrayElement(std::span< const T > data)'],['../classfaker_1_1Helper.html#ac7c79f7dbcb604b8c1c64e67d01ca1ad',1,'faker::Helper::arrayElement(const std::vector< T > &data)']]],
- ['artist_16',['artist',['../classfaker_1_1Music.html#a2576c6c8c092ee5eec85aebf3e6a7702',1,'faker::Music']]],
- ['author_17',['author',['../classfaker_1_1Book.html#a81eeda6350d328c56043bff85342e4d4',1,'faker::Book::author()'],['../classfaker_1_1Git.html#a8955eed4cbf57eb8e372aea0c6d342d1',1,'faker::Git::author()']]]
+ ['anonymoususername_15',['anonymousUsername',['../classfaker_1_1Internet.html#a495813778b7e50dc6d957986b68255e2',1,'faker::Internet']]],
+ ['arrayelement_16',['arrayElement',['../classfaker_1_1Helper.html#a46622f2ea33bab9a6ee3d35149f8b01b',1,'faker::Helper::arrayElement(std::span< const T > data)'],['../classfaker_1_1Helper.html#ac7c79f7dbcb604b8c1c64e67d01ca1ad',1,'faker::Helper::arrayElement(const std::vector< T > &data)']]],
+ ['artist_17',['artist',['../classfaker_1_1Music.html#a2576c6c8c092ee5eec85aebf3e6a7702',1,'faker::Music']]],
+ ['author_18',['author',['../classfaker_1_1Book.html#a81eeda6350d328c56043bff85342e4d4',1,'faker::Book::author()'],['../classfaker_1_1Git.html#a8955eed4cbf57eb8e372aea0c6d342d1',1,'faker::Git::author()']]]
];