File: classXMLPlatformUtils.html

package info (click to toggle)
xerces-c 3.1.1-3%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 39,584 kB
  • sloc: cpp: 166,988; xml: 12,028; sh: 10,236; ansic: 3,984; makefile: 1,290; perl: 500
file content (1602 lines) | stat: -rw-r--r-- 105,798 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XMLPlatformUtils Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>XMLPlatformUtils Class Reference</h1><!-- doxytag: class="XMLPlatformUtils" -->Utilities that must be implemented in a platform-specific way.  
<a href="#_details">More...</a>
<p>

<p>
<a href="classXMLPlatformUtils-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#560fd9eecc8651995a4d6af70d71f23a">alignPointerForNewBlockAllocation</a> (<a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> ptrSize)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Aligns the specified pointer per platform block allocation requirements.  <a href="#560fd9eecc8651995a4d6af70d71f23a"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Initialization and Panic methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173">Initialize</a> (const char *const locale=<a class="el" href="classXMLUni.html#65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a>, const char *const nlsHome=0, <a class="el" href="classPanicHandler.html">PanicHandler</a> *const panicHandler=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform per-process parser initialization.  <a href="#aa98f8d1346b8b531ee8886d9ce36173"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#369d3584567fc54c582b2074aed43f18">Initialize</a> (<a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> initialDOMHeapAllocSize, <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxDOMHeapAllocSize, <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> maxDOMSubAllocationSize, const char *const locale=<a class="el" href="classXMLUni.html#65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a>, const char *const nlsHome=0, <a class="el" href="classPanicHandler.html">PanicHandler</a> *const panicHandler=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const memoryManager=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform per-process parser initialization.  <a href="#369d3584567fc54c582b2074aed43f18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794">Terminate</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Perform per-process parser termination.  <a href="#dc0dcc57907126e06a2f5e376b392794"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#b07bdc9abed13b76519c88b166cd6442">panic</a> (const <a class="el" href="classPanicHandler.html#ace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a> reason)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The panic mechanism.  <a href="#b07bdc9abed13b76519c88b166cd6442"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">File Methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#001e511067dc6ac8941e34732b8fa7cb">makeFileMgr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Make a new file object appropriate for the platform.  <a href="#001e511067dc6ac8941e34732b8fa7cb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#2acb4b2eec3a5ddb579c6d410c7873e9">curFilePos</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current file position.  <a href="#2acb4b2eec3a5ddb579c6d410c7873e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#a0398de86ccca867efb18f73ec8a82f4">closeFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closes the file handle.  <a href="#a0398de86ccca867efb18f73ec8a82f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#788a3664405357f0004a1d55c4dc02df">fileSize</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the file size.  <a href="#788a3664405357f0004a1d55c4dc02df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#98eadae95169c66853c8264438505907">openFile</a> (const char *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens the file.  <a href="#98eadae95169c66853c8264438505907"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#5632167e9027b6def671ed4571ccf0bf">openFile</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens a named file.  <a href="#5632167e9027b6def671ed4571ccf0bf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#5939d893ef7399d9d770be562bea6cfb">openFileToWrite</a> (const char *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a named file to write.  <a href="#5939d893ef7399d9d770be562bea6cfb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#6e96c30edcbe8b1fa570fe2de0d5c31b">openFileToWrite</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const fileName, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a named file to write.  <a href="#6e96c30edcbe8b1fa570fe2de0d5c31b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#627be718689157e44f73da8fd23ee004">openStdInHandle</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Opens the standard input as a file.  <a href="#627be718689157e44f73da8fd23ee004"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#1f24a6b4b6c097ab66617f48349527dd">readFileBuffer</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toRead, <a class="el" href="XercesDefs_8hpp.html#7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFill, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reads the file buffer.  <a href="#1f24a6b4b6c097ab66617f48349527dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#6c77c874c1c3c04773c5d7c16056f874">writeBufferToFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> const theFile, <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> toWrite, const <a class="el" href="XercesDefs_8hpp.html#7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const toFlush, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Writes the buffer to the file.  <a href="#6c77c874c1c3c04773c5d7c16056f874"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#3e64b2526936ae010a69cb42ba44c5c8">resetFile</a> (<a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> theFile, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets the file handle.  <a href="#3e64b2526936ae010a69cb42ba44c5c8"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">File System Methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#41d767f41350edd2bd8853714b9124d8">getFullPath</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the full path from a relative path.  <a href="#41d767f41350edd2bd8853714b9124d8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#8385708fc8ef23f163a09f19d378231c">getCurrentDirectory</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the current working directory.  <a href="#8385708fc8ef23f163a09f19d378231c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#381a005feb529e59f65a4cbd5fe39c11">isAnySlash</a> (<a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if a character is a slash.  <a href="#381a005feb529e59f65a4cbd5fe39c11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ff1af43494b60e1783124747f291b6a0">removeDotSlash</a> (<a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove occurrences of the pair of dot slash.  <a href="#ff1af43494b60e1783124747f291b6a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#1b90b8d2129bdcdfa4bf615db8dd85a7">removeDotDotSlash</a> (<a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const srcPath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove occurrences of the dot dot slash.  <a href="#1b90b8d2129bdcdfa4bf615db8dd85a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#8c865f3209cf6e05712c0d1ba7d3e589">isRelative</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const toCheck, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines if a path is relative or absolute.  <a href="#8c865f3209cf6e05712c0d1ba7d3e589"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#e5773fab0f689e5befc627d515818d46">weavePaths</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const basePath, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const relativePath, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Utility to join two paths.  <a href="#e5773fab0f689e5befc627d515818d46"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Timing Methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#4d315cfa7b9ec38b47b458fde5f2f443">getCurrentMillis</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the system time in milliseconds.  <a href="#4d315cfa7b9ec38b47b458fde5f2f443"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Mutex Methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#d41fe916bbe6e7594bdc103ebe24c2fd">makeMutexMgr</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Factory method for creating MutexMgr object.  <a href="#d41fe916bbe6e7594bdc103ebe24c2fd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#411987d4230f48888c23aa3d293c3fa5">closeMutex</a> (void *const mtxHandle, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closes a mutex handle.  <a href="#411987d4230f48888c23aa3d293c3fa5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#15fd7d673d0c6ce193b5c068d0c4b872">lockMutex</a> (void *const mtxHandle)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Locks a mutex handle.  <a href="#15fd7d673d0c6ce193b5c068d0c4b872"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#dd15292f2ae75911a2d64781f1787629">makeMutex</a> (<a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Make a new mutex.  <a href="#dd15292f2ae75911a2d64781f1787629"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#e0213591d1ba763a82bd25197e22a89b">unlockMutex</a> (void *const mtxHandle)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unlocks a mutex.  <a href="#e0213591d1ba763a82bd25197e22a89b"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">External Message Support</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static XMLMsgLoader *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#f1981b8cfbf3b2d13e2debfd1eac634e">loadMsgSet</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const msgDomain)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the message set from among the available domains.  <a href="#f1981b8cfbf3b2d13e2debfd1eac634e"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">NEL Character Handling</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#92246fafe4d841516c48b88f10d62a4a">recognizeNEL</a> (bool state, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function enables the recognition of NEL(0x85) char and LSEP (0x2028) as newline chars which is disabled by default.  <a href="#92246fafe4d841516c48b88f10d62a4a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#4367daf991397024b918fb0ab1a0389d">isNELRecognized</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the value of fgNEL flag.  <a href="#4367daf991397024b918fb0ab1a0389d"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Strict IANA Encoding Checking</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#467744b197025769630c61e940336434">strictIANAEncoding</a> (const bool state)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This function enables/disables strict IANA encoding names checking.  <a href="#467744b197025769630c61e940336434"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#996f16ad1aad195eb2e7e618b5f89f94">isStrictIANAEncoding</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns whether a strict IANA encoding name check is enabled or disabled.  <a href="#996f16ad1aad195eb2e7e618b5f89f94"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Static Data</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLNetAccessor.html">XMLNetAccessor</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#6bbba118a3327b2e7c1952bf04de2787">fgNetAccessor</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The network accessor.  <a href="#6bbba118a3327b2e7c1952bf04de2787"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLTransService.html">XMLTransService</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#bb0ad83db922cbf891a70319b2e6702b">fgTransService</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The transcoding service.  <a href="#bb0ad83db922cbf891a70319b2e6702b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classPanicHandler.html">PanicHandler</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#ac6484e7073d5fb515ea791ee873b5bd">fgUserPanicHandler</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Panic Handler.  <a href="#ac6484e7073d5fb515ea791ee873b5bd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classPanicHandler.html">PanicHandler</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#db96471b53887380718f80e54934925f">fgDefaultPanicHandler</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Panic Handler.  <a href="#db96471b53887380718f80e54934925f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classMemoryManager.html">MemoryManager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">fgMemoryManager</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The configurable memory manager.  <a href="#97eff0d9fff3567bea3acd3ca4d95252"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#14ce4194a811184a9e1e17ca2adeee9d">fgFileMgr</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#28f0c7e21b0ccf29bb38c90a544ebc8f">fgMutexMgr</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static XMLMutex *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#aa3859ca77bec01d7c5c4da4632ab761">fgAtomicMutex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Global mutex for fast or infrequent operations.  <a href="#aa3859ca77bec01d7c5c4da4632ab761"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#5d963ab2acfd08abcfcaab3a7e5819d2">fgXMLChBigEndian</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLPlatformUtils.html#41b2fc50c55ad21172a8e649d441aec0">fgSSE2ok</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Utilities that must be implemented in a platform-specific way. 
<p>
This class contains methods that must be implemented in a platform specific manner. The actual implementations of these methods are available in the per-platform files inside <code>src/util/Platforms </code>. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="aa98f8d1346b8b531ee8886d9ce36173"></a><!-- doxytag: member="XMLPlatformUtils::Initialize" ref="aa98f8d1346b8b531ee8886d9ce36173" args="(const char *const locale=XMLUni::fgXercescDefaultLocale, const char *const nlsHome=0, PanicHandler *const panicHandler=0, MemoryManager *const memoryManager=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::Initialize           </td>
          <td>(</td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>locale</em> = <code><a class="el" href="classXMLUni.html#65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>nlsHome</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPanicHandler.html">PanicHandler</a> *const &nbsp;</td>
          <td class="paramname"> <em>panicHandler</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>memoryManager</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform per-process parser initialization. 
<p>
Initialization <b>must</b> be called first in any client code.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>The locale to use for messages.</td></tr>
  </table>
</dl>
The locale is set iff the <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a> is invoked for the very first time, to ensure that each and every message loader, in the process space, share the same locale.<p>
All subsequent invocations of <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a>, with a different locale, have no effect on the message loaders, either instantiated, or to be instantiated.<p>
To set to a different locale, client application needs to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">Terminate()</a> (or multiple <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">Terminate()</a> in the case where multiple <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a> have been invoked before), followed by Initialize(new_locale).<p>
The default locale is "en_US".<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nlsHome</em>&nbsp;</td><td>User specified location where MsgLoader retrieves error message files. the discussion above with regard to locale, applies to nlsHome as well.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>panicHandler</em>&nbsp;</td><td>Application's panic handler, application owns this handler. Application shall make sure that the plugged panic handler persists through the call to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">XMLPlatformUtils::Terminate()</a>.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>memoryManager</em>&nbsp;</td><td>Plugged-in memory manager which is owned by the application. Applications must make sure that the plugged-in memory manager persist through the call to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">XMLPlatformUtils::Terminate()</a> </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="369d3584567fc54c582b2074aed43f18"></a><!-- doxytag: member="XMLPlatformUtils::Initialize" ref="369d3584567fc54c582b2074aed43f18" args="(XMLSize_t initialDOMHeapAllocSize, XMLSize_t maxDOMHeapAllocSize, XMLSize_t maxDOMSubAllocationSize, const char *const locale=XMLUni::fgXercescDefaultLocale, const char *const nlsHome=0, PanicHandler *const panicHandler=0, MemoryManager *const memoryManager=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::Initialize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>initialDOMHeapAllocSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>maxDOMHeapAllocSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>maxDOMSubAllocationSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>locale</em> = <code><a class="el" href="classXMLUni.html#65fb61efef197f1387836a339477ab5e">XMLUni::fgXercescDefaultLocale</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>nlsHome</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classPanicHandler.html">PanicHandler</a> *const &nbsp;</td>
          <td class="paramname"> <em>panicHandler</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>memoryManager</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform per-process parser initialization. 
