diff --git a/String_8h_source.html b/String_8h_source.html index 2395a1baa..277c01914 100644 --- a/String_8h_source.html +++ b/String_8h_source.html @@ -216,36 +216,37 @@
172
187 static std::string fromCharacters(GuaranteeMap&& guarantee, const std::string& characters, unsigned length = 1);
188
-
203 static std::string alpha(unsigned length = 1, StringCasing casing = StringCasing::Mixed);
-
204
-
220 static std::string alpha(GuaranteeMap&& guarantee, unsigned length = 1, StringCasing casing = StringCasing::Mixed);
-
221
-
238 static std::string alphanumeric(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
-
239 const std::string& excludeCharacters = "");
-
240
-
256 static std::string alphanumeric(GuaranteeMap&& guarantee, unsigned length = 1,
-
257 StringCasing casing = StringCasing::Mixed);
-
258
-
273 static std::string numeric(unsigned length = 1, bool allowLeadingZeros = true);
-
274
-
290 static std::string numeric(GuaranteeMap&& guarantee, const unsigned length = 1, bool allowLeadingZeros = true);
-
291
-
308 static std::string hexadecimal(unsigned length = 1, HexCasing casing = HexCasing::Lower,
-
309 HexPrefix prefix = HexPrefix::ZeroX);
-
310
-
328 static std::string hexadecimal(GuaranteeMap&& guarantee, unsigned length = 1, HexCasing casing = HexCasing::Lower,
-
329 HexPrefix prefix = HexPrefix::ZeroX);
-
330
-
342 static std::string binary(unsigned length = 1);
-
343
-
356 static std::string binary(GuaranteeMap&& guarantee, unsigned length = 1);
-
357
-
369 static std::string octal(unsigned length = 1);
-
370
-
383 static std::string octal(GuaranteeMap&& guarantee, unsigned length = 1);
-
384};
+
205 static std::string alpha(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
+
206 const std::string& excludeCharacters = "");
+
207
+
223 static std::string alpha(GuaranteeMap&& guarantee, unsigned length = 1, StringCasing casing = StringCasing::Mixed);
+
224
+
241 static std::string alphanumeric(unsigned length = 1, StringCasing casing = StringCasing::Mixed,
+
242 const std::string& excludeCharacters = "");
+
243
+
259 static std::string alphanumeric(GuaranteeMap&& guarantee, unsigned length = 1,
+
260 StringCasing casing = StringCasing::Mixed);
+
261
+
276 static std::string numeric(unsigned length = 1, bool allowLeadingZeros = true);
+
277
+
293 static std::string numeric(GuaranteeMap&& guarantee, const unsigned length = 1, bool allowLeadingZeros = true);
+
294
+
311 static std::string hexadecimal(unsigned length = 1, HexCasing casing = HexCasing::Lower,
+
312 HexPrefix prefix = HexPrefix::ZeroX);
+
313
+
331 static std::string hexadecimal(GuaranteeMap&& guarantee, unsigned length = 1, HexCasing casing = HexCasing::Lower,
+
332 HexPrefix prefix = HexPrefix::ZeroX);
+
333
+
345 static std::string binary(unsigned length = 1);
+
346
+
359 static std::string binary(GuaranteeMap&& guarantee, unsigned length = 1);
+
360
+
372 static std::string octal(unsigned length = 1);
+
373
+
386 static std::string octal(GuaranteeMap&& guarantee, unsigned length = 1);
+
387};
-
385}
+
388}
faker::String
Definition String.h:67
faker::String::binary
static std::string binary(unsigned length=1)
Generates a binary string.
faker::String::uuid
static std::string uuid(RandomGenerator< T > gen=RandomGenerator< std::mt19937 >{})
Generates an Universally Unique Identifier with version 4.
Definition String.h:85
@@ -253,12 +254,12 @@
faker::String::binary
static std::string binary(GuaranteeMap &&guarantee, unsigned length=1)
Generates a binary string.
faker::String::fromCharacters
static std::string fromCharacters(GuaranteeMap &&guarantee, const std::string &characters, unsigned length=1)
Generates a string consisting of given characters.
faker::String::alphanumeric
static std::string alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
Generates a string consisting of alpha characters and digits.
-
faker::String::alpha
static std::string alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed)
Generates a string consisting of letters in the English alphabet.
faker::String::alphanumeric
static std::string alphanumeric(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)
Generates a string consisting of alpha characters and digits.
faker::String::sample
static std::string sample(GuaranteeMap &&guarantee, unsigned length=10)
Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
faker::String::alpha
static std::string alpha(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)
Generates a string consisting of letters in the English alphabet.
faker::String::fromCharacters
static std::string fromCharacters(const std::string &characters, unsigned length=1)
Generates a string consisting of given characters.
faker::String::hexadecimal
static std::string hexadecimal(GuaranteeMap &&guarantee, unsigned length=1, HexCasing casing=HexCasing::Lower, HexPrefix prefix=HexPrefix::ZeroX)
Generates a hexadecimal string.
+
faker::String::alpha
static 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::String::octal
static std::string octal(unsigned length=1)
Generates an octal string.
faker::String::sample
static std::string sample(unsigned length=10)
Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
faker::String::numeric
static std::string numeric(unsigned length=1, bool allowLeadingZeros=true)
Generates a given length string of digits.
diff --git a/Vehicle_8h_source.html b/Vehicle_8h_source.html new file mode 100644 index 000000000..d6bbb2985 --- /dev/null +++ b/Vehicle_8h_source.html @@ -0,0 +1,155 @@ + + + + + + + +Faker C++ + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Faker C++ +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
Vehicle.h
+
+
+
1#pragma once
+
2
+
3#include <string>
+
4
+
5namespace faker
+
6{
+
+
7class Vehicle
+
8{
+
9public:
+
19 static std::string bicycle();
+
20
+
30 static std::string color();
+
31
+
41 static std::string fuel();
+
42
+
52 static std::string manufacturer();
+
53
+
63 static std::string model();
+
64
+
74 static std::string type();
+
75
+
85 static std::string vehicle();
+
86
+
96 static std::string vin();
+
97
+
107 static std::string vrm();
+
108};
+
+
109}
+
Definition Vehicle.h:8
+
static std::string bicycle()
Returns a random bicycle type.
+
static std::string vrm()
Returns a vehicle registration number (Vehicle Registration Mark - VRM).
+
static std::string vehicle()
Returns a random vehicle(car).
+
static std::string model()
Returns a random vehicle(car) model.
+
static std::string color()
Returns a random vehicle color.
+
static std::string manufacturer()
Returns a random vehicle(car) manufacturer.
+
static std::string fuel()
Returns a random vehicle fuel.
+
static std::string type()
Returns a random vehicle type.
+
static std::string vin()
Returns a vehicle identification number (VIN).
+
+
+ + + + diff --git a/annotated.html b/annotated.html index e1b7a167c..0ee124455 100644 --- a/annotated.html +++ b/annotated.html @@ -139,13 +139,14 @@  CSport  CString  CSystem - CVideoGame - CWeather - CPressure - CTemperature - CVisibility - CWindSpeed - CWord + CVehicle + CVideoGame + CWeather + CPressure + CTemperature + CVisibility + CWindSpeed + CWord diff --git a/annotated_dup.js b/annotated_dup.js index 6fe579f4c..d2a7da553 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -35,6 +35,7 @@ var annotated_dup = [ "Sport", "classfaker_1_1Sport.html", null ], [ "String", "classfaker_1_1String.html", null ], [ "System", "classfaker_1_1System.html", null ], + [ "Vehicle", "classfaker_1_1Vehicle.html", null ], [ "VideoGame", "classfaker_1_1VideoGame.html", null ], [ "Weather", "classfaker_1_1Weather.html", "classfaker_1_1Weather" ], [ "Word", "classfaker_1_1Word.html", null ] diff --git a/classes.html b/classes.html index 5a97e6b75..0aa00e7ca 100644 --- a/classes.html +++ b/classes.html @@ -146,7 +146,7 @@
Weather::Temperature (faker)
V
-
VideoGame (faker)
Weather::Visibility (faker)
+
Vehicle (faker)
VideoGame (faker)
Weather::Visibility (faker)
W
Weather (faker)
Helper::WeightedElement (faker)
Weather::WindSpeed (faker)
Word (faker)
diff --git a/classfaker_1_1String-members.html b/classfaker_1_1String-members.html index daad70d76..6387d6c94 100644 --- a/classfaker_1_1String-members.html +++ b/classfaker_1_1String-members.html @@ -100,7 +100,7 @@

