From cbfa42137f3ef92dbd2bd481eb43d01ef877cba8 Mon Sep 17 00:00:00 2001 From: cieslarmichal Date: Mon, 8 Jan 2024 20:01:59 +0000 Subject: [PATCH] deploy: e9babe746a455c2525163f16c14ca7a4967206bc --- Crypto_8h_source.html | 35 +- Datatype_8h_source.html | 24 +- Food_8h_source.html | 70 ++-- Helper_8h_source.html | 299 ++++++++-------- Science_8h_source.html | 111 ++---- String_8h_source.html | 4 +- Structure_8h_source.html | 376 +-------------------- annotated.html | 84 +++-- annotated_dup.js | 2 - classes.html | 9 +- classfaker_1_1ChemicalElement-members.html | 121 ------- classfaker_1_1ChemicalElement.html | 143 -------- classfaker_1_1Crypto.html | 2 +- classfaker_1_1Datatype.html | 2 +- classfaker_1_1Helper.html | 8 +- classfaker_1_1Internet.html | 2 +- classfaker_1_1Science.html | 42 +-- classfaker_1_1String-members.html | 2 +- classfaker_1_1String.html | 12 +- classfaker_1_1Structure-members.html | 4 +- classfaker_1_1Structure.html | 56 +-- classfaker_1_1Unit-members.html | 118 ------- classfaker_1_1Unit.html | 140 -------- doxygen_crawl.html | 4 - functions_c.html | 2 +- functions_func_c.html | 2 +- functions_func_j.html | 2 +- functions_j.html | 2 +- navtreeindex0.js | 84 +++-- search/all_12.js | 11 +- search/all_2.js | 81 +++-- search/all_9.js | 2 +- search/all_c.js | 2 +- search/classes_10.js | 7 +- search/classes_11.js | 7 - search/classes_2.js | 13 +- search/classes_f.js | 4 +- search/functions_2.js | 2 +- search/functions_9.js | 2 +- search/functions_c.js | 2 +- search/searchdata.js | 2 +- 41 files changed, 472 insertions(+), 1425 deletions(-) delete mode 100644 classfaker_1_1ChemicalElement-members.html delete mode 100644 classfaker_1_1ChemicalElement.html delete mode 100644 classfaker_1_1Unit-members.html delete mode 100644 classfaker_1_1Unit.html delete mode 100644 search/classes_11.js diff --git a/Crypto_8h_source.html b/Crypto_8h_source.html index 6ba6fa69b..9a9b2d336 100644 --- a/Crypto_8h_source.html +++ b/Crypto_8h_source.html @@ -105,27 +105,22 @@
1#pragma once
2
-
3#include <array>
-
4#include <cstdint>
-
5#include <cstring>
-
6#include <iomanip>
-
7#include <optional>
-
8#include <sstream>
-
9#include <string>
-
10
-
11namespace faker
-
12{
-
-
13class Crypto
-
14{
-
15public:
-
26 static std::string sha256(std::optional<std::string> = std::nullopt);
-
27
-
38 static std::string md5(std::optional<std::string> = std::nullopt);
-
39};
+
3#include <optional>
+
4#include <string>
+
5
+
6namespace faker
+
7{
+
+
8class Crypto
+
9{
+
10public:
+
21 static std::string sha256(std::optional<std::string> = std::nullopt);
+
22
+
33 static std::string md5(std::optional<std::string> = std::nullopt);
+
34};
-
40}
-
Definition Crypto.h:14
+
35}
+
Definition Crypto.h:9
static std::string sha256(std::optional< std::string >=std::nullopt)
Returns a random SHA256 hash or hash of provided data.
static std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.
diff --git a/Datatype_8h_source.html b/Datatype_8h_source.html index fda403477..a32391d74 100644 --- a/Datatype_8h_source.html +++ b/Datatype_8h_source.html @@ -105,21 +105,19 @@
1#pragma once
2
-
3#include <optional>
-
4
-
5namespace faker
+
3namespace faker
+
4{
+
+
6{
-
- -
8{
-
9public:
-
19 static bool boolean();
-
20
-
39 static bool boolean(double probability);
-
40};
+
7public:
+
17 static bool boolean();
+
18
+
37 static bool boolean(double probability);
+
38};
-
41}
-
Definition Datatype.h:8
+
39}
+
Definition Datatype.h:6
static bool boolean(double probability)
Returns a random boolean. **Note:** A probability of `0.75` results in `true` being returned `75%` of...
static bool boolean()
Returns a random boolean.
diff --git a/Food_8h_source.html b/Food_8h_source.html index 96523fd82..c8b58b650 100644 --- a/Food_8h_source.html +++ b/Food_8h_source.html @@ -109,43 +109,41 @@
4
5namespace faker
6{
-
7
-
-
8class Food
-
9{
-
10
-
11public:
-
21 static std::string alcoholicBeverage();
-
22
-
32 static std::string grain();
-
33
-
43 static std::string milkProduct();
-
44
-
54 static std::string fruit();
-
55
-
65 static std::string meat();
-
66
-
76 static std::string seafood();
-
77
-
87 static std::string vegetable();
-
88
-
98 static std::string oil();
-
99
-
109 static std::string nut();
-
110
-
120 static std::string seed();
-
121
-
131 static std::string sugarProduct();
-
132
-
142 static std::string nonalcoholicBeverage();
-
143
-
153 static std::string dishName();
-
154
-
164 static std::string foodCategory();
-
165};
+
+
7class Food
+
8{
+
9public:
+
19 static std::string alcoholicBeverage();
+
20
+
30 static std::string grain();
+
31
+
41 static std::string milkProduct();
+
42
+
52 static std::string fruit();
+
53
+
63 static std::string meat();
+
64
+
74 static std::string seafood();
+
75
+
85 static std::string vegetable();
+
86
+
96 static std::string oil();
+
97
+
107 static std::string nut();
+
108
+
118 static std::string seed();
+
119
+
129 static std::string sugarProduct();
+
130
+
140 static std::string nonalcoholicBeverage();
+
141
+
151 static std::string dishName();
+
152
+
162 static std::string foodCategory();
+
163};
-
166}
-
Definition Food.h:9
+
164}
+
Definition Food.h:8
static std::string grain()
Returns a random grain measurement.
static std::string nut()
Returns a random nut's name.
static std::string alcoholicBeverage()
Returns a random alcoholic beverage name.
diff --git a/Helper_8h_source.html b/Helper_8h_source.html index 3cff126e4..e0d0fa008 100644 --- a/Helper_8h_source.html +++ b/Helper_8h_source.html @@ -117,171 +117,170 @@
12
13namespace faker
14{
-
15// TODO: Add error handling if data empty
-
-
16class Helper
-
17{
-
18public:
-
33 template <class T>
-
-
34 static T arrayElement(std::span<const T> data)
-
35 {
-
36 if (data.empty())
-
37 {
-
38 throw std::invalid_argument{"Data is empty."};
-
39 }
-
40
-
41 const auto index = Number::integer<size_t>(data.size() - 1);
-
42
-
43 return data[index];
-
44 }
+
+
15class Helper
+
16{
+
17public:
+
32 template <class T>
+
+
33 static T arrayElement(std::span<const T> data)
+
34 {
+
35 if (data.empty())
+
36 {
+
37 throw std::invalid_argument{"Data is empty."};
+
38 }
+
39
+
40 const auto index = Number::integer<size_t>(data.size() - 1);
+
41
+
42 return data[index];
+
43 }
-
45
-
59 template <class T>
-
-
60 static T arrayElement(const std::vector<T>& data)
-
61 {
-
62 if (data.empty())
-
63 {
-
64 throw std::invalid_argument{"Data is empty."};
-
65 }
-
66
-
67 const auto index = Number::integer<size_t>(data.size() - 1);
-
68
-
69 return data[index];
-
70 }
+
44
+
58 template <class T>
+
+
59 static T arrayElement(const std::vector<T>& data)
+
60 {
+
61 if (data.empty())
+
62 {
+
63 throw std::invalid_argument{"Data is empty."};
+
64 }
+
65
+
66 const auto index = Number::integer<size_t>(data.size() - 1);
+
67
+
68 return data[index];
+
69 }
-
71
-
86 template <class T>
-
-
87 static T setElement(const std::set<T>& data)
-
88 {
-
89 if (data.empty())
-
90 {
-
91 throw std::invalid_argument{"Data is empty."};
-
92 }
-
93 T item;
-
94 std::sample(data.begin(), data.end(), &item, 1, pseudoRandomGenerator);
-
95 return item;
-
96 }
+
70
+
85 template <class T>
+
+
86 static T setElement(const std::set<T>& data)
+
87 {
+
88 if (data.empty())
+
89 {
+
90 throw std::invalid_argument{"Data is empty."};
+
91 }
+
92 T item;
+
93 std::sample(data.begin(), data.end(), &item, 1, pseudoRandomGenerator);
+
94 return item;
+
95 }
-
97
-
98 template <class T>
-
- -
100 {
-
101 unsigned weight;
-
102 T value;
-
103 };
+
96
+
97 template <class T>
+
+ +
99 {
+
100 unsigned weight;
+
101 T value;
+
102 };
-
104
-
119 template <class T>
-
-
120 static T weightedArrayElement(const std::vector<WeightedElement<T>>& data)
-
121 {
-
122 if (data.empty())
-
123 {
-
124 throw std::invalid_argument{"Data is empty."};
-
125 }
-
126
-
127 const auto sumOfWeights =
-
128 std::accumulate(data.begin(), data.end(), 0u,
-
129 [](unsigned sum, const WeightedElement<T>& element) { return sum + element.weight; });
-
130
-
131 if (sumOfWeights == 0u)
-
132 {
-
133 throw std::invalid_argument{"Sum of weights is zero."};
-
134 }
-
135
-
136 const std::integral auto targetWeightValue = Number::integer<unsigned>(sumOfWeights);
-
137
-
138 unsigned currentSum = 0;
-
139
-
140 for (const auto& element : data)
-
141 {
-
142 currentSum += element.weight;
-
143
-
144 if (targetWeightValue <= currentSum)
-
145 {
-
146 return element.value;
-
147 }
-
148 }
-
149
-
150 return data.at(data.size() - 1).value;
-
151 }
+
103
+
118 template <class T>
+
+
119 static T weightedArrayElement(const std::vector<WeightedElement<T>>& data)
+
120 {
+
121 if (data.empty())
+
122 {
+
123 throw std::invalid_argument{"Data is empty."};
+
124 }
+
125
+
126 const auto sumOfWeights =
+
127 std::accumulate(data.begin(), data.end(), 0u,
+
128 [](unsigned sum, const WeightedElement<T>& element) { return sum + element.weight; });
+
129
+
130 if (sumOfWeights == 0u)
+
131 {
+
132 throw std::invalid_argument{"Sum of weights is zero."};
+
133 }
+
134
+
135 const std::integral auto targetWeightValue = Number::integer<unsigned>(sumOfWeights);
+
136
+
137 unsigned currentSum = 0;
+
138
+
139 for (const auto& element : data)
+
140 {
+
141 currentSum += element.weight;
+
142
+
143 if (targetWeightValue <= currentSum)
+
144 {
+
145 return element.value;
+
146 }
+
147 }
+
148
+
149 return data.at(data.size() - 1).value;
+
150 }
-
152
-
166 template <class T>
-
-
167 static std::vector<T> shuffle(std::vector<T> data)
-
168 {
-
169 std::shuffle(std::begin(data), std::end(data), pseudoRandomGenerator);
-
170
-
171 return data;
-
172 }
+
151
+
165 template <class T>
+
+
166 static std::vector<T> shuffle(std::vector<T> data)
+
167 {
+
168 std::shuffle(std::begin(data), std::end(data), pseudoRandomGenerator);
+
169
+
170 return data;
+
171 }
-
173
-
185 static std::string shuffleString(std::string data);
-
186
-
207 template <typename T>
-
-
208 static typename T::key_type objectKey(const T& object)
-
209 {
-
210 if (object.empty())
-
211 {
-
212 throw std::runtime_error("Object is empty.");
-
213 }
-
214
-
215 std::vector<typename T::key_type> keys;
-
216 for (const auto& entry : object)
-
217 {
-
218 keys.push_back(entry.first);
-
219 }
-
220
-
221 return arrayElement<typename T::key_type>(keys);
-
222 }
+
172
+
184 static std::string shuffleString(std::string data);
+
185
+
206 template <typename T>
+
+
207 static typename T::key_type objectKey(const T& object)
+
208 {
+
209 if (object.empty())
+
210 {
+
211 throw std::runtime_error("Object is empty.");
+
212 }
+
213
+
214 std::vector<typename T::key_type> keys;
+
215 for (const auto& entry : object)
+
216 {
+
217 keys.push_back(entry.first);
+
218 }
+
219
+
220 return arrayElement<typename T::key_type>(keys);
+
221 }
-
223
-
240 template <typename TResult>
-
-
241 static TResult maybe(std::function<TResult()> callback, double probability = 0.5)
-
242 {
-
243 if (Datatype::boolean(probability))
-
244 {
-
245 return callback();
-
246 }
-
247 return TResult();
-
248 }
+
222
+
239 template <typename TResult>
+
+
240 static TResult maybe(std::function<TResult()> callback, double probability = 0.5)
+
241 {
+
242 if (Datatype::boolean(probability))
+
243 {
+
244 return callback();
+
245 }
+
246 return TResult();
+
247 }
-
249
-
266 static std::string replaceSymbolWithNumber(const std::string& str, const char& symbol = '#');
-
267
-
283 static std::string replaceCreditCardSymbols(const std::string& inputString = "6453-####-####-####-###L",
-
284 char symbol = '#');
-
285
-
306 static std::string regexpStyleStringParse(const std::string& input);
-
307
-
308private:
-
309 static std::random_device randomDevice;
-
310 static std::mt19937 pseudoRandomGenerator;
-
311};
+
248
+
265 static std::string replaceSymbolWithNumber(const std::string& str, const char& symbol = '#');
+
266
+
282 static std::string replaceCreditCardSymbols(const std::string& inputString = "6453-####-####-####-###L",
+
283 char symbol = '#');
+
284
+
305 static std::string regexpStyleStringParse(const std::string& input);
+
306
+
307private:
+
308 static std::random_device randomDevice;
+
309 static std::mt19937 pseudoRandomGenerator;
+
310};
-
312}
+
311}
static bool boolean()
Returns a random boolean.
-
Definition Helper.h:17
-
static T::key_type objectKey(const T &object)
Returns a random key from given object.
Definition Helper.h:208
-
static TResult maybe(std::function< TResult()> callback, double probability=0.5)
Returns the result of the callback if the probability check was successful, otherwise empty string.
Definition Helper.h:241
-
static T arrayElement(std::span< const T > data)
Get a random element from an STL container.
Definition Helper.h:34
-
static std::vector< T > shuffle(std::vector< T > data)
Returns shuffled vector.
Definition Helper.h:167
-
static T weightedArrayElement(const std::vector< WeightedElement< T > > &data)
Get a random element by weight from a vector.
Definition Helper.h:120
+
Definition Helper.h:16
+
static T::key_type objectKey(const T &object)
Returns a random key from given object.
Definition Helper.h:207
+
static TResult maybe(std::function< TResult()> callback, double probability=0.5)
Returns the result of the callback if the probability check was successful, otherwise empty string.
Definition Helper.h:240
+
static T arrayElement(std::span< const T > data)
Get a random element from an STL container.
Definition Helper.h:33
+
static std::vector< T > shuffle(std::vector< T > data)
Returns shuffled vector.
Definition Helper.h:166
+
static T weightedArrayElement(const std::vector< WeightedElement< T > > &data)
Get a random element by weight from a vector.
Definition Helper.h:119
static std::string replaceCreditCardSymbols(const std::string &inputString="6453-####-####-####-###L", char symbol='#')
Returns credit card schema with replaced symbols and patterns in a credit card including Luhn checksu...
static std::string shuffleString(std::string data)
Returns shuffled std::string.
static std::string replaceSymbolWithNumber(const std::string &str, const char &symbol='#')
Returns the given string parsed symbol by symbol and replaced the placeholders with digits ("0" - "9"...
-
static T arrayElement(const std::vector< T > &data)
Get a random element from a vector.
Definition Helper.h:60
+
static T arrayElement(const std::vector< T > &data)
Get a random element from a vector.
Definition Helper.h:59
static std::string regexpStyleStringParse(const std::string &input)
Returns the replaced regex-like expression in the string with matching values.
-
static T setElement(const std::set< T > &data)
Get a random element from a std::set.
Definition Helper.h:87
+
static T setElement(const std::set< T > &data)
Get a random element from a std::set.
Definition Helper.h:86
static I integer(I min, I max)
Generates a random integer number in the given range, bounds included.
Definition Number.h:31
-
Definition Helper.h:100
+
Definition Helper.h:99
diff --git a/Science_8h_source.html b/Science_8h_source.html index 33f3edf59..8d84d8d39 100644 --- a/Science_8h_source.html +++ b/Science_8h_source.html @@ -105,91 +105,33 @@
1#pragma once
2
-
3#include <iostream>
-
4#include <optional>
-
5#include <string>
-
6
-
7namespace faker
-
8{
-
9
-
- -
11{
-
12public:
-
13 std::string name;
-
14 std::string symbol;
-
15 int atomic_number;
-
16
-
17 ChemicalElement() = default;
-
18
-
19 ChemicalElement(std::string name_, std::string symbol_, int atomic_number_)
-
20 : name(name_), symbol(symbol_), atomic_number(atomic_number_)
-
21 {
-
22 }
-
23
-
24 ChemicalElement(std::string info) : name(""), symbol(""), atomic_number(-1)
-
25 {
-
26
-
27 auto idx1 = info.find_first_of('-');
-
28 auto idx2 = info.find_last_of('-');
-
29
-
30 std::string name_ = info.substr(0, idx1 - 1);
-
31 std::string symbol_ = info.substr(idx1 + 2, idx2 - idx1 - 3);
-
32 std::string atomic_number = info.substr(idx2 + 2, info.length() - idx2 - 2);
-
33 }
-
34
-
35 ~ChemicalElement() = default;
-
36
-
37 bool operator==(const ChemicalElement& obj) const
-
38 {
-
39 return (this->name == obj.name && this->symbol == obj.symbol && this->atomic_number == obj.atomic_number);
-
40 }
-
41};
+
3#include "types/ChemicalElement.h"
+
4#include "types/Unit.h"
+
5
+
6namespace faker
+
7{
+
+
8class Science
+
9{
+
10public:
+
21 static ChemicalElement chemicalElement();
+
22
+
32 static Unit unit();
+
33
+
44 static Unit distanceUnit();
+
45
+
55 static Unit timeUnit();
+
56
+
66 static Unit massUnit();
+
67
+
77 static Unit tempUnit();
+
78
+
89 static Unit currentUnit();
+
90};
-
42
-
-
43class Unit
-
44{
-
45public:
-
46 std::string name;
-
47 std::string symbol;
-
48 std::string usedToMeasure;
-
49
-
50 Unit(std::string name_, std::string symbol_, std::string usedToMeasure_)
-
51 : name(name_), symbol(symbol_), usedToMeasure(usedToMeasure_)
-
52 {
-
53 }
-
54
-
55 bool operator==(const Unit& obj) const
-
56 {
-
57 return (this->name == obj.name && this->symbol == obj.symbol && this->usedToMeasure == obj.usedToMeasure);
-
58 }
-
59};
-
-
60
-
- -
62{
-
63public:
- -
76
-
87 static Unit unit();
-
88
- -
101
-
112 static Unit timeUnit();
-
113
-
124 static Unit massUnit();
-
125
-
136 static Unit tempUnit();
-
137
- -
150};
-
-
151
-
152}
-
Definition Science.h:11
-
Definition Science.h:62
+
91
+
92}
+
Definition Science.h:9
static Unit massUnit()
Returns a unit of measurement for either mass.
static Unit unit()
Returns a unit of measurement for either distance, mass, time, temp, current.
static Unit timeUnit()
Returns a unit of measurement for either time.
@@ -197,7 +139,6 @@
static Unit tempUnit()
Returns a unit of measurement for either temp.
static Unit distanceUnit()
Returns a unit of measurement for either distance.
static Unit currentUnit()
Returns a unit of measurement for either current.
-
Definition Science.h:44
diff --git a/String_8h_source.html b/String_8h_source.html index 5f44b1b50..935949ca6 100644 --- a/String_8h_source.html +++ b/String_8h_source.html @@ -230,7 +230,7 @@
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);
+
293 static std::string numeric(GuaranteeMap&& guarantee, unsigned length = 1, bool allowLeadingZeros = true);
294
311 static std::string hexadecimal(unsigned length = 1, HexCasing casing = HexCasing::Lower,
312 HexPrefix prefix = HexPrefix::ZeroX);
@@ -251,7 +251,6 @@
Definition String.h:67
static std::string binary(unsigned length=1)
Generates a binary string.
static std::string uuid(RandomGenerator< T > gen=RandomGenerator< std::mt19937 >{})
Generates an Universally Unique Identifier with version 4.
Definition String.h:85
-
static std::string numeric(GuaranteeMap &&guarantee, const unsigned length=1, bool allowLeadingZeros=true)
Generates a given length string of digits.
static std::string binary(GuaranteeMap &&guarantee, unsigned length=1)
Generates a binary string.
static std::string fromCharacters(GuaranteeMap &&guarantee, const std::string &characters, unsigned length=1)
Generates a string consisting of given characters.
static std::string alphanumeric(unsigned length=1, StringCasing casing=StringCasing::Mixed, const std::string &excludeCharacters="")
Generates a string consisting of alpha characters and digits.
@@ -260,6 +259,7 @@
static std::string alpha(GuaranteeMap &&guarantee, unsigned length=1, StringCasing casing=StringCasing::Mixed)
Generates a string consisting of letters in the English alphabet.
static std::string fromCharacters(const std::string &characters, unsigned length=1)
Generates a string consisting of given characters.
static std::string hexadecimal(GuaranteeMap &&guarantee, unsigned length=1, HexCasing casing=HexCasing::Lower, HexPrefix prefix=HexPrefix::ZeroX)
Generates a hexadecimal string.
+
static std::string numeric(GuaranteeMap &&guarantee, unsigned length=1, bool allowLeadingZeros=true)
Generates a given length string of digits.
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 octal(unsigned length=1)
Generates an octal string.
static std::string sample(unsigned length=10)
Returns a string containing UTF-16 chars between 33 and 125 (`!` to `}`).
diff --git a/Structure_8h_source.html b/Structure_8h_source.html index 6c82cc7f0..94790bee2 100644 --- a/Structure_8h_source.html +++ b/Structure_8h_source.html @@ -104,369 +104,27 @@
1#pragma once
-
2#include <functional>
+
2
3#include <map>
4#include <string>
5
-
6#include "Airline.h"
-
7#include "Animal.h"
-
8#include "Book.h"
-
9#include "Color.h"
-
10#include "Commerce.h"
-
11#include "Company.h"
-
12#include "Computer.h"
-
13#include "Crypto.h"
-
14#include "Database.h"
-
15#include "Datatype.h"
-
16#include "Date.h"
-
17#include "Finance.h"
-
18#include "Food.h"
-
19#include "Git.h"
-
20#include "Hacker.h"
-
21#include "Helper.h"
-
22#include "Image.h"
-
23#include "Internet.h"
-
24#include "Location.h"
-
25#include "Lorem.h"
-
26#include "Medicine.h"
-
27#include "Movie.h"
-
28#include "Music.h"
-
29#include "Person.h"
-
30#include "Phone.h"
-
31#include "Sport.h"
-
32#include "String.h"
-
33#include "System.h"
-
34#include "VideoGame.h"
-
35#include "Weather.h"
-
36#include "Word.h"
-
37
-
38namespace faker
-
39{
-
40
-
41enum class Token
-
42{
-
43 // Airline module
-
44 AirlineAircraftType,
-
45 AirlineAirplaneName,
-
46 AirlineAirplaneCode,
-
47 AirlineAirlineName,
-
48 AirlineAirlineCode,
-
49 AirlineAirportName,
-
50 AirlineAirportCode,
-
51 AirlineSeat,
-
52 AirlineRecordLocator,
-
53 AirlineFlightNumber,
-
54
-
55 // Animal module
-
56 AnimalBear,
-
57 AnimalBird,
-
58 AnimalCat,
-
59 AnimalCetacean,
-
60 AnimalCow,
-
61 AnimalCrocodilia,
-
62 AnimalDog,
-
63 AnimalFish,
-
64 AnimalHorse,
-
65 AnimalInsect,
-
66 AnimalLion,
-
67 AnimalRabbit,
-
68 AnimalRodent,
-
69 AnimalSnake,
-
70 AnimalType,
-
71
-
72 // Book module
-
73 BookTitle,
-
74 BookGenre,
-
75 BookAuthor,
-
76 BookPublisher,
-
77 BookIsbn,
-
78
-
79 // Color module
-
80 ColorName,
-
81 ColorRGB,
-
82 ColorHEX,
-
83 ColorHSL,
-
84 ColorLCH,
-
85 ColorCMYK,
-
86
-
87 // Commerce module
-
88 CommerceDepartment,
-
89 CommercePrice,
-
90 CommerceSku,
-
91 CommerceProductAdjective,
-
92 CommerceProductMaterial,
-
93 CommerceProductName,
-
94 CommerceProductFullName,
-
95 CommerceEAN13,
-
96 CommerceEAN8,
-
97 CommerceISBN13,
-
98 CommerceISBN10,
-
99
-
100 // Company module
-
101 CompanyName,
-
102 CompanyType,
-
103 CompanyIndustry,
-
104 CompanyBuzzPhrase,
-
105 CompanyBuzzAdjective,
-
106 CompanyBuzzNoun,
-
107 CompanyBuzzVerb,
-
108 CompanyCatchPhrase,
-
109 CompanyCtachPhraseAdjective,
-
110 CompanyCatchPhraseDescriptor,
-
111 CompanyCatchPhraseNoun,
-
112
-
113 // Computer module
-
114 ComputerType,
-
115 ComputerManufacture,
-
116 ComputerModel,
-
117 ComputerCPUManufacture,
-
118 ComputerCPUType,
-
119 ComputerCPUModel,
-
120 ComputerGPUManufacture,
-
121 ComputerGPUType,
-
122 ComputerGPUModel,
-
123
-
124 // Crypto module
-
125 CryptoSHA256,
-
126 CryptoMD5,
-
127
-
128 // Database module
-
129 DatabaseColumnName,
-
130 DatabaseColumnType,
-
131 DatabaseCollation,
-
132 DatabaseEngine,
-
133 DatabaseMongoDBObjectId,
-
134
-
135 // Datatype module
-
136 DatatypeBoolean,
-
137
-
138 // Date module ISO and Timestamp
-
139 DatePastDateISO,
-
140 DatePastDateTimestamp,
-
141 DatefutureDateISO,
-
142 DatefutureDateTimestamp,
-
143 DateRecentDateISO,
-
144 DateRecentDateTimestamp,
-
145 DateSoonDateISO,
-
146 DateSoonDateTimestamp,
-
147 DateBirthdateByAgeISO,
-
148 DateBirthdateByAgeTimestamp,
-
149 DateBirthdateByYearISO,
-
150 DateBirthdateByYearTimestamp,
-
151 DateWeekdayName,
-
152 DateWeekdayAbbreviatedName,
-
153 DateMontName,
-
154 DateMonthAbbreviatedName,
-
155
-
156 // Finance module
-
157 FinanceCurrencyName,
-
158 FinanceCurrencyCode,
-
159 FinanceCurrencySymbol,
-
160 FinanceAccountType,
-
161 FinanceAmount,
-
162 FinanceIban,
-
163 FinanceBic,
-
164 FinanceAccountNumber,
-
165 FinancePin,
-
166 FinanceRoutingNumber,
-
167 FinanceCreditCardNumber,
-
168 FinanceCreditCardCvv,
-
169 FinanceBitcoinAddress,
-
170 FinanceLitecoinAddress,
-
171 FinanceEthereumAddress,
-
172
-
173 // Food module
-
174 FoodAlcoholicBeverage,
-
175 FoodGrain,
-
176 FoodMilkProduct,
-
177 FoodFruit,
-
178 FoodMeat,
-
179 FoodSeafood,
-
180 FoodVegetable,
-
181 FoodOil,
-
182 FoodNut,
-
183 FoodSeed,
-
184 FoodSugarProduct,
-
185 FoodNonAlcoholicBeverage,
-
186 FoodDishName,
-
187 FoodFoodCategory,
-
188
-
189 // Git module
-
190 GitBranch,
-
191 GitCommitDate,
-
192 GitCommitEntry,
-
193 GitCommitMessage,
-
194 GitCommitSha,
-
195
-
196 // Hacker module
-
197 HackerAbbreviation,
-
198 HackerAdjective,
-
199 HackerNoun,
-
200 HackerVerb,
-
201 HackerIngverb,
-
202 HackerPhrase,
-
203
-
204 // Image module
-
205 ImageImageURL,
-
206 ImageGitHubAvatarURL,
-
207 ImageDimensions,
-
208
-
209 // Internet module
-
210 InternetUsername,
-
211 InternetEmail,
-
212 InternetExampleEmail,
-
213 InternetPassword,
-
214 InternetEmoji,
-
215 InternetProtocol,
-
216 InternetHttpMethod,
-
217 InternetHttpRequestHeader,
-
218 InternetHttpResponseHeader,
-
219 InternetHttpMediaType,
-
220 InternetIpv4,
-
221 InternetIpv6,
-
222 InternetMac,
-
223 InternetURL,
-
224 InternetDomainName,
-
225 InternetDomainWord,
-
226 InternetDomainSuffix,
-
227
-
228 // Location module
-
229 LocationCountry,
-
230 LocationCountryCode,
-
231 LocationState,
-
232 LocationCity,
-
233 LocationZipCode,
-
234 LocationStreetAddress,
-
235 LocationStreet,
-
236 LocationBuildingNumber,
-
237 LocationSecondaryAddress,
-
238 LocationLatitude,
-
239 LocationLongitude,
-
240 LocationDirection,
-
241 LocationTimeZone,
-
242
-
243 // Lorem module
-
244 LoremWord,
-
245 LoremWords,
-
246 LoremSentence,
-
247 LoremSentences,
-
248 LoremSlung,
-
249 LoremParagraph,
-
250 LoremParagraphs,
-
251
-
252 // Medicine module
-
253 MedicineCondition,
-
254 MedicineMedicalTest,
-
255 MedicineSpecialty,
-
256
-
257 // Movie module
-
258 MovieGenre,
-
259 MovieMovieTitle,
-
260 MovieTvShow,
-
261 MovieDirector,
-
262 MovieActor,
-
263 MovieActress,
-
264
-
265 // Music module
-
266 MusicArtist,
-
267 MusicGenre,
-
268 MusicSongName,
-
269
-
270 // Person module
-
271 PersonFirstName,
-
272 PersonLastName,
-
273 PersonMiddleName,
-
274 PersonFullName,
-
275 PersonPrefix,
-
276 PersonSuffix,
-
277 PersonSex,
-
278 PersonGender,
-
279 PersonJobTitle,
-
280 PersonJobDescriptor,
-
281 PersonJobArea,
-
282 PersonJobType,
-
283 PersonHoby,
-
284 PersonLanguage,
-
285 PersonNationality,
-
286 PersonWesternZodiac,
-
287 PersonChineseZodiac,
-
288
-
289 // Phone module
-
290 PhoneNumber,
-
291 PhonePlatform,
-
292 PhoneModelName,
-
293 PhoneManufacturer,
-
294 PhoneIMEI,
-
295
-
296 // Sport module
-
297 SportSport,
-
298 SportSoccerTeam,
-
299 SportMaleAthelete,
-
300 SportFemaleAthlete,
-
301 SportSportEvent,
-
302
-
303 // System module
-
304 SystemFileName,
-
305 SystemFileExtension,
-
306 SystemCommonFileName,
-
307 SystemCommonFileExtension,
-
308 SystemMimeType,
-
309 SystemCommonFileType,
-
310 SystemFileType,
-
311 SystemDirectoryPath,
-
312 SystemFilePath,
-
313 SystemSemver,
-
314 SystemNetworkInterface,
-
315 SystemCron,
-
316
-
317 // VideoGame module
-
318 VideoGameGameTitle,
-
319 VideoGameGenre,
-
320 VideoGamePlatform,
-
321 VideoGameStudioName,
-
322
-
323 // Weather module
-
324 WeatherTemperatureMetric,
-
325 WeatherTemperatureImperial,
-
326 WeatherPressureMetric,
-
327 WeatherPressureImperial,
-
328 WeatherVisibilityMetric,
-
329 WeatherVisibilityImperial,
-
330 WeatherWindSpeedMetric,
-
331 WeatherWindSpeedImperial,
-
332 WeatherUvIndex,
-
333 WeatherHumidity,
-
334 WeatherWeatherDescription,
-
335 WeatherCloadCover,
-
336
-
337 // Word module
-
338 WordSample,
-
339 WordWords,
-
340 WordAdjective,
-
341 WordAdverb,
-
342 WordConjuction,
-
343 WordInterjection,
-
344 WordNoun,
-
345 WordPreposition,
-
346 WordVerb,
-
347
-
348};
-
349
-
- -
351{
-
352public:
-
368 static std::string json(const std::map<std::string, faker::Token> items);
-
385 static std::string csv(const std::map<std::string, faker::Token> items, const unsigned int rows);
-
386
-
387private:
-
388};
+
6#include "types/StructureToken.h"
+
7
+
8namespace faker
+
9{
+
+ +
11{
+
12public:
+
28 static std::string json(const std::map<std::string, faker::StructureToken>& items);
+
45 static std::string csv(const std::map<std::string, faker::StructureToken>& items, unsigned int rows);
+
46};
-
389
-
390}
-
Definition Structure.h:351
-
static std::string csv(const std::map< std::string, faker::Token > items, const unsigned int rows)
Get a csv string based on input.
-
static std::string json(const std::map< std::string, faker::Token > items)
Get a json string based on input.
+
47
+
48}
+
Definition Structure.h:11
+
static std::string json(const std::map< std::string, faker::StructureToken > &items)
Get a json string based on input.
+
static std::string csv(const std::map< std::string, faker::StructureToken > &items, unsigned int rows)
Get a csv string based on input.
diff --git a/annotated.html b/annotated.html index a4a0772c5..cfd7d8c83 100644 --- a/annotated.html +++ b/annotated.html @@ -109,49 +109,47 @@  CAnimal  CBook  CCharCount - CChemicalElement - CColor - CCommerce - CCompany - CComputer - CCronOptions - CCrypto - CDatabase - CDatatype - CDate - CFileOptions - CFinance - CFood - CGit - CHacker - CHelper - CWeightedElement - CImage - CInternet - CLocation - CLorem - CMedicine - CMovie - CMusic - CNetworkInterfaceOptions - CNumber - CPasswordOptions - CPerson - CPhone - CScience - CSport - CString - CStructure - CSystem - CUnit - CVehicle - CVideoGame - CWeather - CPressure - CTemperature - CVisibility - CWindSpeed - CWord + CColor + CCommerce + CCompany + CComputer + CCronOptions + CCrypto + CDatabase + CDatatype + CDate + CFileOptions + CFinance + CFood + CGit + CHacker + CHelper + CWeightedElement + CImage + CInternet + CLocation + CLorem + CMedicine + CMovie + CMusic + CNetworkInterfaceOptions + CNumber + CPasswordOptions + CPerson + CPhone + CScience + CSport + CString + CStructure + CSystem + CVehicle + CVideoGame + CWeather + CPressure + CTemperature + CVisibility + CWindSpeed + CWord
diff --git a/annotated_dup.js b/annotated_dup.js index 702e889d1..0fec87842 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -5,7 +5,6 @@ var annotated_dup = [ "Animal", "classfaker_1_1Animal.html", null ], [ "Book", "classfaker_1_1Book.html", null ], [ "CharCount", "structfaker_1_1CharCount.html", null ], - [ "ChemicalElement", "classfaker_1_1ChemicalElement.html", null ], [ "Color", "classfaker_1_1Color.html", null ], [ "Commerce", "classfaker_1_1Commerce.html", null ], [ "Company", "classfaker_1_1Company.html", null ], @@ -38,7 +37,6 @@ var annotated_dup = [ "String", "classfaker_1_1String.html", null ], [ "Structure", "classfaker_1_1Structure.html", null ], [ "System", "classfaker_1_1System.html", null ], - [ "Unit", "classfaker_1_1Unit.html", null ], [ "Vehicle", "classfaker_1_1Vehicle.html", null ], [ "VideoGame", "classfaker_1_1VideoGame.html", null ], [ "Weather", "classfaker_1_1Weather.html", "classfaker_1_1Weather" ], diff --git a/classes.html b/classes.html index 52c901d62..f06eba0e7 100644 --- a/classes.html +++ b/classes.html @@ -98,7 +98,7 @@
Class Index
-
A | B | C | D | F | G | H | I | L | M | N | P | R | S | T | U | V | W
+
A | B | C | D | F | G | H | I | L | M | N | P | R | S | T | V | W
A
@@ -108,7 +108,7 @@
Book (faker)
C
-
CharCount (faker)
ChemicalElement (faker)
Color (faker)
Commerce (faker)
Company (faker)
Computer (faker)
CronOptions (faker)
Crypto (faker)
+
CharCount (faker)
Color (faker)
Commerce (faker)
Company (faker)
Computer (faker)
CronOptions (faker)
Crypto (faker)
D
Database (faker)
Datatype (faker)
Date (faker)
@@ -146,12 +146,9 @@
T
Weather::Temperature (faker)
-
U
-
Unit (faker)
-
V
Vehicle (faker)
VideoGame (faker)
Weather::Visibility (faker)
-
+
W
Weather (faker)
Helper::WeightedElement (faker)
Weather::WindSpeed (faker)
Word (faker)
diff --git a/classfaker_1_1ChemicalElement-members.html b/classfaker_1_1ChemicalElement-members.html deleted file mode 100644 index e9e9b5b9e..000000000 --- a/classfaker_1_1ChemicalElement-members.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - -Faker C++ - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
Faker C++ -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
faker::ChemicalElement Member List
-
-
- -

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