<p>
Initialization <b>must</b> be called first in any client code.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>initialDOMHeapAllocSize</em>&nbsp;</td><td>The size of the first memory block allocated by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> heap. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>maxDOMHeapAllocSize</em>&nbsp;</td><td>The maximum size of the memory block allocated by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> heap. As the document grows, the allocated by the heap memory blocks grow from initialDOMHeapAllocSize to maxDOMHeapAllocSize. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>maxDOMSubAllocationSize</em>&nbsp;</td><td>The maximum size of the memory block requested that is handled by the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> heap. A request for a larger block is handled directly by the memory manager. Note that changing this parameter may result in poor performance and/or excessive memory usage. For the default value refer to dom/impl/DOMDocumentImpl.cpp.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>The locale to use for messages.</td></tr>
  </table>
</dl>
The locale is set iff the <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a> is invoked for the very first time, to ensure that each and every message loader, in the process space, share the same locale.<p>
All subsequent invocations of <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a>, with a different locale, have no effect on the message loaders, either instantiated, or to be instantiated.<p>
To set to a different locale, client application needs to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">Terminate()</a> (or multiple <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">Terminate()</a> in the case where multiple <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a> have been invoked before), followed by Initialize(new_locale).<p>
The default locale is "en_US".<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nlsHome</em>&nbsp;</td><td>User specified location where MsgLoader retrieves error message files. the discussion above with regard to locale, applies to nlsHome as well.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>panicHandler</em>&nbsp;</td><td>Application's panic handler, application owns this handler. Application shall make sure that the plugged panic handler persists through the call to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">XMLPlatformUtils::Terminate()</a>.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>memoryManager</em>&nbsp;</td><td>Plugged-in memory manager which is owned by the application. Applications must make sure that the plugged-in memory manager persist through the call to <a class="el" href="classXMLPlatformUtils.html#dc0dcc57907126e06a2f5e376b392794" title="Perform per-process parser termination.">XMLPlatformUtils::Terminate()</a> </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="dc0dcc57907126e06a2f5e376b392794"></a><!-- doxytag: member="XMLPlatformUtils::Terminate" ref="dc0dcc57907126e06a2f5e376b392794" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::Terminate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Perform per-process parser termination. 
<p>
The termination call is currently optional, to aid those dynamically loading the parser to clean up before exit, or to avoid spurious reports from leak detectors. 
</div>
</div><p>
<a class="anchor" name="b07bdc9abed13b76519c88b166cd6442"></a><!-- doxytag: member="XMLPlatformUtils::panic" ref="b07bdc9abed13b76519c88b166cd6442" args="(const PanicHandler::PanicReasons reason)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::panic           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPanicHandler.html#ace4c4f408d68f168e1c2537e0ba5be2">PanicHandler::PanicReasons</a>&nbsp;</td>
          <td class="paramname"> <em>reason</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The panic mechanism. 
