-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added location addresses data from Nepal (#529)
- Loading branch information
1 parent
7c0a660
commit 13c5180
Showing
8 changed files
with
197 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,8 @@ enum class AddressCountry | |
Finland, | ||
Estonia, | ||
Romania, | ||
Latvia | ||
Latvia, | ||
Nepal | ||
}; | ||
|
||
class Location | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#pragma once | ||
|
||
#include "../CountryAddresses.h" | ||
#include "NepalCities.h" | ||
#include "NepalStates.h" | ||
#include "NepalStreetSuffixes.h" | ||
|
||
namespace faker | ||
{ | ||
const std::string nepalZipCodeFormat{"######"}; | ||
|
||
const std::vector<std::string> nepalAddressFormats{"{buildingNumber} {street}"}; | ||
|
||
const std::vector<std::string> nepalSecondaryAddressFormats{"Apt. ###", "Flat ###"}; | ||
|
||
const std::vector<std::string> nepalBuildingNumberFormats{"#####", "####", "###"}; | ||
|
||
const std::vector<std::string> nepalStreetFormats{"{firstName} {streetSuffix}", "{lastName} {streetSuffix}"}; | ||
|
||
const std::vector<std::string> nepalCityFormats{"{cityName}"}; | ||
|
||
const CountryAddresses nepalAddresses{nepalZipCodeFormat, | ||
nepalAddressFormats, | ||
nepalSecondaryAddressFormats, | ||
nepalStreetFormats, | ||
{}, | ||
{}, | ||
nepalStreetSuffixes, | ||
nepalBuildingNumberFormats, | ||
nepalCityFormats, | ||
{}, | ||
nepalCities, | ||
{}, | ||
nepalStates, | ||
{}}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> nepalCities{ | ||
"Bhojpur", | ||
"Dhankuta", | ||
"Ilam", | ||
"Bhadrapur", | ||
"Diktel", | ||
"Biratnagar", | ||
"Siddhicharan", | ||
"Phidim", | ||
"Khandbari", | ||
"Solududhkunda", | ||
"Inaruwa", | ||
"Phungling", | ||
"Myanglung", | ||
"Triyuga", | ||
"Birgunj", | ||
"Kalaiya", | ||
"Gaur", | ||
"Malangwa", | ||
"Janakpur", | ||
"Siraha", | ||
"Jaleshwar", | ||
"Rajbiraj", | ||
"Kamalamai", | ||
"Manthali", | ||
"Bhimeshwar", | ||
"Bhaktapur", | ||
"Nilkantha", | ||
"Kathmandu", | ||
"Dhulikhel", | ||
"Lalitpur", | ||
"Bidur", | ||
"Dhunche", | ||
"Chautara", | ||
"Bharatpur", | ||
"Hetauda", | ||
"Baglung", | ||
"Gorkha", | ||
"Pokhara", | ||
"Besisahar", | ||
"Chame", | ||
"Jomsom", | ||
"Beni", | ||
"Kawasoti", | ||
"Kusma", | ||
"Putalibazar", | ||
"Damauli", | ||
"Taulihawa", | ||
"Ramgram", | ||
"Siddharthanagar", | ||
"Sandhikharka", | ||
"Tamghas", | ||
"Tansen", | ||
"Ghorahi", | ||
"Pyuthan", | ||
"Liwang", | ||
"Rukumkot", | ||
"Nepalganj", | ||
"Gulariya", | ||
"Musikot", | ||
"Salyan", | ||
"Dunai", | ||
"Simikot", | ||
"Chandannath", | ||
"Manma", | ||
"Gamgadhi", | ||
"Birendranagar", | ||
"Narayan", | ||
"Khalanga", | ||
"Dhangadhi", | ||
"Mangalsen", | ||
"Dipayal Silgadhi", | ||
"Jayaprithvi", | ||
"Martadi", | ||
"Bheemdatta", | ||
"Amargadhi", | ||
"Dasharathchand", | ||
"Darchula", | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> nepalStates = { | ||
"Koshi", | ||
"Madhesh", | ||
"Bagmati", | ||
"Gandaki", | ||
"Lumbini", | ||
"Karnali", | ||
"Sudurpashchim", | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
namespace faker | ||
{ | ||
const std::vector<std::string> nepalStreetSuffixes = { | ||
|
||
"Upatyakaa", "Kharka", "Bhanjyang", "Chaur", "Danda", | ||
"Chowk", "Bari", "Ghari", "Bot", "Pur", | ||
"Gadhi" "Dhara", "Pokhari", "Kot", "Dhunga", | ||
"Khola", "Taal", "Lek", "Besi", "Tar", | ||
}; | ||
} |