- - - - - - - - - -
atomic_number (defined in faker::ChemicalElement)faker::ChemicalElement
ChemicalElement()=default (defined in faker::ChemicalElement)faker::ChemicalElement
ChemicalElement(std::string name_, std::string symbol_, int atomic_number_) (defined in faker::ChemicalElement)faker::ChemicalElementinline
ChemicalElement(std::string info) (defined in faker::ChemicalElement)faker::ChemicalElementinline
name (defined in faker::ChemicalElement)faker::ChemicalElement
operator==(const ChemicalElement &obj) const (defined in faker::ChemicalElement)faker::ChemicalElementinline
symbol (defined in faker::ChemicalElement)faker::ChemicalElement
~ChemicalElement()=default (defined in faker::ChemicalElement)faker::ChemicalElement
-
- - - - diff --git a/classfaker_1_1ChemicalElement.html b/classfaker_1_1ChemicalElement.html deleted file mode 100644 index 69a014ee4..000000000 --- a/classfaker_1_1ChemicalElement.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -Faker C++ - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
Faker C++ -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
faker::ChemicalElement Class Reference
-
-
- - - - - - - - -

-Public Member Functions

ChemicalElement (std::string name_, std::string symbol_, int atomic_number_)
 
ChemicalElement (std::string info)
 