<p>
If, during initialization, we cannot even get far enough along to get transcoding up or get message loading working, we call this method.<p>
Each platform can implement it however they want. This method will delegate the panic handling to a user specified panic handler or in the absence of it, the default panic handler.<p>
In case the default panic handler does not support a particular platform, the platform specific panic handling shall be implemented here .<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>reason</em>&nbsp;</td><td>The enumeration that defines the cause of the failure </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="001e511067dc6ac8941e34732b8fa7cb"></a><!-- doxytag: member="XMLPlatformUtils::makeFileMgr" ref="001e511067dc6ac8941e34732b8fa7cb" args="(MemoryManager *const manager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXMLFileMgr.html">XMLFileMgr</a>* XMLPlatformUtils::makeFileMgr           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Make a new file object appropriate for the platform. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2acb4b2eec3a5ddb579c6d410c7873e9"></a><!-- doxytag: member="XMLPlatformUtils::curFilePos" ref="2acb4b2eec3a5ddb579c6d410c7873e9" args="(FileHandle theFile, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> XMLPlatformUtils::curFilePos           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the current file position. 
<p>
This must be implemented by the per-platform driver, which should use local file services to determine the current position within the passed file.<p>
Since the file API provided here only reads, if the host platform supports separate read/write positions, only the read position is of any interest, and hence should be the one returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="a0398de86ccca867efb18f73ec8a82f4"></a><!-- doxytag: member="XMLPlatformUtils::closeFile" ref="a0398de86ccca867efb18f73ec8a82f4" args="(FileHandle theFile, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::closeFile           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Closes the file handle. 
<p>
This must be implemented by the per-platform driver, which should use local file services to close the passed file handle, and to destroy the passed file handle and any allocated data or system resources it contains.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle to close </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="788a3664405357f0004a1d55c4dc02df"></a><!-- doxytag: member="XMLPlatformUtils::fileSize" ref="788a3664405357f0004a1d55c4dc02df" args="(FileHandle theFile, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> XMLPlatformUtils::fileSize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the file size. 
<p>
This must be implemented by the per-platform driver, which should use local file services to determine the current size of the file represented by the passed handle.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle whose size you want </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the size of the file in bytes </dd></dl>

</div>
</div><p>
<a class="anchor" name="98eadae95169c66853c8264438505907"></a><!-- doxytag: member="XMLPlatformUtils::openFile" ref="98eadae95169c66853c8264438505907" args="(const char *const fileName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFile           </td>
          <td>(</td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opens the file. 
<p>
This must be implemented by the per-platform driver, which should use local file services to open passed file. If it fails, a null handle pointer should be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>The string containing the name of the file </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file handle of the opened file </dd></dl>

</div>
</div><p>
<a class="anchor" name="5632167e9027b6def671ed4571ccf0bf"></a><!-- doxytag: member="XMLPlatformUtils::openFile" ref="5632167e9027b6def671ed4571ccf0bf" args="(const XMLCh *const fileName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFile           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opens a named file. 
<p>
This must be implemented by the per-platform driver, which should use local file services to open the passed file. If it fails, a null handle pointer should be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>The string containing the name of the file </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file handle of the opened file </dd></dl>

</div>
</div><p>
<a class="anchor" name="5939d893ef7399d9d770be562bea6cfb"></a><!-- doxytag: member="XMLPlatformUtils::openFileToWrite" ref="5939d893ef7399d9d770be562bea6cfb" args="(const char *const fileName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFileToWrite           </td>
          <td>(</td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a named file to write. 
<p>
This must be implemented by the per-platform driver, which should use local file services to open passed file. If it fails, a null handle pointer should be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>The string containing the name of the file </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file handle of the opened file </dd></dl>

</div>
</div><p>
<a class="anchor" name="6e96c30edcbe8b1fa570fe2de0d5c31b"></a><!-- doxytag: member="XMLPlatformUtils::openFileToWrite" ref="6e96c30edcbe8b1fa570fe2de0d5c31b" args="(const XMLCh *const fileName, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openFileToWrite           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a named file to write. 
<p>
This must be implemented by the per-platform driver, which should use local file services to open the passed file. If it fails, a null handle pointer should be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>The string containing the name of the file </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file handle of the opened file </dd></dl>

</div>
</div><p>
<a class="anchor" name="627be718689157e44f73da8fd23ee004"></a><!-- doxytag: member="XMLPlatformUtils::openStdInHandle" ref="627be718689157e44f73da8fd23ee004" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> XMLPlatformUtils::openStdInHandle           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Opens the standard input as a file. 
<p>
This must be implemented by the per-platform driver, which should use local file services to open a handle to the standard input. It should be a copy of the standard input handle, since it will be closed later!<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file handle of the standard input stream </dd></dl>

</div>
</div><p>
<a class="anchor" name="1f24a6b4b6c097ab66617f48349527dd"></a><!-- doxytag: member="XMLPlatformUtils::readFileBuffer" ref="1f24a6b4b6c097ab66617f48349527dd" args="(FileHandle theFile, const XMLSize_t toRead, XMLByte *const toFill, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> XMLPlatformUtils::readFileBuffer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>toRead</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="XercesDefs_8hpp.html#7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const &nbsp;</td>
          <td class="paramname"> <em>toFill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads the file buffer. 
<p>
This must be implemented by the per-platform driver, which should use local file services to read up to 'toRead' bytes of data from the passed file, and return those bytes in the 'toFill' buffer. It is not an error not to read the requested number of bytes. When the end of file is reached, zero should be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle to be read from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toRead</em>&nbsp;</td><td>The maximum number of byte to read from the current position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toFill</em>&nbsp;</td><td>The byte buffer to fill </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the number of bytes read from the stream or file </dd></dl>

</div>
</div><p>
<a class="anchor" name="6c77c874c1c3c04773c5d7c16056f874"></a><!-- doxytag: member="XMLPlatformUtils::writeBufferToFile" ref="6c77c874c1c3c04773c5d7c16056f874" args="(FileHandle const theFile, XMLSize_t toWrite, const XMLByte *const toFlush, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::writeBufferToFile           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a> const &nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>toWrite</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="XercesDefs_8hpp.html#7470c7a32c59355685ebcd878a33f126">XMLByte</a> *const &nbsp;</td>
          <td class="paramname"> <em>toFlush</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Writes the buffer to the file. 
<p>
This must be implemented by the per-platform driver, which should use local file services to write up to 'toWrite' bytes of data to the passed file. Unless exception raised by local file services, 'toWrite' bytes of data is to be written to the passed file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle to be written to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toWrite</em>&nbsp;</td><td>The maximum number of byte to write from the current position </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toFlush</em>&nbsp;</td><td>The byte buffer to flush </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>void </dd></dl>

</div>
</div><p>
<a class="anchor" name="3e64b2526936ae010a69cb42ba44c5c8"></a><!-- doxytag: member="XMLPlatformUtils::resetFile" ref="3e64b2526936ae010a69cb42ba44c5c8" args="(FileHandle theFile, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::resetFile           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="XMLFileMgr_8hpp.html#6738b6a1cc86fbf4c231eac94e357446">FileHandle</a>&nbsp;</td>
          <td class="paramname"> <em>theFile</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Resets the file handle. 
<p>
This must be implemented by the per-platform driver which will use local file services to reset the file position to the start of the the file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theFile</em>&nbsp;</td><td>The file handle that you want to reset </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="41d767f41350edd2bd8853714b9124d8"></a><!-- doxytag: member="XMLPlatformUtils::getFullPath" ref="41d767f41350edd2bd8853714b9124d8" args="(const XMLCh *const srcPath, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLPlatformUtils::getFullPath           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the full path from a relative path. 
<p>
This must be implemented by the per-platform driver. It should complete a relative path using the 'current directory', or whatever the local equivalent of a current directory is. If the passed source path is actually fully qualified, then a straight copy of it will be returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>srcPath</em>&nbsp;</td><td>The path of the file for which you want the full path</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>Pointer to the memory manager to be used to allocate objects.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the fully qualified path of the file name including the file name. This is dyanmically allocated and must be deleted by the caller when its no longer needed! The memory returned will beallocated using the static memory manager, if user do not supply a memory manager. Users then need to make sure to use either the default or user specific memory manager to deallocate the memory. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8385708fc8ef23f163a09f19d378231c"></a><!-- doxytag: member="XMLPlatformUtils::getCurrentDirectory" ref="8385708fc8ef23f163a09f19d378231c" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLPlatformUtils::getCurrentDirectory           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the current working directory. 
<p>
This must be implemented by the per-platform driver. It returns the current working directory is. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the current working directory. This is dyanmically allocated and must be deleted by the caller when its no longer needed! The memory returned will be allocated using the static memory manager, if users do not supply a memory manager. Users then need to make sure to use either the default or user specific memory manager to deallocate the memory. </dd></dl>

</div>
</div><p>
<a class="anchor" name="381a005feb529e59f65a4cbd5fe39c11"></a><!-- doxytag: member="XMLPlatformUtils::isAnySlash" ref="381a005feb529e59f65a4cbd5fe39c11" args="(XMLCh c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isAnySlash           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>&nbsp;</td>
          <td class="paramname"> <em>c</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check if a character is a slash. 
<p>
This must be implemented by the per-platform driver.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>the character to be examined</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the character examined is a slash false otherwise </dd></dl>

</div>
</div><p>
<a class="anchor" name="ff1af43494b60e1783124747f291b6a0"></a><!-- doxytag: member="XMLPlatformUtils::removeDotSlash" ref="ff1af43494b60e1783124747f291b6a0" args="(XMLCh *const srcPath, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::removeDotSlash           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove occurrences of the pair of dot slash. 
<p>
To remove the sequence, dot slash if it is part of the sequence, slash dot slash.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>srcPath</em>&nbsp;</td><td>The path for which you want to remove the dot slash sequence. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div><p>
<a class="anchor" name="1b90b8d2129bdcdfa4bf615db8dd85a7"></a><!-- doxytag: member="XMLPlatformUtils::removeDotDotSlash" ref="1b90b8d2129bdcdfa4bf615db8dd85a7" args="(XMLCh *const srcPath, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::removeDotDotSlash           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>srcPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove occurrences of the dot dot slash. 
<p>
To remove the sequence, slash dot dot slash and its preceding path segment if and only if the preceding path segment is not slash dot dot slash.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>srcPath</em>&nbsp;</td><td>The path for which you want to remove the slash dot dot slash sequence and its preceding path segment. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>

</div>
</div><p>
<a class="anchor" name="8c865f3209cf6e05712c0d1ba7d3e589"></a><!-- doxytag: member="XMLPlatformUtils::isRelative" ref="8c865f3209cf6e05712c0d1ba7d3e589" args="(const XMLCh *const toCheck, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isRelative           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>toCheck</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines if a path is relative or absolute. 
<p>
This must be implemented by the per-platform driver, which should determine whether the passed path is relative or not. The concept of relative and absolute might be... well relative on different platforms. But, as long as the determination is made consistently and in coordination with the <a class="el" href="classXMLPlatformUtils.html#e5773fab0f689e5befc627d515818d46" title="Utility to join two paths.">weavePaths()</a> method, it should work for any platform.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>toCheck</em>&nbsp;</td><td>The file name which you want to check </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns true if the filename appears to be relative </dd></dl>

</div>
</div><p>
<a class="anchor" name="e5773fab0f689e5befc627d515818d46"></a><!-- doxytag: member="XMLPlatformUtils::weavePaths" ref="e5773fab0f689e5befc627d515818d46" args="(const XMLCh *const basePath, const XMLCh *const relativePath, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XMLPlatformUtils::weavePaths           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>basePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>relativePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Utility to join two paths. 
<p>
This must be implemented by the per-platform driver, and should weave the relative path part together with the base part and return a new path that represents this combination.<p>
If the relative part turns out to be fully qualified, it will be returned as is. If it is not, then it will be woven onto the passed base path, by removing one path component for each leading "../" (or whatever is the equivalent in the local system) in the relative path.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>basePath</em>&nbsp;</td><td>The string containing the base path </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>relativePath</em>&nbsp;</td><td>The string containing the relative path </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns a string containing the 'woven' path. It should be dynamically allocated and becomes the responsibility of the caller to delete. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4d315cfa7b9ec38b47b458fde5f2f443"></a><!-- doxytag: member="XMLPlatformUtils::getCurrentMillis" ref="4d315cfa7b9ec38b47b458fde5f2f443" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static unsigned long XMLPlatformUtils::getCurrentMillis           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the system time in milliseconds. 
<p>
This must be implemented by the per-platform driver, which should use local services to return the current value of a running millisecond timer. Note that the value returned is only as accurate as the millisecond time of the underlying host system.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Returns the system time as an unsigned long </dd></dl>

</div>
</div><p>
<a class="anchor" name="d41fe916bbe6e7594bdc103ebe24c2fd"></a><!-- doxytag: member="XMLPlatformUtils::makeMutexMgr" ref="d41fe916bbe6e7594bdc103ebe24c2fd" args="(MemoryManager *const manager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a>* XMLPlatformUtils::makeMutexMgr           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Factory method for creating MutexMgr object. 
<p>
This factory method creates a mutexmgr that will be used on the particular platform.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="411987d4230f48888c23aa3d293c3fa5"></a><!-- doxytag: member="XMLPlatformUtils::closeMutex" ref="411987d4230f48888c23aa3d293c3fa5" args="(void *const mtxHandle, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::closeMutex           </td>
          <td>(</td>
          <td class="paramtype">void *const &nbsp;</td>
          <td class="paramname"> <em>mtxHandle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Closes a mutex handle. 
<p>
Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mtxHandle</em>&nbsp;</td><td>The mutex handle that you want to close </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> used to allocate the object </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="15fd7d673d0c6ce193b5c068d0c4b872"></a><!-- doxytag: member="XMLPlatformUtils::lockMutex" ref="15fd7d673d0c6ce193b5c068d0c4b872" args="(void *const mtxHandle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::lockMutex           </td>
          <td>(</td>
          <td class="paramtype">void *const &nbsp;</td>
          <td class="paramname"> <em>mtxHandle</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Locks a mutex handle. 
<p>
Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mtxHandle</em>&nbsp;</td><td>The mutex handle that you want to lock </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="dd15292f2ae75911a2d64781f1787629"></a><!-- doxytag: member="XMLPlatformUtils::makeMutex" ref="dd15292f2ae75911a2d64781f1787629" args="(MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void* XMLPlatformUtils::makeMutex           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Make a new mutex. 
<p>
Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is. The returned handle pointer will be eventually passed to <a class="el" href="classXMLPlatformUtils.html#411987d4230f48888c23aa3d293c3fa5" title="Closes a mutex handle.">closeMutex()</a> which is also implemented by the platform driver.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>The <a class="el" href="classMemoryManager.html" title="Configurable memory manager.">MemoryManager</a> to use to allocate objects </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="e0213591d1ba763a82bd25197e22a89b"></a><!-- doxytag: member="XMLPlatformUtils::unlockMutex" ref="e0213591d1ba763a82bd25197e22a89b" args="(void *const mtxHandle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::unlockMutex           </td>
          <td>(</td>
          <td class="paramtype">void *const &nbsp;</td>
          <td class="paramname"> <em>mtxHandle</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unlocks a mutex. 
<p>
Each per-platform driver must implement this. Only it knows what the actual content of the passed mutex handle is.<p>
Note that, since the underlying system synchronization services are used, Xerces cannot guarantee that lock/unlock operations are correctly enforced on a per-thread basis or that incorrect nesting of lock/unlock operations will be caught.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mtxHandle</em>&nbsp;</td><td>The mutex handle that you want to unlock </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="f1981b8cfbf3b2d13e2debfd1eac634e"></a><!-- doxytag: member="XMLPlatformUtils::loadMsgSet" ref="f1981b8cfbf3b2d13e2debfd1eac634e" args="(const XMLCh *const msgDomain)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static XMLMsgLoader* XMLPlatformUtils::loadMsgSet           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>msgDomain</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads the message set from among the available domains. 
<p>
The returned object must be dynamically allocated and the caller becomes responsible for cleaning it up.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>msgDomain</em>&nbsp;</td><td>The message domain which you want to load </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="92246fafe4d841516c48b88f10d62a4a"></a><!-- doxytag: member="XMLPlatformUtils::recognizeNEL" ref="92246fafe4d841516c48b88f10d62a4a" args="(bool state, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::recognizeNEL           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function enables the recognition of NEL(0x85) char and LSEP (0x2028) as newline chars which is disabled by default. 
<p>
It is only called once per process. Once it is set, any subsequent calls will result in exception being thrown.<p>
Note: 1. Turning this option on will make the parser non compliant to XML 1.0. 2. This option has no effect to document conforming to XML 1.1 compliant, which always recognize these two chars (0x85 and 0x2028) as newline characters. 
</div>
</div><p>
<a class="anchor" name="4367daf991397024b918fb0ab1a0389d"></a><!-- doxytag: member="XMLPlatformUtils::isNELRecognized" ref="4367daf991397024b918fb0ab1a0389d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isNELRecognized           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the value of fgNEL flag. 
<p>

</div>
</div><p>
<a class="anchor" name="467744b197025769630c61e940336434"></a><!-- doxytag: member="XMLPlatformUtils::strictIANAEncoding" ref="467744b197025769630c61e940336434" args="(const bool state)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void XMLPlatformUtils::strictIANAEncoding           </td>
          <td>(</td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>state</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function enables/disables strict IANA encoding names checking. 
<p>
The strict checking is disabled by default.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>state</em>&nbsp;</td><td>If true, a strict IANA encoding name check is performed, otherwise, no checking. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="996f16ad1aad195eb2e7e618b5f89f94"></a><!-- doxytag: member="XMLPlatformUtils::isStrictIANAEncoding" ref="996f16ad1aad195eb2e7e618b5f89f94" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool XMLPlatformUtils::isStrictIANAEncoding           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns whether a strict IANA encoding name check is enabled or disabled. 
<p>

</div>
</div><p>
<a class="anchor" name="560fd9eecc8651995a4d6af70d71f23a"></a><!-- doxytag: member="XMLPlatformUtils::alignPointerForNewBlockAllocation" ref="560fd9eecc8651995a4d6af70d71f23a" args="(XMLSize_t ptrSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> XMLPlatformUtils::alignPointerForNewBlockAllocation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&nbsp;</td>
          <td class="paramname"> <em>ptrSize</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Aligns the specified pointer per platform block allocation requirements. 
<p>
The results of this function may be altered by defining XML_PLATFORM_NEW_BLOCK_ALIGNMENT. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="6bbba118a3327b2e7c1952bf04de2787"></a><!-- doxytag: member="XMLPlatformUtils::fgNetAccessor" ref="6bbba118a3327b2e7c1952bf04de2787" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLNetAccessor.html">XMLNetAccessor</a>* <a class="el" href="classXMLPlatformUtils.html#6bbba118a3327b2e7c1952bf04de2787">XMLPlatformUtils::fgNetAccessor</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The network accessor. 
<p>
This is provided by the per-platform driver, so each platform can choose what actual implementation it wants to use. The object must be dynamically allocated.<p>
<em>Note that you may optionally, if your platform driver does not install a network accessor, set it manually from your client code after calling <a class="el" href="classXMLPlatformUtils.html#aa98f8d1346b8b531ee8886d9ce36173" title="Perform per-process parser initialization.">Initialize()</a>. This works because this object is not required during initialization, and only comes into play during actual XML parsing.</em> 
</div>
</div><p>
<a class="anchor" name="bb0ad83db922cbf891a70319b2e6702b"></a><!-- doxytag: member="XMLPlatformUtils::fgTransService" ref="bb0ad83db922cbf891a70319b2e6702b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLTransService.html">XMLTransService</a>* <a class="el" href="classXMLPlatformUtils.html#bb0ad83db922cbf891a70319b2e6702b">XMLPlatformUtils::fgTransService</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The transcoding service. 
<p>
This is provided by the per platform driver, so each platform can choose what implementation it wants to use. When the platform independent initialization code needs to get a transcoding service object, it will call <code>makeTransService()</code> to ask the per-platform code to create one. Only one transcoding service object is requested per-process, so it is shared and synchronized among parser instances within that process. 
</div>
</div><p>
<a class="anchor" name="ac6484e7073d5fb515ea791ee873b5bd"></a><!-- doxytag: member="XMLPlatformUtils::fgUserPanicHandler" ref="ac6484e7073d5fb515ea791ee873b5bd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPanicHandler.html">PanicHandler</a>* <a class="el" href="classXMLPlatformUtils.html#ac6484e7073d5fb515ea791ee873b5bd">XMLPlatformUtils::fgUserPanicHandler</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The Panic Handler. 
<p>
This is the application provided panic handler. 
</div>
</div><p>
<a class="anchor" name="db96471b53887380718f80e54934925f"></a><!-- doxytag: member="XMLPlatformUtils::fgDefaultPanicHandler" ref="db96471b53887380718f80e54934925f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPanicHandler.html">PanicHandler</a>* <a class="el" href="classXMLPlatformUtils.html#db96471b53887380718f80e54934925f">XMLPlatformUtils::fgDefaultPanicHandler</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The Panic Handler. 
<p>
This is the default panic handler. 
</div>
</div><p>
<a class="anchor" name="97eff0d9fff3567bea3acd3ca4d95252"></a><!-- doxytag: member="XMLPlatformUtils::fgMemoryManager" ref="97eff0d9fff3567bea3acd3ca4d95252" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classMemoryManager.html">MemoryManager</a>* <a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The configurable memory manager. 
<p>
This is the pluggable memory manager. If it is not provided by an application, a default implementation is used. 
</div>
</div><p>
<a class="anchor" name="14ce4194a811184a9e1e17ca2adeee9d"></a><!-- doxytag: member="XMLPlatformUtils::fgFileMgr" ref="14ce4194a811184a9e1e17ca2adeee9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLFileMgr.html">XMLFileMgr</a>* <a class="el" href="classXMLPlatformUtils.html#14ce4194a811184a9e1e17ca2adeee9d">XMLPlatformUtils::fgFileMgr</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="28f0c7e21b0ccf29bb38c90a544ebc8f"></a><!-- doxytag: member="XMLPlatformUtils::fgMutexMgr" ref="28f0c7e21b0ccf29bb38c90a544ebc8f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLMutexMgr.html">XMLMutexMgr</a>* <a class="el" href="classXMLPlatformUtils.html#28f0c7e21b0ccf29bb38c90a544ebc8f">XMLPlatformUtils::fgMutexMgr</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="aa3859ca77bec01d7c5c4da4632ab761"></a><!-- doxytag: member="XMLPlatformUtils::fgAtomicMutex" ref="aa3859ca77bec01d7c5c4da4632ab761" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XMLMutex* <a class="el" href="classXMLPlatformUtils.html#aa3859ca77bec01d7c5c4da4632ab761">XMLPlatformUtils::fgAtomicMutex</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Global mutex for fast or infrequent operations. 
<p>
Use this mutex only for fast (e.g., increment an integer, check flag, etc.) or infrequent (e.g., once-off initialization) operations. 
</div>
</div><p>
<a class="anchor" name="5d963ab2acfd08abcfcaab3a7e5819d2"></a><!-- doxytag: member="XMLPlatformUtils::fgXMLChBigEndian" ref="5d963ab2acfd08abcfcaab3a7e5819d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classXMLPlatformUtils.html#5d963ab2acfd08abcfcaab3a7e5819d2">XMLPlatformUtils::fgXMLChBigEndian</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="41b2fc50c55ad21172a8e649d441aec0"></a><!-- doxytag: member="XMLPlatformUtils::fgSSE2ok" ref="41b2fc50c55ad21172a8e649d441aec0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classXMLPlatformUtils.html#41b2fc50c55ad21172a8e649d441aec0">XMLPlatformUtils::fgSSE2ok</a><code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PlatformUtils_8hpp-source.html">PlatformUtils.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:50 2010 for Xerces-C++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>