Merge lp:~paul-lucas/zorba/pjl-misc into lp:zorba

Proposed by Paul J. Lucas
Status: Merged
Approved by: Matthias Brantner
Approved revision: 11109
Merged at revision: 11278
Proposed branch: lp:~paul-lucas/zorba/pjl-misc
Merge into: lp:zorba
Diff against target: 671 lines (+318/-250)
7 files modified
include/zorba/dynamic_context.h (+21/-0)
include/zorba/locale.h (+256/-0)
src/api/dynamiccontextimpl.cpp (+12/-0)
src/api/dynamiccontextimpl.h (+7/-0)
src/context/dynamic_context.cpp (+4/-0)
src/context/dynamic_context.h (+18/-0)
src/zorbautils/locale.h (+0/-250)
To merge this branch: bzr merge lp:~paul-lucas/zorba/pjl-misc
Reviewer Review Type Date Requested Status
Matthias Brantner Approve
Paul J. Lucas Approve
Review via email: mp+152319@code.launchpad.net

Commit message

Added locale to dynamic context. (This is needed to implement format-date() correctly.)

Description of the change

Added locale to dynamic context. (This is needed to implement format-date() correctly.)

To post a comment you must log in.
Revision history for this message
Paul J. Lucas (paul-lucas) :
review: Approve
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job pjl-misc-2013-03-08T05-00-48.853Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/zorba/dynamic_context.h'
2--- include/zorba/dynamic_context.h 2013-02-07 17:24:36 +0000
3+++ include/zorba/dynamic_context.h 2013-03-08 04:27:22 +0000
4@@ -21,6 +21,7 @@
5 #include <memory>
6
7 #include <zorba/config.h>
8+#include <zorba/locale.h>
9 #include <zorba/api_shared_types.h>
10 #include <zorba/static_context_consts.h>
11 #include <zorba/xmldatamanager.h>
12@@ -247,6 +248,26 @@
13 virtual Item
14 getDefaultCollection() const = 0;
15
16+ /** \brief Sets the locale.
17+ *
18+ * @param aLang The language to set.
19+ * @param aCountry The country to set.
20+ */
21+ virtual void
22+ setLocale( locale::iso639_1::type aLang,
23+ locale::iso3166_1::type aCountry ) = 0;
24+
25+ /** \brief Gets the locale.
26+ *
27+ * @param aLang A pointer to a \c iso639_1::type to receive the language.
28+ * If \c null, this is not set.
29+ * @param aCountry A pointer to a \c iso3166_1::type to receive the country.
30+ * If \c null, this is not set.
31+ */
32+ virtual void
33+ getLocale( locale::iso639_1::type *aLang,
34+ locale::iso3166_1::type *aCountry ) const = 0;
35+
36 /** \brief Add a name-value pair to this context.
37 * The value can be accessed in the evaluate method
38 * of external functions (see ContextualExternalFunction).
39
40=== modified file 'include/zorba/locale.h'
41--- include/zorba/locale.h 2013-02-07 17:24:36 +0000
42+++ include/zorba/locale.h 2013-03-08 04:27:22 +0000
43@@ -218,6 +218,262 @@
44 };
45 }
46
47+ /**
48+ * Defines constants for all ISO 3166-1 country codes.
49+ */
50+ namespace iso3166_1 {
51+ enum type {
52+ unknown,
53+ AD, ///< Andorra
54+ AE, ///< United Arab Emirates
55+ AF, ///< Afghanistan
56+ AG, ///< Antigua and Barbuda
57+ AI, ///< Anguilla
58+ AL, ///< Albania
59+ AM, ///< Armenia
60+ AN, ///< Netherlands Antilles
61+ AO, ///< Angola
62+ AQ, ///< Antarctica
63+ AR, ///< Argentina
64+ AS, ///< American Samoa
65+ AT, ///< Austria
66+ AU, ///< Australia
67+ AW, ///< Aruba
68+ AX, ///< Aland Islands
69+ AZ, ///< Azerbaijan
70+ BA, ///< Bosnia and Herzegovina
71+ BB, ///< Barbados
72+ BD, ///< Bangladesh
73+ BE, ///< Belgium
74+ BF, ///< Burkina Faso
75+ BG, ///< Bulgaria
76+ BH, ///< Bahrain
77+ BI, ///< Burundi
78+ BJ, ///< Benin
79+ BL, ///< Saint Barthelemy
80+ BM, ///< Bermuda
81+ BN, ///< Brunei Darussalam
82+ BO, ///< Bolivia
83+ BR, ///< Brazil
84+ BS, ///< Bahamas
85+ BT, ///< Bhutan
86+ BV, ///< Bouvet Island
87+ BW, ///< Botswana
88+ BY, ///< Belarus
89+ BZ, ///< Belize
90+ CA, ///< Canada
91+ CC, ///< Cocos Islands
92+ CD, ///< Congo
93+ CF, ///< Central African Republic
94+ CG, ///< Congo
95+ CH, ///< Switzerland
96+ CI, ///< Cote D'Ivoire
97+ CK, ///< Cook Islands
98+ CL, ///< Chile
99+ CM, ///< Cameroon
100+ CN, ///< China
101+ CO, ///< Colombia
102+ CR, ///< Costa Rica
103+ CU, ///< Cuba
104+ CV, ///< Cape Verde
105+ CX, ///< Christmas Island
106+ CY, ///< Cyprus
107+ CZ, ///< Czech Republic
108+ DE, ///< Germany
109+ DJ, ///< Djibouti
110+ DK, ///< Denmark
111+ DM, ///< Dominica
112+ DO, ///< Dominican Republic
113+ DZ, ///< Algeria
114+ EC, ///< Ecuador
115+ EE, ///< Estonia
116+ EG, ///< Egypt
117+ EH, ///< Western Sahara
118+ ER, ///< Eritrea
119+ ES, ///< Spain
120+ ET, ///< Ethiopia
121+ FI, ///< Finland
122+ FJ, ///< Fiji
123+ FK, ///< Falkland Islands
124+ FM, ///< Micronesia
125+ FO, ///< Faroe Islands
126+ FR, ///< France
127+ GA, ///< Gabon
128+ GB, ///< United Kingdom
129+ GD, ///< Grenada
130+ GE, ///< Georgia
131+ GF, ///< French Guiana
132+ GG, ///< Guernsey
133+ GH, ///< Ghana
134+ GI, ///< Gibraltar
135+ GL, ///< Greenland
136+ GM, ///< Gambia
137+ GN, ///< Guinea
138+ GP, ///< Guadeloupe
139+ GQ, ///< Equatorial Guinea
140+ GR, ///< Greece
141+ GS, ///< South Georgia and the South Sandwich Islands
142+ GT, ///< Guatemala
143+ GU, ///< Guam
144+ GW, ///< Guinea-Bissau
145+ GY, ///< Guyana
146+ HK, ///< Hong Kong
147+ HM, ///< Heard Island and Mcdonald Islands
148+ HN, ///< Honduras
149+ HR, ///< Croatia
150+ HT, ///< Haiti
151+ HU, ///< Hungary
152+ ID, ///< Indonesia
153+ IE, ///< Ireland
154+ IL, ///< Israel
155+ IM, ///< Isle of Man
156+ IN_, ///< India [without '_', it clashes with an identifier on Windows]
157+ IO, ///< British Indian Ocean Territory
158+ IQ, ///< Iraq
159+ IR, ///< Iran
160+ IS, ///< Iceland
161+ IT, ///< Italy
162+ JE, ///< Jersey
163+ JM, ///< Jamaica
164+ JO, ///< Jordan
165+ JP, ///< Japan
166+ KE, ///< Kenya
167+ KG, ///< Kyrgyzstan
168+ KH, ///< Cambodia
169+ KI, ///< Kiribati
170+ KM, ///< Comoros
171+ KN, ///< Saint Kitts and Nevis
172+ KP, ///< Korea (Democratic People's Republic)
173+ KR, ///< Korea
174+ KW, ///< Kuwait
175+ KY, ///< Cayman Islands
176+ KZ, ///< Kazakhstan
177+ LA, ///< Lao
178+ LB, ///< Lebanon
179+ LC, ///< Saint Lucia
180+ LI, ///< Liechtenstein
181+ LK, ///< Sri Lanka
182+ LR, ///< Liberia
183+ LS, ///< Lesotho
184+ LT, ///< Lithuania
185+ LU, ///< Luxembourg
186+ LV, ///< Latvia
187+ LY, ///< Libyan Arab Jamahiriya
188+ MA, ///< Morocco
189+ MC, ///< Monaco
190+ MD, ///< Moldova
191+ ME, ///< Montenegro
192+ MF, ///< Saint Martin
193+ MG, ///< Madagascar
194+ MH, ///< Marshall Islands
195+ MK, ///< Macedonia
196+ ML, ///< Mali
197+ MM, ///< Myanmar
198+ MN, ///< Mongolia
199+ MO, ///< Macao
200+ MP, ///< Northern Mariana Islands
201+ MQ, ///< Martinique
202+ MR, ///< Mauritania
203+ MS, ///< Montserrat
204+ MT, ///< Malta
205+ MU, ///< Mauritius
206+ MV, ///< Maldives
207+ MW, ///< Malawi
208+ MX, ///< Mexico
209+ MY, ///< Malaysia
210+ MZ, ///< Mozambique
211+ NA, ///< Namibia
212+ NC, ///< New Caledonia
213+ NE, ///< Niger
214+ NF, ///< Norfolk Island
215+ NG, ///< Nigeria
216+ NI, ///< Nicaragua
217+ NL, ///< Netherlands
218+ NO, ///< Norway
219+ NP, ///< Nepal
220+ NR, ///< Nauru
221+ NU, ///< Niue
222+ NZ, ///< New Zealand
223+ OM, ///< Oman
224+ PA, ///< Panama
225+ PE, ///< Peru
226+ PF, ///< French Polynesia
227+ PG, ///< Papua New Guinea
228+ PH, ///< Philippines
229+ PK, ///< Pakistan
230+ PL, ///< Poland
231+ PM, ///< Saint Pierre and Miquelon
232+ PN, ///< Pitcairn
233+ PR, ///< Puerto Rico
234+ PS, ///< Palestinian Territory
235+ PT, ///< Portugal
236+ PW, ///< Palau
237+ PY, ///< Paraguay
238+ QA, ///< Qatar
239+ RE, ///< Reunion
240+ RO, ///< Romania
241+ RS, ///< Serbia
242+ RU, ///< Russian Federation
243+ RW, ///< Rwanda
244+ SA, ///< Saudi Arabia
245+ SB, ///< Solomon Islands
246+ SC, ///< Seychelles
247+ SD, ///< Sudan
248+ SE, ///< Sweden
249+ SG, ///< Singapore
250+ SH, ///< Saint Helena
251+ SI, ///< Slovenia
252+ SJ, ///< Svalbard and Jan Mayen
253+ SK, ///< Slovakia
254+ SL, ///< Sierra Leone
255+ SM, ///< San Marino
256+ SN, ///< Senegal
257+ SO, ///< Somalia
258+ SR, ///< Suriname
259+ ST, ///< Sao Tome and Principe
260+ SV, ///< El Salvador
261+ SY, ///< Syria
262+ SZ, ///< Swaziland
263+ TC, ///< Turks and Caicos Islands
264+ TD, ///< Chad
265+ TF, ///< French Southern Territories
266+ TG, ///< Togo
267+ TH, ///< Thailand
268+ TJ, ///< Tajikistan
269+ TK, ///< Tokelau
270+ TL, ///< Timor-Leste
271+ TM, ///< Turkmenistan
272+ TN, ///< Tunisia
273+ TO, ///< Tonga
274+ TR, ///< Turkey
275+ TT, ///< Trinidad and Tobago
276+ TV, ///< Tuvalu
277+ TW, ///< Taiwan
278+ TZ, ///< Tanzania
279+ UA, ///< Ukraine
280+ UG, ///< Uganda
281+ UM, ///< United States Minor Outlying Islands
282+ US, ///< United States
283+ UY, ///< Uruguay
284+ UZ, ///< Uzbekistan
285+ VA, ///< Vatican
286+ VC, ///< Saint Vincent and the Grenadines
287+ VE, ///< Venezuela
288+ VG, ///< Virgin Islands (British)
289+ VI, ///< Virgin Islands (USA)
290+ VN, ///< Viet Nam
291+ VU, ///< Vanuatu
292+ WF, ///< Wallis and Futuna
293+ WS, ///< Samoa
294+ YE, ///< Yemen
295+ YT, ///< Mayotte
296+ ZA, ///< South Africa
297+ ZM, ///< Zambia
298+ ZW, ///< Zimbabwe
299+ NUM_ENTRIES
300+ };
301+ }
302+
303 ///////////////////////////////////////////////////////////////////////////
304
305 } // namespace locale
306
307=== modified file 'src/api/dynamiccontextimpl.cpp'
308--- src/api/dynamiccontextimpl.cpp 2013-02-07 17:24:36 +0000
309+++ src/api/dynamiccontextimpl.cpp 2013-03-08 04:27:22 +0000
310@@ -675,6 +675,18 @@
311 return Item();
312 }
313
314+/****************************************************************************//**
315+
316+********************************************************************************/
317+void DynamicContextImpl::setLocale( locale::iso639_1::type aLang,
318+ locale::iso3166_1::type aCountry ) {
319+ theCtx->set_locale( aLang, aCountry );
320+}
321+
322+void DynamicContextImpl::getLocale( locale::iso639_1::type *aLang,
323+ locale::iso3166_1::type *aCountry ) const {
324+ theCtx->get_locale( aLang, aCountry );
325+}
326
327 /****************************************************************************//**
328
329
330=== modified file 'src/api/dynamiccontextimpl.h'
331--- src/api/dynamiccontextimpl.h 2013-02-07 17:24:36 +0000
332+++ src/api/dynamiccontextimpl.h 2013-03-08 04:27:22 +0000
333@@ -144,6 +144,13 @@
334 virtual Item
335 getDefaultCollection() const;
336
337+ virtual void
338+ setLocale( locale::iso639_1::type aLang, locale::iso3166_1::type aCountry );
339+
340+ virtual void
341+ getLocale( locale::iso639_1::type *aLang,
342+ locale::iso3166_1::type *aCountry ) const;
343+
344 virtual bool
345 addExternalFunctionParam(const String& aName, void* aValue);
346
347
348=== modified file 'src/context/dynamic_context.cpp'
349--- src/context/dynamic_context.cpp 2013-02-26 04:12:43 +0000
350+++ src/context/dynamic_context.cpp 2013-03-08 04:27:22 +0000
351@@ -135,12 +135,16 @@
352 if(parent == NULL)
353 {
354 reset_current_date_time();
355+ theLang = locale::get_host_lang();
356+ theCountry = locale::get_host_country();
357 }
358 else
359 {
360 theCurrentDateTime = parent->theCurrentDateTime;
361 theTimezone = parent->theTimezone;
362 theDefaultCollectionUri = parent->theDefaultCollectionUri;
363+ theLang = parent->theLang;
364+ theCountry = parent->theCountry;
365 }
366 }
367
368
369=== modified file 'src/context/dynamic_context.h'
370--- src/context/dynamic_context.h 2013-02-07 17:24:36 +0000
371+++ src/context/dynamic_context.h 2013-03-08 04:27:22 +0000
372@@ -21,6 +21,7 @@
373
374 #include "zorbautils/hashmap_zstring.h"
375 #include "zorbautils/hashmap_itemp.h"
376+#include "zorbautils/locale.h"
377
378 #include "common/shared_types.h"
379
380@@ -138,6 +139,9 @@
381 //MODIFY
382 EnvVarMap * theEnvironmentVariables;
383
384+ locale::iso639_1::type theLang;
385+ locale::iso3166_1::type theCountry;
386+
387 public:
388 double theDocLoadingUserTime;
389 double theDocLoadingTime;
390@@ -171,6 +175,20 @@
391
392 long get_implicit_timezone() const;
393
394+ void set_locale( locale::iso639_1::type lang,
395+ locale::iso3166_1::type country ) {
396+ theLang = lang;
397+ theCountry = country;
398+ }
399+
400+ void get_locale( locale::iso639_1::type *lang,
401+ locale::iso3166_1::type *country ) {
402+ if ( lang )
403+ *lang = theLang;
404+ if ( country )
405+ *country = theCountry;
406+ }
407+
408 const std::vector<VarValue>& get_variables() const { return theVarValues; }
409
410 void add_variable(ulong varid, store::Item_t& value);
411
412=== modified file 'src/zorbautils/locale.h'
413--- src/zorbautils/locale.h 2013-02-07 17:24:36 +0000
414+++ src/zorbautils/locale.h 2013-03-08 04:27:22 +0000
415@@ -30,256 +30,6 @@
416 ///////////////////////////////////////////////////////////////////////////
417
418 namespace iso3166_1 {
419- enum type {
420- unknown,
421- AD, ///< Andorra
422- AE, ///< United Arab Emirates
423- AF, ///< Afghanistan
424- AG, ///< Antigua and Barbuda
425- AI, ///< Anguilla
426- AL, ///< Albania
427- AM, ///< Armenia
428- AN, ///< Netherlands Antilles
429- AO, ///< Angola
430- AQ, ///< Antarctica
431- AR, ///< Argentina
432- AS, ///< American Samoa
433- AT, ///< Austria
434- AU, ///< Australia
435- AW, ///< Aruba
436- AX, ///< Aland Islands
437- AZ, ///< Azerbaijan
438- BA, ///< Bosnia and Herzegovina
439- BB, ///< Barbados
440- BD, ///< Bangladesh
441- BE, ///< Belgium
442- BF, ///< Burkina Faso
443- BG, ///< Bulgaria
444- BH, ///< Bahrain
445- BI, ///< Burundi
446- BJ, ///< Benin
447- BL, ///< Saint Barthelemy
448- BM, ///< Bermuda
449- BN, ///< Brunei Darussalam
450- BO, ///< Bolivia
451- BR, ///< Brazil
452- BS, ///< Bahamas
453- BT, ///< Bhutan
454- BV, ///< Bouvet Island
455- BW, ///< Botswana
456- BY, ///< Belarus
457- BZ, ///< Belize
458- CA, ///< Canada
459- CC, ///< Cocos Islands
460- CD, ///< Congo
461- CF, ///< Central African Republic
462- CG, ///< Congo
463- CH, ///< Switzerland
464- CI, ///< Cote D'Ivoire
465- CK, ///< Cook Islands
466- CL, ///< Chile
467- CM, ///< Cameroon
468- CN, ///< China
469- CO, ///< Colombia
470- CR, ///< Costa Rica
471- CU, ///< Cuba
472- CV, ///< Cape Verde
473- CX, ///< Christmas Island
474- CY, ///< Cyprus
475- CZ, ///< Czech Republic
476- DE, ///< Germany
477- DJ, ///< Djibouti
478- DK, ///< Denmark
479- DM, ///< Dominica
480- DO, ///< Dominican Republic
481- DZ, ///< Algeria
482- EC, ///< Ecuador
483- EE, ///< Estonia
484- EG, ///< Egypt
485- EH, ///< Western Sahara
486- ER, ///< Eritrea
487- ES, ///< Spain
488- ET, ///< Ethiopia
489- FI, ///< Finland
490- FJ, ///< Fiji
491- FK, ///< Falkland Islands
492- FM, ///< Micronesia
493- FO, ///< Faroe Islands
494- FR, ///< France
495- GA, ///< Gabon
496- GB, ///< United Kingdom
497- GD, ///< Grenada
498- GE, ///< Georgia
499- GF, ///< French Guiana
500- GG, ///< Guernsey
501- GH, ///< Ghana
502- GI, ///< Gibraltar
503- GL, ///< Greenland
504- GM, ///< Gambia
505- GN, ///< Guinea
506- GP, ///< Guadeloupe
507- GQ, ///< Equatorial Guinea
508- GR, ///< Greece
509- GS, ///< South Georgia and the South Sandwich Islands
510- GT, ///< Guatemala
511- GU, ///< Guam
512- GW, ///< Guinea-Bissau
513- GY, ///< Guyana
514- HK, ///< Hong Kong
515- HM, ///< Heard Island and Mcdonald Islands
516- HN, ///< Honduras
517- HR, ///< Croatia
518- HT, ///< Haiti
519- HU, ///< Hungary
520- ID, ///< Indonesia
521- IE, ///< Ireland
522- IL, ///< Israel
523- IM, ///< Isle of Man
524- IN_, ///< India [without '_', it clashes with an identifier on Windows]
525- IO, ///< British Indian Ocean Territory
526- IQ, ///< Iraq
527- IR, ///< Iran
528- IS, ///< Iceland
529- IT, ///< Italy
530- JE, ///< Jersey
531- JM, ///< Jamaica
532- JO, ///< Jordan
533- JP, ///< Japan
534- KE, ///< Kenya
535- KG, ///< Kyrgyzstan
536- KH, ///< Cambodia
537- KI, ///< Kiribati
538- KM, ///< Comoros
539- KN, ///< Saint Kitts and Nevis
540- KP, ///< Korea (Democratic People's Republic)
541- KR, ///< Korea
542- KW, ///< Kuwait
543- KY, ///< Cayman Islands
544- KZ, ///< Kazakhstan
545- LA, ///< Lao
546- LB, ///< Lebanon
547- LC, ///< Saint Lucia
548- LI, ///< Liechtenstein
549- LK, ///< Sri Lanka
550- LR, ///< Liberia
551- LS, ///< Lesotho
552- LT, ///< Lithuania
553- LU, ///< Luxembourg
554- LV, ///< Latvia
555- LY, ///< Libyan Arab Jamahiriya
556- MA, ///< Morocco
557- MC, ///< Monaco
558- MD, ///< Moldova
559- ME, ///< Montenegro
560- MF, ///< Saint Martin
561- MG, ///< Madagascar
562- MH, ///< Marshall Islands
563- MK, ///< Macedonia
564- ML, ///< Mali
565- MM, ///< Myanmar
566- MN, ///< Mongolia
567- MO, ///< Macao
568- MP, ///< Northern Mariana Islands
569- MQ, ///< Martinique
570- MR, ///< Mauritania
571- MS, ///< Montserrat
572- MT, ///< Malta
573- MU, ///< Mauritius
574- MV, ///< Maldives
575- MW, ///< Malawi
576- MX, ///< Mexico
577- MY, ///< Malaysia
578- MZ, ///< Mozambique
579- NA, ///< Namibia
580- NC, ///< New Caledonia
581- NE, ///< Niger
582- NF, ///< Norfolk Island
583- NG, ///< Nigeria
584- NI, ///< Nicaragua
585- NL, ///< Netherlands
586- NO, ///< Norway
587- NP, ///< Nepal
588- NR, ///< Nauru
589- NU, ///< Niue
590- NZ, ///< New Zealand
591- OM, ///< Oman
592- PA, ///< Panama
593- PE, ///< Peru
594- PF, ///< French Polynesia
595- PG, ///< Papua New Guinea
596- PH, ///< Philippines
597- PK, ///< Pakistan
598- PL, ///< Poland
599- PM, ///< Saint Pierre and Miquelon
600- PN, ///< Pitcairn
601- PR, ///< Puerto Rico
602- PS, ///< Palestinian Territory
603- PT, ///< Portugal
604- PW, ///< Palau
605- PY, ///< Paraguay
606- QA, ///< Qatar
607- RE, ///< Reunion
608- RO, ///< Romania
609- RS, ///< Serbia
610- RU, ///< Russian Federation
611- RW, ///< Rwanda
612- SA, ///< Saudi Arabia
613- SB, ///< Solomon Islands
614- SC, ///< Seychelles
615- SD, ///< Sudan
616- SE, ///< Sweden
617- SG, ///< Singapore
618- SH, ///< Saint Helena
619- SI, ///< Slovenia
620- SJ, ///< Svalbard and Jan Mayen
621- SK, ///< Slovakia
622- SL, ///< Sierra Leone
623- SM, ///< San Marino
624- SN, ///< Senegal
625- SO, ///< Somalia
626- SR, ///< Suriname
627- ST, ///< Sao Tome and Principe
628- SV, ///< El Salvador
629- SY, ///< Syria
630- SZ, ///< Swaziland
631- TC, ///< Turks and Caicos Islands
632- TD, ///< Chad
633- TF, ///< French Southern Territories
634- TG, ///< Togo
635- TH, ///< Thailand
636- TJ, ///< Tajikistan
637- TK, ///< Tokelau
638- TL, ///< Timor-Leste
639- TM, ///< Turkmenistan
640- TN, ///< Tunisia
641- TO, ///< Tonga
642- TR, ///< Turkey
643- TT, ///< Trinidad and Tobago
644- TV, ///< Tuvalu
645- TW, ///< Taiwan
646- TZ, ///< Tanzania
647- UA, ///< Ukraine
648- UG, ///< Uganda
649- UM, ///< United States Minor Outlying Islands
650- US, ///< United States
651- UY, ///< Uruguay
652- UZ, ///< Uzbekistan
653- VA, ///< Vatican
654- VC, ///< Saint Vincent and the Grenadines
655- VE, ///< Venezuela
656- VG, ///< Virgin Islands (British)
657- VI, ///< Virgin Islands (USA)
658- VN, ///< Viet Nam
659- VU, ///< Vanuatu
660- WF, ///< Wallis and Futuna
661- WS, ///< Samoa
662- YE, ///< Yemen
663- YT, ///< Mayotte
664- ZA, ///< South Africa
665- ZM, ///< Zambia
666- ZW, ///< Zimbabwe
667- NUM_ENTRIES
668- };
669 extern char const *const string_of[];
670
671 /**

Subscribers

People subscribed via source and target branches