-bool operator== (const ChemicalElement &obj) const
 
- - - - - - - -

-Public Attributes

-std::string name
 
-std::string symbol
 
-int atomic_number
 
-
The documentation for this class was generated from the following file: -
-
- - - - diff --git a/classfaker_1_1Crypto.html b/classfaker_1_1Crypto.html index debfe6303..8ed1f0102 100644 --- a/classfaker_1_1Crypto.html +++ b/classfaker_1_1Crypto.html @@ -139,7 +139,7 @@

Returns
MD5 hash string.
Crypto::md5("hello world") // "5eb63bbbe01eeed093cb22bb8f5acdc3"
Crypto::md5() // Random hash of random word
-
Definition Crypto.h:14
+
Definition Crypto.h:9
static std::string md5(std::optional< std::string >=std::nullopt)
Returns a random MD5 hash or hash of provided data.

diff --git a/classfaker_1_1Datatype.html b/classfaker_1_1Datatype.html index e23e3ded8..6b7f43090 100644 --- a/classfaker_1_1Datatype.html +++ b/classfaker_1_1Datatype.html @@ -176,7 +176,7 @@

Datatype::boolean() // "false"
Datatype::boolean(0.9) // "true"
Datatype::boolean(0.1) // "false"
-
Definition Datatype.h:8
+
Definition Datatype.h:6

