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 @@
312 static std::string domainWord();
313
323 static std::string domainSuffix();
-
324};
+
324
+
336 static std::string anonymousUsername(unsigned maxLength);
+
337};
-
325}
+
338}
faker::Internet
Definition Internet.h:43
faker::Internet::domainName
static std::string domainName()
Generates a random domain name.
faker::Internet::httpMethod
static std::string httpMethod()
Generates a random http method name.
faker::Internet::domainWord
static std::string domainWord()
Generates a random domain word.
faker::Internet::httpResponseHeader
static std::string httpResponseHeader()
Generates a random http response header.
faker::Internet::domainSuffix
static std::string domainSuffix()
Generates a random domain suffix.
+
faker::Internet::anonymousUsername
static std::string anonymousUsername(unsigned maxLength)
Generates a random username.
faker::Internet::ipv4
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.
faker::Internet::url
static std::string url(WebProtocol webProtocol=WebProtocol::Https)
Generates a random url.
faker::Internet::ipv4
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::Internetstatic
domainName()faker::Internetstatic
domainSuffix()faker::Internetstatic
domainWord()faker::Internetstatic
email(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, std::optional< std::string > emailHost=std::nullopt)faker::Internetstatic
emoji(std::optional< EmojiType > type=std::nullopt)faker::Internetstatic
exampleEmail(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt)faker::Internetstatic
httpMediaType()faker::Internetstatic
httpMethod()faker::Internetstatic
httpRequestHeader()faker::Internetstatic
httpResponseHeader()faker::Internetstatic
httpStatusCode(std::optional< HttpResponseType > responseType=std::nullopt)faker::Internetstatic
ipv4(IPv4Class ipv4class=IPv4Class::C)faker::Internetstatic
ipv4(const std::array< unsigned int, 4 > &baseIpv4Address, const std::array< unsigned int, 4 > &generationMask)faker::Internetstatic
ipv6()faker::Internetstatic
mac(const std::string &sep=":")faker::Internetstatic
password(int length=15, PasswordOptions options={})faker::Internetstatic
port()faker::Internetstatic
protocol()faker::Internetstatic
url(WebProtocol webProtocol=WebProtocol::Https)faker::Internetstatic
username(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, Country country=Country::Usa)faker::Internetstatic
anonymousUsername(unsigned maxLength)faker::Internetstatic
checkIfEmojiIsValid(const std::string &emojiToCheck)faker::Internetstatic
domainName()faker::Internetstatic
domainSuffix()faker::Internetstatic
domainWord()faker::Internetstatic
email(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, std::optional< std::string > emailHost=std::nullopt)faker::Internetstatic
emoji(std::optional< EmojiType > type=std::nullopt)faker::Internetstatic
exampleEmail(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt)faker::Internetstatic
httpMediaType()faker::Internetstatic
httpMethod()faker::Internetstatic
httpRequestHeader()faker::Internetstatic
httpResponseHeader()faker::Internetstatic
httpStatusCode(std::optional< HttpResponseType > responseType=std::nullopt)faker::Internetstatic
ipv4(IPv4Class ipv4class=IPv4Class::C)faker::Internetstatic
ipv4(const std::array< unsigned int, 4 > &baseIpv4Address, const std::array< unsigned int, 4 > &generationMask)faker::Internetstatic
ipv6()faker::Internetstatic
mac(const std::string &sep=":")faker::Internetstatic
password(int length=15, PasswordOptions options={})faker::Internetstatic
port()faker::Internetstatic
protocol()faker::Internetstatic
url(WebProtocol webProtocol=WebProtocol::Https)faker::Internetstatic
username(std::optional< std::string > firstName=std::nullopt, std::optional< std::string > lastName=std::nullopt, Country country=Country::Usa)faker::Internetstatic
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.

Member Function Documentation

+ +

◆ anonymousUsername()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Internet::anonymousUsername (unsigned maxLength)
+
+static
+
+ +

Generates a random username.

+
Parameters
+ + +
maxLengthmaxLength of the generated username.
+
+
+
Returns
Username.
+
Internet::anonymousUsername() // "profusebrother", "richad", "powerfuldifferential"
+
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 -