This is the complete list of members for faker::String, including all inherited members.

- + diff --git a/classfaker_1_1String.html b/classfaker_1_1String.html index c96159555..fe9f5c538 100644 --- a/classfaker_1_1String.html +++ b/classfaker_1_1String.html @@ -119,9 +119,9 @@ - - - + + + @@ -207,15 +207,15 @@

Returns
Alpha string.
-
String::alpha({}) // "b"
-
String::alpha({{'A',{2,2}}, 5, StringCasing::Upper) // "DACAC"
-
String::alpha({{'a',{0,0}},{'b',{3,3}},{'c', {0,2}}}, 10, StringCasing::Lower) // "bicnmmkbbp"
-
static std::string alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed)
Generates a string consisting of letters in the English alphabet.
+
String::alpha({}) // "b"
+
String::alpha({{'A',{2,2}}, 5, StringCasing::Upper) // "DACAC"
+
String::alpha({{'a',{0,0}},{'b',{3,3}},{'c', {0,2}}}, 10, StringCasing::Lower) // "bicnmmkbbp"
+
static std::string alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
Generates a string consisting of letters in the English alphabet.
- -

◆ alpha() [2/2]

+ +

◆ alpha() [2/2]

@@ -233,7 +233,13 @@

- + + + + + + + @@ -252,14 +258,15 @@

Parameters

alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed)faker::Stringstatic
alpha(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")faker::Stringstatic
alpha(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)faker::Stringstatic
alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")faker::Stringstatic
alphanumeric(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)faker::Stringstatic
static std::string fromCharacters (GuaranteeMap &&guarantee, const std::string &characters, unsigned length=1)
 Generates a string consisting of given characters.
 
static std::string alpha (unsigned length=1, StringCasing casing=StringCasing::Mixed)
 Generates a string consisting of letters in the English alphabet.
 
static std::string alpha (unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
 Generates a string consisting of letters in the English alphabet.
 
static std::string alpha (GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)
 Generates a string consisting of letters in the English alphabet.
 
StringCasing casing = StringCasing::Mixed casing = StringCasing::Mixed,
const std::string & excludeCharacters = "" 
- + +
lengthThe number of characters to generate. Defaults to `1`.
casingThe casing of the characters. Defaults to `StringCasingMixed`.
casingThe casing of the characters. Defaults to `StringCasingMixed`.
excludeCharactersThe characters to be excluded from the string to generate. Defaults to ``.
Returns
Alpha string.
-
String::alpha() // "b"
-
String::alpha(5, StringCasing::Upper) // "DTCIC"
-
String::alpha(4, StringCasing::Lower) // "brpt"
+
String::alpha() // "b"
+
String::alpha(5, StringCasing::Upper) // "DTCIC"
+
String::alpha(4, StringCasing::Lower) // "brpt"
Definition String.h:67
diff --git a/classfaker_1_1Vehicle-members.html b/classfaker_1_1Vehicle-members.html new file mode 100644 index 000000000..96fdc906e --- /dev/null +++ b/classfaker_1_1Vehicle-members.html @@ -0,0 +1,121 @@ + + + + + + + +Faker C++ + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Faker C++ +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
faker::Vehicle Member List
+
+
+ +

This is the complete list of members for faker::Vehicle, including all inherited members.

+ + + + + + + + + + +
bicycle()faker::Vehiclestatic
color()faker::Vehiclestatic
fuel()faker::Vehiclestatic
manufacturer()faker::Vehiclestatic
model()faker::Vehiclestatic
type()faker::Vehiclestatic
vehicle()faker::Vehiclestatic
vin()faker::Vehiclestatic
vrm()faker::Vehiclestatic
+
+ + + + diff --git a/classfaker_1_1Vehicle.html b/classfaker_1_1Vehicle.html new file mode 100644 index 000000000..7c90b7b88 --- /dev/null +++ b/classfaker_1_1Vehicle.html @@ -0,0 +1,418 @@ + + + + + + + +Faker C++ + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
Faker C++ +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +
faker::Vehicle Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Static Public Member Functions

static std::string bicycle ()
 Returns a random bicycle type.
 
static std::string color ()
 Returns a random vehicle color.
 
static std::string fuel ()
 Returns a random vehicle fuel.
 
static std::string manufacturer ()
 Returns a random vehicle(car) manufacturer.
 
static std::string model ()
 Returns a random vehicle(car) model.
 
static std::string type ()
 Returns a random vehicle type.
 
static std::string vehicle ()
 Returns a random vehicle(car).
 
static std::string vin ()
 Returns a vehicle identification number (VIN).
 
static std::string vrm ()
 Returns a vehicle registration number (Vehicle Registration Mark - VRM).
 
+

Member Function Documentation

+ +

◆ bicycle()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::bicycle ()
+
+static
+
+ +

Returns a random bicycle type.

+
Returns
bicycle type.
+
Vehicle::bicycle() // "Electric bike"
+
static std::string bicycle()
Returns a random bicycle type.
+
+
+
+ +

◆ color()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::color ()
+
+static
+
+ +

Returns a random vehicle color.

+
Returns
vehicle color.
+
Vehicle::color() // "Silver"
+
static std::string color()
Returns a random vehicle color.
+
+
+
+ +

◆ fuel()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::fuel ()
+
+static
+
+ +

Returns a random vehicle fuel.

+
Returns
vehicle fuel.
+
Vehicle::fuel() // "Diesel"
+
static std::string fuel()
Returns a random vehicle fuel.
+
+
+
+ +

◆ manufacturer()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::manufacturer ()
+
+static
+
+ +

Returns a random vehicle(car) manufacturer.

+
Returns
vehicle(car) manufacturer.
+
Vehicle::manufacturer() // "Ferrari"
+
static std::string manufacturer()
Returns a random vehicle(car) manufacturer.
+
+
+
+ +

◆ model()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::model ()
+
+static
+
+ +

Returns a random vehicle(car) model.

+
Returns
vehicle(car) model.
+
Vehicle::model() // "Fiesta"
+
static std::string model()
Returns a random vehicle(car) model.
+
+
+
+ +

◆ type()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::type ()
+
+static
+
+ +

Returns a random vehicle type.

+
Returns
vehicle type.
+
Vehicle::type() // "Van"
+
static std::string type()
Returns a random vehicle type.
+
+
+
+ +

◆ vehicle()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::vehicle ()
+
+static
+
+ +

Returns a random vehicle(car).

+
Returns
vehicle composed by a manufacturer and model.
+
Vehicle::vehicle() // "BMW Explorer"
+
static std::string vehicle()
Returns a random vehicle(car).
+
+
+
+ +

◆ vin()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::vin ()
+
+static
+
+ +

Returns a vehicle identification number (VIN).

+
Returns
vehicle identification number.
+
Vehicle::vin() // "YV1MH682762184654"
+
static std::string vin()
Returns a vehicle identification number (VIN).
+
+
+
+ +

◆ vrm()

+ +
+
+ + + + + +
+ + + + + + + +
static std::string faker::Vehicle::vrm ()
+
+static
+
+ +

Returns a vehicle registration number (Vehicle Registration Mark - VRM).

+
Returns
vehicle registration number.
+
Vehicle::vrm() // "MF56UPA"
+
static std::string vrm()
Returns a vehicle registration number (Vehicle Registration Mark - VRM).
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/dir_21275a4f97039163a157995766de70c2.html b/dir_21275a4f97039163a157995766de70c2.html index 832a17fd9..3d104a445 100644 --- a/dir_21275a4f97039163a157995766de70c2.html +++ b/dir_21275a4f97039163a157995766de70c2.html @@ -167,6 +167,8 @@    System.h   + Vehicle.h VideoGame.h    Weather.h diff --git a/files.html b/files.html index 59fb19702..263c56458 100644 --- a/files.html +++ b/files.html @@ -130,9 +130,10 @@  Sport.h  String.h  System.h - VideoGame.h - Weather.h - Word.h + Vehicle.h + VideoGame.h + Weather.h + Word.h diff --git a/functions.html b/functions.html index a8eefd81d..5289fb0fe 100644 --- a/functions.html +++ b/functions.html @@ -109,7 +109,7 @@

- a -