diff --git a/classfaker_1_1Helper.html b/classfaker_1_1Helper.html index 240880c00..b7a4c3abb 100644 --- a/classfaker_1_1Helper.html +++ b/classfaker_1_1Helper.html @@ -339,7 +339,7 @@

{3, "three"}

};
Helper::objectKey(testMap) // "2"
-
static T::key_type objectKey(const T &object)
Returns a random key from given object.
Definition Helper.h:208
+
static T::key_type objectKey(const T &object)
Returns a random key from given object.
Definition Helper.h:207
@@ -384,7 +384,7 @@

Helper::regexpStyleStringParse("#{2,9}") // "#######"
Helper::regexpStyleStringParse("[500-15000]") // "8375"
Helper::regexpStyleStringParse("#{3}test[1-5]") // "###test3"
-
Definition Helper.h:17
+
Definition Helper.h:16
static std::string regexpStyleStringParse(const std::string &input)
Returns the replaced regex-like expression in the string with matching values.
@@ -516,7 +516,7 @@

Returns
T a random element from the std::set.
std::set<char> chars{'a', 'b', 'c', 'd', 'e'};
Helper::setElement(chars) // 'd'
-
static T setElement(const std::set< T > &data)
Get a random element from a std::set.
Definition Helper.h:87
+
static T setElement(const std::set< T > &data)
Get a random element from a std::set.
Definition Helper.h:86
@@ -640,7 +640,7 @@

Returns
T a weighted element value from the vector.
diff --git a/classfaker_1_1Internet.html b/classfaker_1_1Internet.html index 7cd52ddec..a9aad2b53 100644 --- a/classfaker_1_1Internet.html +++ b/classfaker_1_1Internet.html @@ -380,7 +380,7 @@

Returns
Emoji.
Internet::emoji() // "👑"
Internet::emoji(EmojiType::Food) // "🍕"
-
Definition Food.h:9
+
Definition Food.h:8
static std::string emoji(std::optional< EmojiType > type=std::nullopt)
Returns a random emoji.
diff --git a/classfaker_1_1Science.html b/classfaker_1_1Science.html index e0e2e371d..51cade808 100644 --- a/classfaker_1_1Science.html +++ b/classfaker_1_1Science.html @@ -104,25 +104,25 @@ - + - + - + - + - + - + - +

Static Public Member Functions

static ChemicalElement chemicalElement ()
static ChemicalElement chemicalElement ()
 Returns a random chemical element from the periodic table.
 
static Unit unit ()
static Unit unit ()
 Returns a unit of measurement for either distance, mass, time, temp, current.
 
static Unit distanceUnit ()
static Unit distanceUnit ()
 Returns a unit of measurement for either distance.
 
static Unit timeUnit ()
static Unit timeUnit ()
 Returns a unit of measurement for either time.
 
static Unit massUnit ()
static Unit massUnit ()
 Returns a unit of measurement for either mass.
 
static Unit tempUnit ()
static Unit tempUnit ()
 Returns a unit of measurement for either temp.
 
static Unit currentUnit ()
static Unit currentUnit ()
 Returns a unit of measurement for either current.
 
@@ -137,7 +137,7 @@

- + @@ -151,7 +151,7 @@

Returns a random chemical element from the periodic table.

-
Returns
ChemicalElement
+
Returns
ChemicalElement
Science::chemicalElement() // Object of ChemicalElement containing info about a random element in the periodic
table.
static ChemicalElement chemicalElement()
Returns a random chemical element from the periodic table.
@@ -168,7 +168,7 @@

static ChemicalElement faker::Science::chemicalElement static ChemicalElement faker::Science::chemicalElement ( )
- + @@ -182,7 +182,7 @@

Returns a unit of measurement for either current.

-
Returns
Unit
+
Returns
Unit
Science::currentUnit() // Object of Unit containing info about a random unit of measurement used to measure
current.
static Unit currentUnit()
Returns a unit of measurement for either current.
@@ -199,7 +199,7 @@

static Unit faker::Science::currentUnit static Unit faker::Science::currentUnit ( )
- + @@ -213,7 +213,7 @@

Returns a unit of measurement for either distance.

-
Returns
Unit
+
Returns
Unit
Science::distanceUnit() // Object of Unit containing info about a random unit of measurement used to measure
distance.
static Unit distanceUnit()
Returns a unit of measurement for either distance.
@@ -230,7 +230,7 @@

static Unit faker::Science::distanceUnit static Unit faker::Science::distanceUnit ( )
- + @@ -244,7 +244,7 @@

Returns a unit of measurement for either mass.

-
Returns
Unit
+
Returns
Unit
Science::massUnit() // Object of Unit containing info about a random unit of measurement used to measure mass.
static Unit massUnit()
Returns a unit of measurement for either mass.
@@ -260,7 +260,7 @@

static Unit faker::Science::massUnit static Unit faker::Science::massUnit ( )
- + @@ -274,7 +274,7 @@

Returns a unit of measurement for either temp.

-
Returns
Unit
+
Returns
Unit
Science::tempUnit() // Object of Unit containing info about a random unit of measurement used to measure temp.
static Unit tempUnit()
Returns a unit of measurement for either temp.
@@ -290,7 +290,7 @@

static Unit faker::Science::tempUnit static Unit faker::Science::tempUnit ( )
- + @@ -304,7 +304,7 @@

Returns a unit of measurement for either time.

-
Returns
Unit
+
Returns
Unit
Science::timeUnit() // Object of Unit containing info about a random unit of measurement used to measure time.
static Unit timeUnit()
Returns a unit of measurement for either time.
@@ -320,7 +320,7 @@

static Unit faker::Science::timeUnit static Unit faker::Science::timeUnit ( )
- + @@ -334,7 +334,7 @@

Returns a unit of measurement for either distance, mass, time, temp, current.

-
Returns
Unit
+
Returns
Unit
Science::unit() // Object of Unit containing info about a random unit of measurement.
static Unit unit()
Returns a unit of measurement for either distance, mass, time, temp, current.
diff --git a/classfaker_1_1String-members.html b/classfaker_1_1String-members.html index 049db4bf5..ce977fa2b 100644 --- a/classfaker_1_1String-members.html +++ b/classfaker_1_1String-members.html @@ -112,7 +112,7 @@

- + diff --git a/classfaker_1_1String.html b/classfaker_1_1String.html index 89037cb46..353d9c890 100644 --- a/classfaker_1_1String.html +++ b/classfaker_1_1String.html @@ -135,9 +135,9 @@ - - - + + + @@ -623,8 +623,8 @@

-

◆ numeric() [1/2]

+ +

◆ numeric() [1/2]

@@ -640,7 +640,7 @@

- + diff --git a/classfaker_1_1Structure-members.html b/classfaker_1_1Structure-members.html index b3b6a87ab..acd595ad0 100644 --- a/classfaker_1_1Structure-members.html +++ b/classfaker_1_1Structure-members.html @@ -101,8 +101,8 @@

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

static Unit faker::Science::unit static Unit faker::Science::unit ( )
hexadecimal(unsigned length=1, HexCasing casing=HexCasing::Lower, HexPrefix prefix=HexPrefix::ZeroX)faker::Stringstatic
hexadecimal(GuaranteeMap &&guarantee, unsigned length=1, HexCasing casing=HexCasing::Lower, HexPrefix prefix=HexPrefix::ZeroX)faker::Stringstatic
numeric(unsigned length=1, bool allowLeadingZeros=true)faker::Stringstatic
numeric(GuaranteeMap &&guarantee, const unsigned length=1, bool allowLeadingZeros=true)faker::Stringstatic
numeric(GuaranteeMap &&guarantee, unsigned length=1, bool allowLeadingZeros=true)faker::Stringstatic
octal(unsigned length=1)faker::Stringstatic
octal(GuaranteeMap &&guarantee, unsigned length=1)faker::Stringstatic
sample(unsigned length=10)faker::Stringstatic
static std::string numeric (unsigned length=1, bool allowLeadingZeros=true)
 Generates a given length string of digits.
 
static std::string numeric (GuaranteeMap &&guarantee, const unsigned length=1, bool allowLeadingZeros=true)
 Generates a given length string of digits.
 
static std::string numeric (GuaranteeMap &&guarantee, unsigned length=1, bool allowLeadingZeros=true)
 Generates a given length string of digits.
 
static std::string hexadecimal (unsigned length=1, HexCasing casing=HexCasing::Lower, HexPrefix prefix=HexPrefix::ZeroX)
 Generates a hexadecimal string.
 
const unsigned length = 1, unsigned length = 1,
- - + +
csv(const std::map< std::string, faker::Token > items, const unsigned int rows)faker::Structurestatic
json(const std::map< std::string, faker::Token > items)faker::Structurestatic
csv(const std::map< std::string, faker::StructureToken > &items, unsigned int rows)faker::Structurestatic
json(const std::map< std::string, faker::StructureToken > &items)faker::Structurestatic
diff --git a/classfaker_1_1Structure.html b/classfaker_1_1Structure.html index 859829b8d..d9c664c9b 100644 --- a/classfaker_1_1Structure.html +++ b/classfaker_1_1Structure.html @@ -104,16 +104,16 @@ - - - - - - + + + + + +

Static Public Member Functions

static std::string json (const std::map< std::string, faker::Token > items)
 Get a json string based on input.
 
static std::string csv (const std::map< std::string, faker::Token > items, const unsigned int rows)
 Get a csv string based on input.
 
static std::string json (const std::map< std::string, faker::StructureToken > &items)
 Get a json string based on input.
 
static std::string csv (const std::map< std::string, faker::StructureToken > &items, unsigned int rows)
 Get a csv string based on input.
 

Member Function Documentation

- -

◆ csv()

+ +

◆ csv()

@@ -124,12 +124,12 @@

static std::string faker::Structure::csv ( - const std::map< std::string, faker::Token > items, + const std::map< std::string, faker::StructureToken > & items, - const unsigned int rows ) + unsigned int rows ) @@ -141,20 +141,20 @@

Returns
a josn csv based on user selected tokens and rows
-
std::map<std::string, faker::Token> testTokens;
-
testTokens.emplace("Airport name", faker::Token::AirlineAirportName);
-
testTokens.emplace("Bird name", faker::Token::AnimalBird);
-
testTokens.emplace("Actor name", faker::Token::MovieActor);
-
testTokens.emplace("Book title", faker::Token::BookTitle);
-
Structure::csv(testTokens,2) // FoodName,airlineType,airportName
+
std::map<std::string, faker::StructureToken> testTokens;
+
testTokens.emplace("Airport name", faker::StructureToken::AirlineAirportName);
+
testTokens.emplace("Bird name", faker::StructureToken::AnimalBird);
+
testTokens.emplace("Actor name", faker::StructureToken::MovieActor);
+
testTokens.emplace("Book title", faker::StructureToken::BookTitle);
+
Structure::csv(testTokens,2) // FoodName,airlineType,airportName
Lobster Roll,widebody,Soekarno-Hatta International Airport
Pierogi,widebody,Brasilia-Presidente Juscelino Kubitschek International Airport
-
static std::string csv(const std::map< std::string, faker::Token > items, const unsigned int rows)
Get a csv string based on input.
+
static std::string csv(const std::map< std::string, faker::StructureToken > &items, unsigned int rows)
Get a csv string based on input.

- -

◆ json()

+ +

◆ json()

@@ -165,7 +165,7 @@

static std::string faker::Structure::json ( - const std::map< std::string, faker::Token > items) + const std::map< std::string, faker::StructureToken > & items) @@ -177,15 +177,15 @@

Get a json string based on input.

-
Returns
a josn string based on user selected tokens
-
std::map<std::string, faker::Token> testTokens;
-
testTokens.emplace("Airport name", faker::Token::AirlineAirportName);
-
testTokens.emplace("Bird name", faker::Token::AnimalBird);
-
testTokens.emplace("Actor name", faker::Token::MovieActor);
-
testTokens.emplace("Book title", faker::Token::BookTitle);
-
Structure::json(testTokens) // {"FoodName":"Cajun Shrimp
+
Returns
a json string based on user selected tokens
+
std::map<std::string, faker::StructureToken> testTokens;
+
testTokens.emplace("Airport name", faker::StructureToken::AirlineAirportName);
+
testTokens.emplace("Bird name", faker::StructureToken::AnimalBird);
+
testTokens.emplace("Actor name", faker::StructureToken::MovieActor);
+
testTokens.emplace("Book title", faker::StructureToken::BookTitle);
+
Structure::json(testTokens) // {"FoodName":"Cajun Shrimp
Pasta","airlineType":"narrowbody","airportName":"Brisbane International Airport"}
-
static std::string json(const std::map< std::string, faker::Token > items)
Get a json string based on input.
+
static std::string json(const std::map< std::string, faker::StructureToken > &items)
Get a json string based on input.

diff --git a/classfaker_1_1Unit-members.html b/classfaker_1_1Unit-members.html deleted file mode 100644 index a3a648923..000000000 --- a/classfaker_1_1Unit-members.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - -Faker C++ - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
Faker C++ -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
faker::Unit Member List
-
-
- -

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

- - - - - - -
name (defined in faker::Unit)faker::Unit
operator==(const Unit &obj) const (defined in faker::Unit)faker::Unitinline
symbol (defined in faker::Unit)faker::Unit
Unit(std::string name_, std::string symbol_, std::string usedToMeasure_) (defined in faker::Unit)faker::Unitinline
usedToMeasure (defined in faker::Unit)faker::Unit
-
- - - - diff --git a/classfaker_1_1Unit.html b/classfaker_1_1Unit.html deleted file mode 100644 index d05246892..000000000 --- a/classfaker_1_1Unit.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - -Faker C++ - - - - - - - - - - - - - - - - - -
-
- - - - - - - -
-
Faker C++ -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
faker::Unit Class Reference
-
-
- - - - - - -

-Public Member Functions

Unit (std::string name_, std::string symbol_, std::string usedToMeasure_)
 
-bool operator== (const Unit &obj) const
 
- - - - - - - -

-Public Attributes

-std::string name
 
-std::string symbol
 
-std::string usedToMeasure
 
-
The documentation for this class was generated from the following file: -
-
- - - - diff --git a/doxygen_crawl.html b/doxygen_crawl.html index 81ea947d0..364ba487f 100644 --- a/doxygen_crawl.html +++ b/doxygen_crawl.html @@ -59,8 +59,6 @@ - - @@ -127,8 +125,6 @@ - - diff --git a/functions_c.html b/functions_c.html index 6048b7f32..9717869ad 100644 --- a/functions_c.html +++ b/functions_c.html @@ -133,7 +133,7 @@

- c -

diff --git a/functions_j.html b/functions_j.html index 4dfaeca7a..fc1c9f015 100644 --- a/functions_j.html +++ b/functions_j.html @@ -102,7 +102,7 @@

- j -

diff --git a/navtreeindex0.js b/navtreeindex0.js index 67231df84..5aeb82dae 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -4,40 +4,38 @@ var NAVTREEINDEX0 = "classfaker_1_1Airline.html":[0,0,0,0], "classfaker_1_1Animal.html":[0,0,0,1], "classfaker_1_1Book.html":[0,0,0,2], -"classfaker_1_1ChemicalElement.html":[0,0,0,4], -"classfaker_1_1Color.html":[0,0,0,5], -"classfaker_1_1Commerce.html":[0,0,0,6], -"classfaker_1_1Company.html":[0,0,0,7], -"classfaker_1_1Computer.html":[0,0,0,8], -"classfaker_1_1Crypto.html":[0,0,0,10], -"classfaker_1_1Database.html":[0,0,0,11], -"classfaker_1_1Datatype.html":[0,0,0,12], -"classfaker_1_1Date.html":[0,0,0,13], -"classfaker_1_1Finance.html":[0,0,0,15], -"classfaker_1_1Food.html":[0,0,0,16], -"classfaker_1_1Git.html":[0,0,0,17], -"classfaker_1_1Hacker.html":[0,0,0,18], -"classfaker_1_1Helper.html":[0,0,0,19], -"classfaker_1_1Image.html":[0,0,0,20], -"classfaker_1_1Internet.html":[0,0,0,21], -"classfaker_1_1Location.html":[0,0,0,22], -"classfaker_1_1Lorem.html":[0,0,0,23], -"classfaker_1_1Medicine.html":[0,0,0,24], -"classfaker_1_1Movie.html":[0,0,0,25], -"classfaker_1_1Music.html":[0,0,0,26], -"classfaker_1_1Number.html":[0,0,0,28], -"classfaker_1_1Person.html":[0,0,0,30], -"classfaker_1_1Phone.html":[0,0,0,31], -"classfaker_1_1Science.html":[0,0,0,32], -"classfaker_1_1Sport.html":[0,0,0,33], -"classfaker_1_1String.html":[0,0,0,34], -"classfaker_1_1Structure.html":[0,0,0,35], -"classfaker_1_1System.html":[0,0,0,36], -"classfaker_1_1Unit.html":[0,0,0,37], -"classfaker_1_1Vehicle.html":[0,0,0,38], -"classfaker_1_1VideoGame.html":[0,0,0,39], -"classfaker_1_1Weather.html":[0,0,0,40], -"classfaker_1_1Word.html":[0,0,0,41], +"classfaker_1_1Color.html":[0,0,0,4], +"classfaker_1_1Commerce.html":[0,0,0,5], +"classfaker_1_1Company.html":[0,0,0,6], +"classfaker_1_1Computer.html":[0,0,0,7], +"classfaker_1_1Crypto.html":[0,0,0,9], +"classfaker_1_1Database.html":[0,0,0,10], +"classfaker_1_1Datatype.html":[0,0,0,11], +"classfaker_1_1Date.html":[0,0,0,12], +"classfaker_1_1Finance.html":[0,0,0,14], +"classfaker_1_1Food.html":[0,0,0,15], +"classfaker_1_1Git.html":[0,0,0,16], +"classfaker_1_1Hacker.html":[0,0,0,17], +"classfaker_1_1Helper.html":[0,0,0,18], +"classfaker_1_1Image.html":[0,0,0,19], +"classfaker_1_1Internet.html":[0,0,0,20], +"classfaker_1_1Location.html":[0,0,0,21], +"classfaker_1_1Lorem.html":[0,0,0,22], +"classfaker_1_1Medicine.html":[0,0,0,23], +"classfaker_1_1Movie.html":[0,0,0,24], +"classfaker_1_1Music.html":[0,0,0,25], +"classfaker_1_1Number.html":[0,0,0,27], +"classfaker_1_1Person.html":[0,0,0,29], +"classfaker_1_1Phone.html":[0,0,0,30], +"classfaker_1_1Science.html":[0,0,0,31], +"classfaker_1_1Sport.html":[0,0,0,32], +"classfaker_1_1String.html":[0,0,0,33], +"classfaker_1_1Structure.html":[0,0,0,34], +"classfaker_1_1System.html":[0,0,0,35], +"classfaker_1_1Vehicle.html":[0,0,0,36], +"classfaker_1_1VideoGame.html":[0,0,0,37], +"classfaker_1_1Weather.html":[0,0,0,38], +"classfaker_1_1Word.html":[0,0,0,39], "index.html":[], "pages.html":[], "structfaker_1_1Airline_1_1AirlineStruct.html":[0,0,0,0,0], @@ -45,13 +43,13 @@ var NAVTREEINDEX0 = "structfaker_1_1Airline_1_1Airport.html":[0,0,0,0,2], "structfaker_1_1Airline_1_1Range.html":[0,0,0,0,3], "structfaker_1_1CharCount.html":[0,0,0,3], -"structfaker_1_1CronOptions.html":[0,0,0,9], -"structfaker_1_1FileOptions.html":[0,0,0,14], -"structfaker_1_1Helper_1_1WeightedElement.html":[0,0,0,19,0], -"structfaker_1_1NetworkInterfaceOptions.html":[0,0,0,27], -"structfaker_1_1PasswordOptions.html":[0,0,0,29], -"structfaker_1_1Weather_1_1Pressure.html":[0,0,0,40,0], -"structfaker_1_1Weather_1_1Temperature.html":[0,0,0,40,1], -"structfaker_1_1Weather_1_1Visibility.html":[0,0,0,40,2], -"structfaker_1_1Weather_1_1WindSpeed.html":[0,0,0,40,3] +"structfaker_1_1CronOptions.html":[0,0,0,8], +"structfaker_1_1FileOptions.html":[0,0,0,13], +"structfaker_1_1Helper_1_1WeightedElement.html":[0,0,0,18,0], +"structfaker_1_1NetworkInterfaceOptions.html":[0,0,0,26], +"structfaker_1_1PasswordOptions.html":[0,0,0,28], +"structfaker_1_1Weather_1_1Pressure.html":[0,0,0,38,0], +"structfaker_1_1Weather_1_1Temperature.html":[0,0,0,38,1], +"structfaker_1_1Weather_1_1Visibility.html":[0,0,0,38,2], +"structfaker_1_1Weather_1_1WindSpeed.html":[0,0,0,38,3] }; diff --git a/search/all_12.js b/search/all_12.js index e05dd42d3..c72ac8c32 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -1,9 +1,8 @@ var searchData= [ - ['unit_0',['Unit',['../classfaker_1_1Unit.html',1,'faker']]], - ['unit_1',['unit',['../classfaker_1_1Science.html#a1603947449ecc5b7bc31f5a4bbc4cc97',1,'faker::Science']]], - ['url_2',['url',['../classfaker_1_1Internet.html#a5e1681677a509194597848cd44f9a2e7',1,'faker::Internet']]], - ['username_3',['username',['../classfaker_1_1Internet.html#a3da60463681646e7d87a056412828820',1,'faker::Internet']]], - ['uuid_4',['uuid',['../classfaker_1_1String.html#a24034056c03b01f957e2408cdc6d63d2',1,'faker::String']]], - ['uvindex_5',['uvIndex',['../classfaker_1_1Weather.html#af08c719eb777ac717955d58a817f6cc4',1,'faker::Weather']]] + ['unit_0',['unit',['../classfaker_1_1Science.html#a1603947449ecc5b7bc31f5a4bbc4cc97',1,'faker::Science']]], + ['url_1',['url',['../classfaker_1_1Internet.html#a5e1681677a509194597848cd44f9a2e7',1,'faker::Internet']]], + ['username_2',['username',['../classfaker_1_1Internet.html#a3da60463681646e7d87a056412828820',1,'faker::Internet']]], + ['uuid_3',['uuid',['../classfaker_1_1String.html#a24034056c03b01f957e2408cdc6d63d2',1,'faker::String']]], + ['uvindex_4',['uvIndex',['../classfaker_1_1Weather.html#af08c719eb777ac717955d58a817f6cc4',1,'faker::Weather']]] ]; diff --git a/search/all_2.js b/search/all_2.js index e5339f6ed..f1e110423 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -9,45 +9,44 @@ var searchData= ['cetacean_6',['cetacean',['../classfaker_1_1Animal.html#a4222f2d97027e1113dde04f680f9f260',1,'faker::Animal']]], ['charcount_7',['CharCount',['../structfaker_1_1CharCount.html',1,'faker']]], ['checkifemojiisvalid_8',['checkIfEmojiIsValid',['../classfaker_1_1Internet.html#a8c9c6bd30d42f99a7a58728034ef8f6a',1,'faker::Internet']]], - ['chemicalelement_9',['ChemicalElement',['../classfaker_1_1ChemicalElement.html',1,'faker']]], - ['chemicalelement_10',['chemicalElement',['../classfaker_1_1Science.html#a5116cd34282af4c47442a32567da8c81',1,'faker::Science']]], - ['chinesezodiac_11',['chineseZodiac',['../classfaker_1_1Person.html#ac3c84e7dcb1c55d4750e91d8994129d2',1,'faker::Person']]], - ['city_12',['city',['../classfaker_1_1Location.html#a4578e9848a3b0b7234be576135ae273a',1,'faker::Location']]], - ['cloudcover_13',['cloudCover',['../classfaker_1_1Weather.html#a7d0451aec845d0f8e1bd2e9989d818d0',1,'faker::Weather']]], - ['cmyk_14',['cmyk',['../classfaker_1_1Color.html#ab47da1db6d86a41571bfb39a079e45ad',1,'faker::Color']]], - ['collation_15',['collation',['../classfaker_1_1Database.html#aed7e54cfd58e1e738ab314c4560da93d',1,'faker::Database']]], - ['color_16',['Color',['../classfaker_1_1Color.html',1,'faker']]], - ['color_17',['color',['../classfaker_1_1Vehicle.html#a56e785dc7e34dbb5961db76a86f4a25a',1,'faker::Vehicle']]], - ['columnname_18',['columnName',['../classfaker_1_1Database.html#abcf37794c994f4eb7ddffe84f5be7f2b',1,'faker::Database']]], - ['columntype_19',['columnType',['../classfaker_1_1Database.html#afceac6312025f6524a77d5baa242997b',1,'faker::Database']]], - ['commerce_20',['Commerce',['../classfaker_1_1Commerce.html',1,'faker']]], - ['commitdate_21',['commitDate',['../classfaker_1_1Git.html#ab0404e11d51cd0d3a8a0b6037d3e7fb5',1,'faker::Git']]], - ['commitentry_22',['commitEntry',['../classfaker_1_1Git.html#ab1dd98e7e18d423d3ab440b3dcccbc65',1,'faker::Git']]], - ['commitmessage_23',['commitMessage',['../classfaker_1_1Git.html#acff32a57f9fb98aa7aec672c9b10f0f8',1,'faker::Git']]], - ['commitsha_24',['commitSha',['../classfaker_1_1Git.html#a7e8969371065ec43e151a0ec264be99c',1,'faker::Git']]], - ['commonfileextension_25',['commonFileExtension',['../classfaker_1_1System.html#aede4dfb85d1be600d05321a9f56065b1',1,'faker::System']]], - ['commonfilename_26',['commonFileName',['../classfaker_1_1System.html#aca3c376a17ce4a50b3ee513a8529419e',1,'faker::System']]], - ['commonfiletype_27',['commonFileType',['../classfaker_1_1System.html#aeebbc84e7748dfefc7147378da495c26',1,'faker::System']]], - ['company_28',['Company',['../classfaker_1_1Company.html',1,'faker']]], - ['computer_29',['Computer',['../classfaker_1_1Computer.html',1,'faker']]], - ['condition_30',['condition',['../classfaker_1_1Medicine.html#ae85bddab9a5bcd24d6c89d5ee6c8bc97',1,'faker::Medicine']]], - ['conjunction_31',['conjunction',['../classfaker_1_1Word.html#a8a196cfe1c2aa792d79ae394d0ba9c36',1,'faker::Word']]], - ['country_32',['country',['../classfaker_1_1Location.html#aeccb6f1381edcf063010684db6c47f66',1,'faker::Location']]], - ['countrycode_33',['countryCode',['../classfaker_1_1Location.html#a8ea095c82bb74e805c4c24a8dfccc5cf',1,'faker::Location']]], - ['cow_34',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], - ['cpumanufacture_35',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], - ['cpumodel_36',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], - ['cputype_37',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], - ['creditcardcvv_38',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], - ['creditcardnumber_39',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], - ['crocodilia_40',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], - ['cron_41',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], - ['cronoptions_42',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], - ['crypto_43',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]], - ['csv_44',['csv',['../classfaker_1_1Structure.html#a6c4e6240c2968a92ededb73eedc6b400',1,'faker::Structure']]], - ['currency_45',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], - ['currencycode_46',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], - ['currencyname_47',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], - ['currencysymbol_48',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], - ['currentunit_49',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] + ['chemicalelement_9',['chemicalElement',['../classfaker_1_1Science.html#a5116cd34282af4c47442a32567da8c81',1,'faker::Science']]], + ['chinesezodiac_10',['chineseZodiac',['../classfaker_1_1Person.html#ac3c84e7dcb1c55d4750e91d8994129d2',1,'faker::Person']]], + ['city_11',['city',['../classfaker_1_1Location.html#a4578e9848a3b0b7234be576135ae273a',1,'faker::Location']]], + ['cloudcover_12',['cloudCover',['../classfaker_1_1Weather.html#a7d0451aec845d0f8e1bd2e9989d818d0',1,'faker::Weather']]], + ['cmyk_13',['cmyk',['../classfaker_1_1Color.html#ab47da1db6d86a41571bfb39a079e45ad',1,'faker::Color']]], + ['collation_14',['collation',['../classfaker_1_1Database.html#aed7e54cfd58e1e738ab314c4560da93d',1,'faker::Database']]], + ['color_15',['Color',['../classfaker_1_1Color.html',1,'faker']]], + ['color_16',['color',['../classfaker_1_1Vehicle.html#a56e785dc7e34dbb5961db76a86f4a25a',1,'faker::Vehicle']]], + ['columnname_17',['columnName',['../classfaker_1_1Database.html#abcf37794c994f4eb7ddffe84f5be7f2b',1,'faker::Database']]], + ['columntype_18',['columnType',['../classfaker_1_1Database.html#afceac6312025f6524a77d5baa242997b',1,'faker::Database']]], + ['commerce_19',['Commerce',['../classfaker_1_1Commerce.html',1,'faker']]], + ['commitdate_20',['commitDate',['../classfaker_1_1Git.html#ab0404e11d51cd0d3a8a0b6037d3e7fb5',1,'faker::Git']]], + ['commitentry_21',['commitEntry',['../classfaker_1_1Git.html#ab1dd98e7e18d423d3ab440b3dcccbc65',1,'faker::Git']]], + ['commitmessage_22',['commitMessage',['../classfaker_1_1Git.html#acff32a57f9fb98aa7aec672c9b10f0f8',1,'faker::Git']]], + ['commitsha_23',['commitSha',['../classfaker_1_1Git.html#a7e8969371065ec43e151a0ec264be99c',1,'faker::Git']]], + ['commonfileextension_24',['commonFileExtension',['../classfaker_1_1System.html#aede4dfb85d1be600d05321a9f56065b1',1,'faker::System']]], + ['commonfilename_25',['commonFileName',['../classfaker_1_1System.html#aca3c376a17ce4a50b3ee513a8529419e',1,'faker::System']]], + ['commonfiletype_26',['commonFileType',['../classfaker_1_1System.html#aeebbc84e7748dfefc7147378da495c26',1,'faker::System']]], + ['company_27',['Company',['../classfaker_1_1Company.html',1,'faker']]], + ['computer_28',['Computer',['../classfaker_1_1Computer.html',1,'faker']]], + ['condition_29',['condition',['../classfaker_1_1Medicine.html#ae85bddab9a5bcd24d6c89d5ee6c8bc97',1,'faker::Medicine']]], + ['conjunction_30',['conjunction',['../classfaker_1_1Word.html#a8a196cfe1c2aa792d79ae394d0ba9c36',1,'faker::Word']]], + ['country_31',['country',['../classfaker_1_1Location.html#aeccb6f1381edcf063010684db6c47f66',1,'faker::Location']]], + ['countrycode_32',['countryCode',['../classfaker_1_1Location.html#a8ea095c82bb74e805c4c24a8dfccc5cf',1,'faker::Location']]], + ['cow_33',['cow',['../classfaker_1_1Animal.html#a019aa2791ad5a1b79702a69b3cc2f573',1,'faker::Animal']]], + ['cpumanufacture_34',['cpuManufacture',['../classfaker_1_1Computer.html#a482d38a9470e9f6ebac8e8920ce61090',1,'faker::Computer']]], + ['cpumodel_35',['cpuModel',['../classfaker_1_1Computer.html#ade5b1561feb47713f030ea5db4e4f30c',1,'faker::Computer']]], + ['cputype_36',['cpuType',['../classfaker_1_1Computer.html#a644b4b5de6cdba99f948d0cb4cb86022',1,'faker::Computer']]], + ['creditcardcvv_37',['creditCardCvv',['../classfaker_1_1Finance.html#a6b4c79d892fdbbf0a0109dc7927bc947',1,'faker::Finance']]], + ['creditcardnumber_38',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], + ['crocodilia_39',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], + ['cron_40',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], + ['cronoptions_41',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], + ['crypto_42',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]], + ['csv_43',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], + ['currency_44',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], + ['currencycode_45',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], + ['currencyname_46',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], + ['currencysymbol_47',['currencySymbol',['../classfaker_1_1Finance.html#a61a9d4a689fc4efafed30c47980ce9e3',1,'faker::Finance']]], + ['currentunit_48',['currentUnit',['../classfaker_1_1Science.html#ac2014d2e2ef7e8f1ac52a47a72444c50',1,'faker::Science']]] ]; diff --git a/search/all_9.js b/search/all_9.js index 7c7c72e65..66974487a 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -4,5 +4,5 @@ var searchData= ['jobdescriptor_1',['jobDescriptor',['../classfaker_1_1Person.html#ab0e3138fe0416b97219b0815d3de5e29',1,'faker::Person']]], ['jobtitle_2',['jobTitle',['../classfaker_1_1Person.html#ad9a483f0c91fd2e31b35872aa2d669bc',1,'faker::Person']]], ['jobtype_3',['jobType',['../classfaker_1_1Person.html#a52c0cc839ae71e5df637137becdad8ef',1,'faker::Person']]], - ['json_4',['json',['../classfaker_1_1Structure.html#adbae05168b0e3dcec41128702b3ff8e2',1,'faker::Structure']]] + ['json_4',['json',['../classfaker_1_1Structure.html#a108de9706f705a6a9fd63f250e4b568a',1,'faker::Structure']]] ]; diff --git a/search/all_c.js b/search/all_c.js index db5274aae..8489f8072 100644 --- a/search/all_c.js +++ b/search/all_c.js @@ -8,6 +8,6 @@ var searchData= ['noun_5',['noun',['../classfaker_1_1Hacker.html#a4891fc46bc1412cee6eeb5bf4d4f83a3',1,'faker::Hacker::noun()'],['../classfaker_1_1Word.html#a6f644dfb44d19e572d5e94385c7b9a72',1,'faker::Word::noun()']]], ['number_6',['Number',['../classfaker_1_1Number.html',1,'faker']]], ['number_7',['number',['../classfaker_1_1Phone.html#a59cd1fd7afba171d88413d3a7205ae14',1,'faker::Phone::number(std::optional< std::string >=std::nullopt)'],['../classfaker_1_1Phone.html#a3c4add3af70eb644ded6f99006e27298',1,'faker::Phone::number(PhoneNumberCountryFormat format)']]], - ['numeric_8',['numeric',['../classfaker_1_1String.html#ae89b77056f5e13e5bf0418d6a6c231fd',1,'faker::String::numeric(unsigned length=1, bool allowLeadingZeros=true)'],['../classfaker_1_1String.html#a2cde626ae90c336553bde19605e103f5',1,'faker::String::numeric(GuaranteeMap &&guarantee, const unsigned length=1, bool allowLeadingZeros=true)']]], + ['numeric_8',['numeric',['../classfaker_1_1String.html#ae89b77056f5e13e5bf0418d6a6c231fd',1,'faker::String::numeric(unsigned length=1, bool allowLeadingZeros=true)'],['../classfaker_1_1String.html#aa66f7472ddefd6b8e70bd565cdf8dd48',1,'faker::String::numeric(GuaranteeMap &&guarantee, unsigned length=1, bool allowLeadingZeros=true)']]], ['nut_9',['nut',['../classfaker_1_1Food.html#a17eb016f0b958cafab9cec5f065126a6',1,'faker::Food']]] ]; diff --git a/search/classes_10.js b/search/classes_10.js index 0645834c4..0a7b56aee 100644 --- a/search/classes_10.js +++ b/search/classes_10.js @@ -1,6 +1,7 @@ var searchData= [ - ['vehicle_0',['Vehicle',['../classfaker_1_1Vehicle.html',1,'faker']]], - ['videogame_1',['VideoGame',['../classfaker_1_1VideoGame.html',1,'faker']]], - ['visibility_2',['Visibility',['../structfaker_1_1Weather_1_1Visibility.html',1,'faker::Weather']]] + ['weather_0',['Weather',['../classfaker_1_1Weather.html',1,'faker']]], + ['weightedelement_1',['WeightedElement',['../structfaker_1_1Helper_1_1WeightedElement.html',1,'faker::Helper']]], + ['windspeed_2',['WindSpeed',['../structfaker_1_1Weather_1_1WindSpeed.html',1,'faker::Weather']]], + ['word_3',['Word',['../classfaker_1_1Word.html',1,'faker']]] ]; diff --git a/search/classes_11.js b/search/classes_11.js deleted file mode 100644 index 0a7b56aee..000000000 --- a/search/classes_11.js +++ /dev/null @@ -1,7 +0,0 @@ -var searchData= -[ - ['weather_0',['Weather',['../classfaker_1_1Weather.html',1,'faker']]], - ['weightedelement_1',['WeightedElement',['../structfaker_1_1Helper_1_1WeightedElement.html',1,'faker::Helper']]], - ['windspeed_2',['WindSpeed',['../structfaker_1_1Weather_1_1WindSpeed.html',1,'faker::Weather']]], - ['word_3',['Word',['../classfaker_1_1Word.html',1,'faker']]] -]; diff --git a/search/classes_2.js b/search/classes_2.js index 8d96bbc20..d2c8ca4bc 100644 --- a/search/classes_2.js +++ b/search/classes_2.js @@ -1,11 +1,10 @@ var searchData= [ ['charcount_0',['CharCount',['../structfaker_1_1CharCount.html',1,'faker']]], - ['chemicalelement_1',['ChemicalElement',['../classfaker_1_1ChemicalElement.html',1,'faker']]], - ['color_2',['Color',['../classfaker_1_1Color.html',1,'faker']]], - ['commerce_3',['Commerce',['../classfaker_1_1Commerce.html',1,'faker']]], - ['company_4',['Company',['../classfaker_1_1Company.html',1,'faker']]], - ['computer_5',['Computer',['../classfaker_1_1Computer.html',1,'faker']]], - ['cronoptions_6',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], - ['crypto_7',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]] + ['color_1',['Color',['../classfaker_1_1Color.html',1,'faker']]], + ['commerce_2',['Commerce',['../classfaker_1_1Commerce.html',1,'faker']]], + ['company_3',['Company',['../classfaker_1_1Company.html',1,'faker']]], + ['computer_4',['Computer',['../classfaker_1_1Computer.html',1,'faker']]], + ['cronoptions_5',['CronOptions',['../structfaker_1_1CronOptions.html',1,'faker']]], + ['crypto_6',['Crypto',['../classfaker_1_1Crypto.html',1,'faker']]] ]; diff --git a/search/classes_f.js b/search/classes_f.js index 4019f30b1..0645834c4 100644 --- a/search/classes_f.js +++ b/search/classes_f.js @@ -1,4 +1,6 @@ var searchData= [ - ['unit_0',['Unit',['../classfaker_1_1Unit.html',1,'faker']]] + ['vehicle_0',['Vehicle',['../classfaker_1_1Vehicle.html',1,'faker']]], + ['videogame_1',['VideoGame',['../classfaker_1_1VideoGame.html',1,'faker']]], + ['visibility_2',['Visibility',['../structfaker_1_1Weather_1_1Visibility.html',1,'faker::Weather']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js index 767b330f0..5e4c25483 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -35,7 +35,7 @@ var searchData= ['creditcardnumber_32',['creditCardNumber',['../classfaker_1_1Finance.html#ac0aa71a72d411fb89c5ba623db469bd4',1,'faker::Finance']]], ['crocodilia_33',['crocodilia',['../classfaker_1_1Animal.html#a4be5f2e822a7f3aa5d3bb3132bca7738',1,'faker::Animal']]], ['cron_34',['cron',['../classfaker_1_1System.html#abb1db608d1a8799021812fd616ed433c',1,'faker::System']]], - ['csv_35',['csv',['../classfaker_1_1Structure.html#a6c4e6240c2968a92ededb73eedc6b400',1,'faker::Structure']]], + ['csv_35',['csv',['../classfaker_1_1Structure.html#af53a81d02be66dc2d27a671621cead41',1,'faker::Structure']]], ['currency_36',['currency',['../classfaker_1_1Finance.html#a828465726c086af725ac1050d0e6ccd2',1,'faker::Finance']]], ['currencycode_37',['currencyCode',['../classfaker_1_1Finance.html#aae7be3b5df8091e8a9d25d88fe41ecab',1,'faker::Finance']]], ['currencyname_38',['currencyName',['../classfaker_1_1Finance.html#aea30c16fd3757eec52025100bc553136',1,'faker::Finance']]], diff --git a/search/functions_9.js b/search/functions_9.js index 7c7c72e65..66974487a 100644 --- a/search/functions_9.js +++ b/search/functions_9.js @@ -4,5 +4,5 @@ var searchData= ['jobdescriptor_1',['jobDescriptor',['../classfaker_1_1Person.html#ab0e3138fe0416b97219b0815d3de5e29',1,'faker::Person']]], ['jobtitle_2',['jobTitle',['../classfaker_1_1Person.html#ad9a483f0c91fd2e31b35872aa2d669bc',1,'faker::Person']]], ['jobtype_3',['jobType',['../classfaker_1_1Person.html#a52c0cc839ae71e5df637137becdad8ef',1,'faker::Person']]], - ['json_4',['json',['../classfaker_1_1Structure.html#adbae05168b0e3dcec41128702b3ff8e2',1,'faker::Structure']]] + ['json_4',['json',['../classfaker_1_1Structure.html#a108de9706f705a6a9fd63f250e4b568a',1,'faker::Structure']]] ]; diff --git a/search/functions_c.js b/search/functions_c.js index 42af82401..6e416b9bb 100644 --- a/search/functions_c.js +++ b/search/functions_c.js @@ -6,6 +6,6 @@ var searchData= ['nonalcoholicbeverage_3',['nonalcoholicBeverage',['../classfaker_1_1Food.html#a960189dfebe1cc08826a82c5f3f6dec0',1,'faker::Food']]], ['noun_4',['noun',['../classfaker_1_1Hacker.html#a4891fc46bc1412cee6eeb5bf4d4f83a3',1,'faker::Hacker::noun()'],['../classfaker_1_1Word.html#a6f644dfb44d19e572d5e94385c7b9a72',1,'faker::Word::noun()']]], ['number_5',['number',['../classfaker_1_1Phone.html#a59cd1fd7afba171d88413d3a7205ae14',1,'faker::Phone::number(std::optional< std::string >=std::nullopt)'],['../classfaker_1_1Phone.html#a3c4add3af70eb644ded6f99006e27298',1,'faker::Phone::number(PhoneNumberCountryFormat format)']]], - ['numeric_6',['numeric',['../classfaker_1_1String.html#ae89b77056f5e13e5bf0418d6a6c231fd',1,'faker::String::numeric(unsigned length=1, bool allowLeadingZeros=true)'],['../classfaker_1_1String.html#a2cde626ae90c336553bde19605e103f5',1,'faker::String::numeric(GuaranteeMap &&guarantee, const unsigned length=1, bool allowLeadingZeros=true)']]], + ['numeric_6',['numeric',['../classfaker_1_1String.html#ae89b77056f5e13e5bf0418d6a6c231fd',1,'faker::String::numeric(unsigned length=1, bool allowLeadingZeros=true)'],['../classfaker_1_1String.html#aa66f7472ddefd6b8e70bd565cdf8dd48',1,'faker::String::numeric(GuaranteeMap &&guarantee, unsigned length=1, bool allowLeadingZeros=true)']]], ['nut_7',['nut',['../classfaker_1_1Food.html#a17eb016f0b958cafab9cec5f065126a6',1,'faker::Food']]] ]; diff --git a/search/searchdata.js b/search/searchdata.js index d00b32114..0e1b8888e 100644 --- a/search/searchdata.js +++ b/search/searchdata.js @@ -1,7 +1,7 @@ var indexSectionsWithContent = { 0: "abcdefghijlmnoprstuvwz", - 1: "abcdfghilmnprstuvw", + 1: "abcdfghilmnprstvw", 2: "abcdefghijlmnoprstuvwz", 3: "cf" };