summaryrefslogtreecommitdiff
path: root/docs/doxygen/latex/classxb_1_1xbFile.tex
blob: 2ae5244ba9cffd327a625a79f45bed285230521c (plain)
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
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
\hypertarget{classxb_1_1xbFile}{}\doxysection{xb\+::xb\+File Class Reference}
\label{classxb_1_1xbFile}\index{xb::xbFile@{xb::xbFile}}


Class for handling low level file I/O.  




{\ttfamily \#include $<$xbfile.\+h$>$}

Inheritance diagram for xb\+::xb\+File\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classxb_1_1xbFile}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classxb_1_1xbFile_a869eedd74c6eddc308852eb546c87176}{xb\+File}} (\mbox{\hyperlink{classxb_1_1xbXBase}{xb\+XBase}} $\ast$x)
\begin{DoxyCompactList}\small\item\em Class Constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classxb_1_1xbFile_a491f6c48076e89da2e791a42b2727a90}{$\sim$xb\+File}} ()
\begin{DoxyCompactList}\small\item\em Class Destructor. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_aae9a2ddb0adb8165b4ac2b6a28a932f7}{Create\+Unique\+File\+Name}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Dir\+In, const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Ext\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Fqn\+Out)
\begin{DoxyCompactList}\small\item\em Create a unique file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ae5ffabde2c88ea58324f27e471f6bfc0}{Create\+Unique\+File\+Name}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Dir\+In, const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Ext\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Fqn\+Out, xb\+Int16 i\+Option)
\begin{DoxyCompactList}\small\item\em Create a unique file name. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbFile_acd0fb2166b2bff7e8a1cf65a7bc8be1e}{Get\+Directory}} () const
\begin{DoxyCompactList}\small\item\em Get the directory name. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbFile_ac95cb882ccbcdedc9a233c6ad9fed07a}{Get\+File\+Name}} () const
\begin{DoxyCompactList}\small\item\em Get the file name. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbFile_a31b4e641f93206ba23e2a5a27491dcd4}{Get\+Fq\+File\+Name}} () const
\begin{DoxyCompactList}\small\item\em Get the fully qualified file name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_ae78a85255488bc78964c16946dbaead3}{Set\+Directory}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Directory)
\begin{DoxyCompactList}\small\item\em Set the directory. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a5419eb27e56822f828b2b88a9502a636}{Set\+File\+Name}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name)
\begin{DoxyCompactList}\small\item\em Set the filename. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_aee832fa11db2077a532f49e1329bd05a}{Set\+Fq\+File\+Name}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Fq\+Name)
\begin{DoxyCompactList}\small\item\em Set the fully qualifed filename. \end{DoxyCompactList}\item 
xb\+UInt32 \mbox{\hyperlink{classxb_1_1xbFile_a638e14262410a1627819f016a16cdce2}{Get\+Block\+Size}} () const
\begin{DoxyCompactList}\small\item\em Get the block size. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a991c5676a6f38fa752435390989f413e}{Set\+Block\+Size}} (xb\+UInt32 ul\+Block\+Size)
\begin{DoxyCompactList}\small\item\em Set the block size. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a3c500dc9dac22c49496e4b29386b2dd3}{Get\+Open\+Mode}} () const
\begin{DoxyCompactList}\small\item\em Get the open mode of the file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a9b63e05b77f477ff6109ff7b9432c1b6}{Get\+Share\+Mode}} () const
\begin{DoxyCompactList}\small\item\em Get the share mode of the file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a60c53998e3d1b694134b20a87bc9bf5a}{Get\+File\+Dir\+Part}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Dir\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the directory part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_af5127c92892816e9bbc5c19653c4147a}{Get\+File\+Dir\+Part}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Complete\+File\+Name\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Dir\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the directory part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a57a9222e5cbb51019d4eeb2c3ac89fa2}{Get\+File\+Ext\+Part}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Ext\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the extension part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ab289b6ffe955321160c1f90220c22e25}{Get\+File\+Ext\+Part}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Complete\+File\+Name\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Ext\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the extension part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a81422b3dd52763d2cc6c77237ec9af0a}{Get\+File\+Name\+Part}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the name part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a6110763c5ae996b72c7a62c15bdecc73}{Get\+File\+Name\+Part}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Complete\+File\+Name\+In, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name\+Part\+Out) const
\begin{DoxyCompactList}\small\item\em Get the name part of the file name. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a5548236d38d43b89ae29b9a015b1f678}{Get\+File\+Type}} (\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Type) const
\begin{DoxyCompactList}\small\item\em Get the file type aka Capitalized file extension. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_aaf2e697751a0beff41432a66bb83fb5e}{Get\+Xbase\+File\+Type\+Byte}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, xb\+Int16 \&i\+Version)
\begin{DoxyCompactList}\small\item\em Get the file type byte and version of the dbf file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a7af337808919680b90710ad5e8a99232}{Get\+Xbase\+File\+Type\+Byte}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, unsigned char \&c\+File\+Type\+Byte)
\begin{DoxyCompactList}\small\item\em Get the file type byte and version of the dbf file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a78aebdd21d3de46a450d5f835e3027f6}{Get\+Xbase\+File\+Type\+Byte}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, unsigned char \&c\+File\+Type\+Byte, xb\+Int16 \&i\+Version)
\begin{DoxyCompactList}\small\item\em Get the file type byte and version of the dbf file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ae2b6ac26018dc28f77afbb3f008c3f66}{Determine\+Xbase\+Table\+Version}} (unsigned char c\+File\+Type\+Byte) const
\begin{DoxyCompactList}\small\item\em Determine xbase dbf version. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a5a740033664c9ad2611c90e2a6d0c2d3}{Determine\+Xbase\+Memo\+Version}} (unsigned char c\+File\+Type\+Byte) const
\begin{DoxyCompactList}\small\item\em Determine which version the memo (dbt) file is. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbFile_a78bd8a11dce102647095baf3aff2b006}{File\+Exists}} () const
\begin{DoxyCompactList}\small\item\em Determines if a file exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbFile_a174d8a6aabc9cfcd32fedbd1e5b13ddd}{File\+Exists}} (xb\+Int16 i\+Option) const
\begin{DoxyCompactList}\small\item\em Determines if a file exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbFile_a61130b4fbf4cf9d5972dcb4993de2f94}{File\+Exists}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name) const
\begin{DoxyCompactList}\small\item\em Determines if a file exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbFile_a0592168f39a10f2a401a88ef781f6148}{File\+Exists}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, xb\+Int16 i\+Option) const
\begin{DoxyCompactList}\small\item\em Determines if a file exists. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbFile_a7fa837938a32dc9ca3fbc81cbaf50f59}{File\+Is\+Open}} () const
\begin{DoxyCompactList}\small\item\em Determines if file is open. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_aa1bb80340abc7a5c22f87f878e9dc825}{Read\+Block}} (xb\+UInt32 ul\+Block\+No, size\+\_\+t read\+Size, void $\ast$buf)
\begin{DoxyCompactList}\small\item\em Read a block of data from file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_aef696b1c4c0ef5338e818599f695d485}{Read\+Block}} (xb\+UInt32 ul\+Block\+No, xb\+UInt32 ul\+Block\+Size, size\+\_\+t read\+Size, void $\ast$buf)
\begin{DoxyCompactList}\small\item\em Read a block of data from file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a5d871dcfecc2b4338f7a13722aab766c}{Write\+Block}} (xb\+UInt32 ul\+Block\+No, size\+\_\+t write\+Size, void $\ast$buf)
\begin{DoxyCompactList}\small\item\em Write a block of data to file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a50b63c39e49d44e52078038027b24cc5}{Get\+File\+Size}} (xb\+UInt64 \&ull\+File\+Size)
\begin{DoxyCompactList}\small\item\em Get the size of the file as reported by the OS. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a02df78f4c90313243f508fc56b95aba8}{Get\+File\+Mtime}} (time\+\_\+t \&mtime)
\begin{DoxyCompactList}\small\item\em Get the time of last file modification timestamp as reported by the OS. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_a25f47b226ce924a5c78f97989b0744a2}{xb\+Double}} \mbox{\hyperlink{classxb_1_1xbFile_ab14e4a11427f5efb81cba1dd32bd1aa1}{e\+Get\+Double}} (const char $\ast$p) const
\begin{DoxyCompactList}\small\item\em Get a portable double value. \end{DoxyCompactList}\item 
xb\+Int32 \mbox{\hyperlink{classxb_1_1xbFile_a60b24a5afc984c586bf384c7e915ba0d}{e\+Get\+Int32}} (const char $\ast$p) const
\begin{DoxyCompactList}\small\item\em Get a portable long value. \end{DoxyCompactList}\item 
xb\+UInt32 \mbox{\hyperlink{classxb_1_1xbFile_a78f052529d39a18deaface5a0d47d0b0}{e\+Get\+UInt32}} (const char $\ast$p) const
\begin{DoxyCompactList}\small\item\em Get a portable unsigned long value. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ac40c991110ddc6fb30a72d90f4652762}{e\+Get\+Int16}} (const char $\ast$p) const
\begin{DoxyCompactList}\small\item\em Get a portable short value. \end{DoxyCompactList}\item 
xb\+UInt16 \mbox{\hyperlink{classxb_1_1xbFile_a936ade458e6d5e6d29f9b5031888d189}{e\+Get\+UInt16}} (const char $\ast$p) const
\begin{DoxyCompactList}\small\item\em Get a portable unsigned short value. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a98b6ff533ae93f90c977a2ba23eeb105}{e\+Put\+Double}} (char $\ast$p, \mbox{\hyperlink{namespacexb_a25f47b226ce924a5c78f97989b0744a2}{xb\+Double}} d)
\begin{DoxyCompactList}\small\item\em Write a portable double value to memory location. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a19c37f76a2ccbb45019cb0fc373d3f46}{e\+Put\+Int32}} (char $\ast$p, xb\+Int32 l)
\begin{DoxyCompactList}\small\item\em Write a portable long value to memory location. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_aa3f6ceae4b96f24875d86848bf13a173}{e\+Put\+UInt32}} (char $\ast$p, xb\+UInt32 ul)
\begin{DoxyCompactList}\small\item\em Write a portable unsigned long value to memory location. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a29130f12739ac8fa837f4eaedf1338b2}{e\+Put\+Int16}} (char $\ast$p, xb\+Int16 s)
\begin{DoxyCompactList}\small\item\em Write a portable short value to memory location. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a65e9839f92b96eac7b0d071fac3bbe40}{e\+Put\+UInt16}} (char $\ast$p, xb\+UInt16 s)
\begin{DoxyCompactList}\small\item\em Write a portable unsigned short value to memory location. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a18830b5755d74818f60d9c7ce38ddf2d}{xb\+Fclose}} ()
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fclose. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_af5b6356832d2a67212070a1aa605f170}{xb\+Feof}} ()
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary feof. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ad205184d43409f04216540ae22f15009}{xb\+Fflush}} ()
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fflush. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_afb1c584d2895ffb7834df80aea7eb1e4}{xb\+Fgetc}} (xb\+Int32 \&c)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fgetc. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a5ee229bda4d7d6695e122200e581e7a6}{xb\+Fgetc}} (char \&c)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fgetc. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a7cdfef5ede9ac98d44a28a6b7a70972c}{xb\+Fopen}} (xb\+Int16 i\+Open\+Mode)
\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a0548cedf0f26b7d8ac221f75b0cd048c}{xb\+Fopen}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Open\+Mode, xb\+Int16 i\+Share\+Mode)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fopen. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_aabd113333b49c36cad23244b392baab4}{xb\+Fopen}} (xb\+Int16 i\+Open\+Mode, xb\+Int16 i\+Share\+Mode)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fopen. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ab0fa19686ca8953ff4b556fb5b249135}{xb\+Fopen}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Mode, const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, xb\+Int16 i\+Share\+Mode)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fopen. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_af2e940c78956e5cb6824f9a1bc404896}{xb\+Fputc}} (xb\+Int32 c)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fputc. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a863f74cf17df8186d88586b4d2a6441a}{xb\+Fputc}} (xb\+Int32 c, xb\+Int32 i\+No\+Times)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fputc. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a698f3b40216778562e639e6ca1a47573}{xb\+Fputs}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fputs. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ab4f6afaa1f77539f27a4f05c26e54e2f}{xb\+Fread}} (void $\ast$ptr, size\+\_\+t size, size\+\_\+t nmemb)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fread. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ad245955ace26e5dde85fd4373b30d026}{xb\+Fgets}} (size\+\_\+t l\+Size, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Line)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fgets. \end{DoxyCompactList}\item 
size\+\_\+t \mbox{\hyperlink{classxb_1_1xbFile_a0e1c06aedfa7fbcb92e117f891edd13b}{xb\+Ftell}} ()
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary ftell. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a5337ab8918df240910c0d19b4f298e3d}{xb\+Fseek}} (xb\+Int64 ll\+Offset, xb\+Int32 whence)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fseek. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a9891b792f585a696f38a5cf959e30918}{xb\+FTurn\+Off\+File\+Buffering}} ()
\begin{DoxyCompactList}\small\item\em Turn off file buffering. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a6aadd871d1782944703fed773d44b85f}{xb\+Fwrite}} (const void $\ast$ptr, size\+\_\+t l\+Size, size\+\_\+t l\+Nmemb)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for standard libary fwrite. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a08463f506f425c2385acbe1a561506e9}{xb\+Read\+Until}} (const char c\+Delim, \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Out)
\begin{DoxyCompactList}\small\item\em Read file until a particular character is encountered on input stream. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a6d919366c2ec95e529906bf8842cbf07}{xb\+Remove}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, xb\+Int16 i\+Option)
\begin{DoxyCompactList}\small\item\em Delete file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a58f6a6751fdf7e9549c273bb75d93eb5}{xb\+Remove}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name)
\begin{DoxyCompactList}\small\item\em Delete file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_ab3c668a8570433188382d31d7c60bd48}{xb\+Remove}} ()
\begin{DoxyCompactList}\small\item\em Delete file. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_afc8ce113aa72611a278233f9bb170012}{xb\+Rename}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Old\+Name, const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+New\+Name)
\begin{DoxyCompactList}\small\item\em Rename file. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbFile_a7996b6e084665c37c3892faea64b3505}{xb\+Rewind}} ()
\begin{DoxyCompactList}\small\item\em Xbase wrapper for rewind. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a518bfcbfa3699d883cf89affee383296}{xb\+Truncate}} (xb\+Int64 ll\+Size)
\begin{DoxyCompactList}\small\item\em Xbase wrapper for ftruncate. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbFile_a361e3cc318bbf1c4d10f069e0800a24e}{Name\+Suffix\+Missing}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+File\+Name, xb\+Int16 i\+Option) const
\begin{DoxyCompactList}\small\item\em Determines status of file extension. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}{Display\+Error}} (xb\+Int16 Error\+Code) const
\begin{DoxyCompactList}\small\item\em Display error message on console for a given error number. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}{Get\+Default\+Date\+Format}} () const
\begin{DoxyCompactList}\small\item\em Get the default date format. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}{Get\+Data\+Directory}} () const
\begin{DoxyCompactList}\small\item\em Get the current data directory. \end{DoxyCompactList}\item 
xb\+Int16 \mbox{\hyperlink{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}{Get\+Endian\+Type}} () const
\begin{DoxyCompactList}\small\item\em Get the Endian type. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}{Get\+Error\+Message}} (xb\+Int16 Error\+Code) const
\begin{DoxyCompactList}\small\item\em Get an error message. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}{Set\+Data\+Directory}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Data\+Directory)
\begin{DoxyCompactList}\small\item\em Set the data directory. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}{Set\+Default\+Date\+Format}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Default\+Date\+Format)
\begin{DoxyCompactList}\small\item\em Set the default date format. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}{Bit\+Set}} (unsigned char c, xb\+Int16 i\+Bit\+No) const
\begin{DoxyCompactList}\small\item\em Check a bit in a one byte field and see if it is set. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a8551b15a3ce4fa2a40d698db01f4a9ae}{Bit\+Dump}} (unsigned char c) const
\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_aba1395b8e4c7f28c3614061de6e49190}{Bit\+Dump}} (char c) const
\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}{Get\+Default\+Auto\+Commit}} () const
\begin{DoxyCompactList}\small\item\em Get the default auto commit setting. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}{Set\+Default\+Auto\+Commit}} (\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} b\+Default\+Auto\+Commit)
\begin{DoxyCompactList}\small\item\em Set the default auto commit. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}{Get\+Default\+Log\+Directory}} () const
\item 
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& \mbox{\hyperlink{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}{Get\+Default\+Log\+File\+Name}} () const
\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}{Set\+Default\+Log\+Directory}} (const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&s\+Default\+Log\+Directory)
\item 
\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} \mbox{\hyperlink{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}{Get\+Multi\+User}} () const
\begin{DoxyCompactList}\small\item\em Get the multi user setting. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}{Set\+Multi\+User}} (\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} b\+Multi\+User)
\begin{DoxyCompactList}\small\item\em Get the multi user setting. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const char $\ast$ \mbox{\hyperlink{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}{Error\+Code\+Text}} \mbox{[}$\,$\mbox{]}
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}{Set\+Endian\+Type}} ()
\begin{DoxyCompactList}\small\item\em Set the endian type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classxb_1_1xbXBase}{xb\+XBase}} $\ast$ \mbox{\hyperlink{classxb_1_1xbFile_ae39a67ea391b46055d4ca299cb222004}{xbase}}
\end{DoxyCompactItemize}
\doxysubsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static xb\+Int16 \mbox{\hyperlink{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}{i\+Endian\+Type}} = 0
\item 
static \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \mbox{\hyperlink{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}{s\+Null\+String}} = \char`\"{}\char`\"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Class for handling low level file I/O. 

The \mbox{\hyperlink{classxb_1_1xbFile}{xb\+File}} class is used as an abstraction layer to isolate the library from the nuances of different operating systems and machine architectures.

This module handles low level file I/O and is a base class for the (dbf) table, (dbt) memo and (ndx,mdx) index classes. Files are opened and manipulated via methods in the \mbox{\hyperlink{classxb_1_1xbFile}{xb\+File}} class.~\newline
 This class handles\+:~\newline
 1) Big and little endian reads/writes~\newline
 2) 32 or 64 bit system calls, depending on OS~\newline
 3) Various different c/c++ calls to open/close/read/write based on OS and compiler version~\newline
 ~\newline
 If you are wanting to port this library to a new platform, start with this class. This class could be used if you want to write a platform independent program that needs R/W file access. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classxb_1_1xbFile_a869eedd74c6eddc308852eb546c87176}\label{classxb_1_1xbFile_a869eedd74c6eddc308852eb546c87176}} 
\index{xb::xbFile@{xb::xbFile}!xbFile@{xbFile}}
\index{xbFile@{xbFile}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFile()}{xbFile()}}
{\footnotesize\ttfamily xb\+::xb\+File\+::xb\+File (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbXBase}{xb\+XBase}} $\ast$}]{x }\end{DoxyParamCaption})}



Class Constructor. 

\mbox{\Hypertarget{classxb_1_1xbFile_a491f6c48076e89da2e791a42b2727a90}\label{classxb_1_1xbFile_a491f6c48076e89da2e791a42b2727a90}} 
\index{xb::xbFile@{xb::xbFile}!````~xbFile@{$\sim$xbFile}}
\index{````~xbFile@{$\sim$xbFile}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{$\sim$xbFile()}{~xbFile()}}
{\footnotesize\ttfamily xb\+::xb\+File\+::$\sim$xb\+File (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Class Destructor. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classxb_1_1xbSsv_aba1395b8e4c7f28c3614061de6e49190}\label{classxb_1_1xbSsv_aba1395b8e4c7f28c3614061de6e49190}} 
\index{xb::xbFile@{xb::xbFile}!BitDump@{BitDump}}
\index{BitDump@{BitDump}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{BitDump()}{BitDump()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Bit\+Dump (\begin{DoxyParamCaption}\item[{char}]{c }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbSsv_a8551b15a3ce4fa2a40d698db01f4a9ae}\label{classxb_1_1xbSsv_a8551b15a3ce4fa2a40d698db01f4a9ae}} 
\index{xb::xbFile@{xb::xbFile}!BitDump@{BitDump}}
\index{BitDump@{BitDump}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{BitDump()}{BitDump()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Bit\+Dump (\begin{DoxyParamCaption}\item[{unsigned char}]{c }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}\label{classxb_1_1xbSsv_a62e4fd0a5888665c76bbbad962794e72}} 
\index{xb::xbFile@{xb::xbFile}!BitSet@{BitSet}}
\index{BitSet@{BitSet}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{BitSet()}{BitSet()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Bit\+Set (\begin{DoxyParamCaption}\item[{unsigned char}]{c,  }\item[{xb\+Int16}]{i\+Bit\+No }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Check a bit in a one byte field and see if it is set. 


\begin{DoxyParams}{Parameters}
{\em c} & One byte char field to examine. \\
\hline
{\em i\+Bit\+No} & which bit to examine. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
xb\+True Bit is set~\newline
 xb\+False Bit is not set 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_aae9a2ddb0adb8165b4ac2b6a28a932f7}\label{classxb_1_1xbFile_aae9a2ddb0adb8165b4ac2b6a28a932f7}} 
\index{xb::xbFile@{xb::xbFile}!CreateUniqueFileName@{CreateUniqueFileName}}
\index{CreateUniqueFileName@{CreateUniqueFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{CreateUniqueFileName()}{CreateUniqueFileName()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Create\+Unique\+File\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Dir\+In,  }\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Ext\+In,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Fqn\+Out }\end{DoxyParamCaption})}



Create a unique file name. 

Given a directory and file extension as inputs, create a unique file name.


\begin{DoxyParams}{Parameters}
{\em s\+Dir\+In} & Directory \\
\hline
{\em s\+Ext\+In} & File Extension \\
\hline
{\em s\+Fqn\+Out} & A fully qualifed unique file name as output \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ae5ffabde2c88ea58324f27e471f6bfc0}\label{classxb_1_1xbFile_ae5ffabde2c88ea58324f27e471f6bfc0}} 
\index{xb::xbFile@{xb::xbFile}!CreateUniqueFileName@{CreateUniqueFileName}}
\index{CreateUniqueFileName@{CreateUniqueFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{CreateUniqueFileName()}{CreateUniqueFileName()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Create\+Unique\+File\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Dir\+In,  }\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Ext\+In,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Fqn\+Out,  }\item[{xb\+Int16}]{i\+Option }\end{DoxyParamCaption})}



Create a unique file name. 

Given a directory and file extension as inputs, create a unique file name.


\begin{DoxyParams}{Parameters}
{\em s\+Dir\+In} & Directory \\
\hline
{\em s\+Ext\+In} & File Extension \\
\hline
{\em i\+Option} & 0 -\/ look only for one file for a given directory and extension~\newline
 1 -\/ if file name extension is \char`\"{}dbf\char`\"{} or \char`\"{}\+DBF\char`\"{}, verify unique dbt or DBT (memo) file is also available~\newline
 \\
\hline
{\em s\+Fqn\+Out} & A fully qualifed unique file name as output \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a5a740033664c9ad2611c90e2a6d0c2d3}\label{classxb_1_1xbFile_a5a740033664c9ad2611c90e2a6d0c2d3}} 
\index{xb::xbFile@{xb::xbFile}!DetermineXbaseMemoVersion@{DetermineXbaseMemoVersion}}
\index{DetermineXbaseMemoVersion@{DetermineXbaseMemoVersion}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{DetermineXbaseMemoVersion()}{DetermineXbaseMemoVersion()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Determine\+Xbase\+Memo\+Version (\begin{DoxyParamCaption}\item[{unsigned char}]{c\+File\+Type\+Byte }\end{DoxyParamCaption}) const}



Determine which version the memo (dbt) file is. 

This routine uses the first byte in the dbf file to determine which memo file version is in use. The main difference between version 3 and 4 is that version 4 will reuse blocks if they become available. Version 3 does not.


\begin{DoxyParams}{Parameters}
{\em c\+File\+Type\+Byte} & is an output field and is one of\+:~\newline
 ~\newline
 0 -\/ none~\newline
 3 -\/ Dbase III+~\newline
 4 -\/ Dbase IV~\newline
\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ae2b6ac26018dc28f77afbb3f008c3f66}\label{classxb_1_1xbFile_ae2b6ac26018dc28f77afbb3f008c3f66}} 
\index{xb::xbFile@{xb::xbFile}!DetermineXbaseTableVersion@{DetermineXbaseTableVersion}}
\index{DetermineXbaseTableVersion@{DetermineXbaseTableVersion}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{DetermineXbaseTableVersion()}{DetermineXbaseTableVersion()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Determine\+Xbase\+Table\+Version (\begin{DoxyParamCaption}\item[{unsigned char}]{c\+File\+Type\+Byte }\end{DoxyParamCaption}) const}



Determine xbase dbf version. 

This routine is used to determine which version of the Xbase classes can be used for a given DBF file.~\newline


It attempts to use the highest version compiled into the library.~\newline


References\+:~\newline
 This routine uses the first byte from the dbf file.~\newline
 Per DBase documentation\+:~\newline
 Valid d\+BASE for Windows table file, bits 0-\/2 indicate version number\+: 3 for d\+BASE Level 5, 4 for d\+BASE Level 7.~\newline
 Bit 3 and bit 7 indicate presence of a d\+BASE IV or d\+BASE for Windows memo file;~\newline
 Bits 4-\/6 indicate the presence of a d\+BASE IV SQL table;~\newline
 Bit 7 indicates the presence of any .DBT memo file (either a d\+BASE III PLUS type or a d\+BASE IV or d\+BASE for Windows memo file).~\newline
 ~\newline
 Bachmann spec (used extensively in library build), page 7 -\/ does not match DBase documentation~\newline
 ~\newline
 returns~\newline
 0 -\/ unknown~\newline
 3 -\/ Dbase level 3~\newline
 4 -\/ Dbase level 4~\newline
 5 -\/ Dbase Level 5 (future)~\newline
 7 -\/ Dbase Level 7 (future)~\newline
 ~\newline
 1x -\/ Clipper files (future)~\newline
 2x -\/ Foxbase files (future)~\newline
 ~\newline
 \mbox{\Hypertarget{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}\label{classxb_1_1xbSsv_a97dfa59ab9a8e9f17454da0faceb023d}} 
\index{xb::xbFile@{xb::xbFile}!DisplayError@{DisplayError}}
\index{DisplayError@{DisplayError}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{DisplayError()}{DisplayError()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Display\+Error (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Error\+Code }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Display error message on console for a given error number. 


\begin{DoxyParams}{Parameters}
{\em i\+Error\+Code} & Error number to reference \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_ab14e4a11427f5efb81cba1dd32bd1aa1}\label{classxb_1_1xbFile_ab14e4a11427f5efb81cba1dd32bd1aa1}} 
\index{xb::xbFile@{xb::xbFile}!eGetDouble@{eGetDouble}}
\index{eGetDouble@{eGetDouble}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{eGetDouble()}{eGetDouble()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_a25f47b226ce924a5c78f97989b0744a2}{xb\+Double}} xb\+::xb\+File\+::e\+Get\+Double (\begin{DoxyParamCaption}\item[{const char $\ast$}]{p }\end{DoxyParamCaption}) const}



Get a portable double value. 

This routine returns a double value from an 8 byte character stream, accounting for endian type.

Converts a double (64 bit floating point) value stored at p from a portable format to the machine format.


\begin{DoxyParams}{Parameters}
{\em p} & pointer to memory containing the portable double value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the double value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ac40c991110ddc6fb30a72d90f4652762}\label{classxb_1_1xbFile_ac40c991110ddc6fb30a72d90f4652762}} 
\index{xb::xbFile@{xb::xbFile}!eGetInt16@{eGetInt16}}
\index{eGetInt16@{eGetInt16}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{eGetInt16()}{eGetInt16()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::e\+Get\+Int16 (\begin{DoxyParamCaption}\item[{const char $\ast$}]{p }\end{DoxyParamCaption}) const}



Get a portable short value. 

This routine returns a short int value from a 2 byte character stream, accounting for endian type.


\begin{DoxyParams}{Parameters}
{\em p} & pointer to memory containing the portable long value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the short value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a60b24a5afc984c586bf384c7e915ba0d}\label{classxb_1_1xbFile_a60b24a5afc984c586bf384c7e915ba0d}} 
\index{xb::xbFile@{xb::xbFile}!eGetInt32@{eGetInt32}}
\index{eGetInt32@{eGetInt32}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{eGetInt32()}{eGetInt32()}}
{\footnotesize\ttfamily xb\+Int32 xb\+::xb\+File\+::e\+Get\+Int32 (\begin{DoxyParamCaption}\item[{const char $\ast$}]{p }\end{DoxyParamCaption}) const}



Get a portable long value. 

This routine returns a long int value from a 4 byte character stream, accounting for endian type.


\begin{DoxyParams}{Parameters}
{\em p} & pointer to memory containing the portable long value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the long value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a936ade458e6d5e6d29f9b5031888d189}\label{classxb_1_1xbFile_a936ade458e6d5e6d29f9b5031888d189}} 
\index{xb::xbFile@{xb::xbFile}!eGetUInt16@{eGetUInt16}}
\index{eGetUInt16@{eGetUInt16}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{eGetUInt16()}{eGetUInt16()}}
{\footnotesize\ttfamily xb\+UInt16 xb\+::xb\+File\+::e\+Get\+UInt16 (\begin{DoxyParamCaption}\item[{const char $\ast$}]{p }\end{DoxyParamCaption}) const}



Get a portable unsigned short value. 

This routine returns a short unsigned int value from a 2 byte character stream, accounting for endian type.


\begin{DoxyParams}{Parameters}
{\em p} & pointer to memory containing the portable long value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the short value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a78f052529d39a18deaface5a0d47d0b0}\label{classxb_1_1xbFile_a78f052529d39a18deaface5a0d47d0b0}} 
\index{xb::xbFile@{xb::xbFile}!eGetUInt32@{eGetUInt32}}
\index{eGetUInt32@{eGetUInt32}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{eGetUInt32()}{eGetUInt32()}}
{\footnotesize\ttfamily xb\+UInt32 xb\+::xb\+File\+::e\+Get\+UInt32 (\begin{DoxyParamCaption}\item[{const char $\ast$}]{p }\end{DoxyParamCaption}) const}



Get a portable unsigned long value. 

This routine returns an unsigned long int value from a 4 byte character stream, accounting for endian type.


\begin{DoxyParams}{Parameters}
{\em p} & pointer to memory containing the portable long value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the unsigned long value. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a98b6ff533ae93f90c977a2ba23eeb105}\label{classxb_1_1xbFile_a98b6ff533ae93f90c977a2ba23eeb105}} 
\index{xb::xbFile@{xb::xbFile}!ePutDouble@{ePutDouble}}
\index{ePutDouble@{ePutDouble}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ePutDouble()}{ePutDouble()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::e\+Put\+Double (\begin{DoxyParamCaption}\item[{char $\ast$}]{c,  }\item[{\mbox{\hyperlink{namespacexb_a25f47b226ce924a5c78f97989b0744a2}{xb\+Double}}}]{d }\end{DoxyParamCaption})}



Write a portable double value to memory location. 

Converts a double (64 bit floating point) value from machine format to a portable format and stores the converted value in the memory referenced by c.

This routine puts a double value to an 8 byte character stream


\begin{DoxyParams}{Parameters}
{\em c} & Pointer to memory to hold converted value \\
\hline
{\em d} & Input value to be converted \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_a29130f12739ac8fa837f4eaedf1338b2}\label{classxb_1_1xbFile_a29130f12739ac8fa837f4eaedf1338b2}} 
\index{xb::xbFile@{xb::xbFile}!ePutInt16@{ePutInt16}}
\index{ePutInt16@{ePutInt16}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ePutInt16()}{ePutInt16()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::e\+Put\+Int16 (\begin{DoxyParamCaption}\item[{char $\ast$}]{c,  }\item[{xb\+Int16}]{s }\end{DoxyParamCaption})}



Write a portable short value to memory location. 

Converts a short (16 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.

This routine puts a short value to a 2 byte character stream


\begin{DoxyParams}{Parameters}
{\em c} & Pointer to memory to hold converted value \\
\hline
{\em s} & Input value to be converted \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_a19c37f76a2ccbb45019cb0fc373d3f46}\label{classxb_1_1xbFile_a19c37f76a2ccbb45019cb0fc373d3f46}} 
\index{xb::xbFile@{xb::xbFile}!ePutInt32@{ePutInt32}}
\index{ePutInt32@{ePutInt32}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ePutInt32()}{ePutInt32()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::e\+Put\+Int32 (\begin{DoxyParamCaption}\item[{char $\ast$}]{c,  }\item[{xb\+Int32}]{l }\end{DoxyParamCaption})}



Write a portable long value to memory location. 

Converts a long (32 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.

This routine puts a long value to a 4 byte character stream.


\begin{DoxyParams}{Parameters}
{\em c} & Pointer to memory to hold converted value \\
\hline
{\em l} & Input value to be converted \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_a65e9839f92b96eac7b0d071fac3bbe40}\label{classxb_1_1xbFile_a65e9839f92b96eac7b0d071fac3bbe40}} 
\index{xb::xbFile@{xb::xbFile}!ePutUInt16@{ePutUInt16}}
\index{ePutUInt16@{ePutUInt16}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ePutUInt16()}{ePutUInt16()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::e\+Put\+UInt16 (\begin{DoxyParamCaption}\item[{char $\ast$}]{c,  }\item[{xb\+UInt16}]{s }\end{DoxyParamCaption})}



Write a portable unsigned short value to memory location. 

Converts an unsigned short (16 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.

This routine puts an unsigned short value to a 2 byte character stream


\begin{DoxyParams}{Parameters}
{\em c} & Pointer to memory to hold converted value \\
\hline
{\em s} & Input value to be converted \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_aa3f6ceae4b96f24875d86848bf13a173}\label{classxb_1_1xbFile_aa3f6ceae4b96f24875d86848bf13a173}} 
\index{xb::xbFile@{xb::xbFile}!ePutUInt32@{ePutUInt32}}
\index{ePutUInt32@{ePutUInt32}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ePutUInt32()}{ePutUInt32()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::e\+Put\+UInt32 (\begin{DoxyParamCaption}\item[{char $\ast$}]{c,  }\item[{xb\+UInt32}]{ul }\end{DoxyParamCaption})}



Write a portable unsigned long value to memory location. 

Converts an unsigned long (32 bit integer) value from machine format to a portable format and stores the converted value in the memory referenced by c.

This routine puts an unsigned long value to a 4 byte character stream.


\begin{DoxyParams}{Parameters}
{\em c} & Pointer to memory to hold converted value \\
\hline
{\em ul} & Input value to be converted \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_a78bd8a11dce102647095baf3aff2b006}\label{classxb_1_1xbFile_a78bd8a11dce102647095baf3aff2b006}} 
\index{xb::xbFile@{xb::xbFile}!FileExists@{FileExists}}
\index{FileExists@{FileExists}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{FileExists()}{FileExists()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+File\+::\+File\+Exists (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Determines if a file exists. 

\begin{DoxyReturn}{Returns}
xb\+True if file exists~\newline
 xb\+False if file does not exist 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a61130b4fbf4cf9d5972dcb4993de2f94}\label{classxb_1_1xbFile_a61130b4fbf4cf9d5972dcb4993de2f94}} 
\index{xb::xbFile@{xb::xbFile}!FileExists@{FileExists}}
\index{FileExists@{FileExists}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{FileExists()}{FileExists()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+File\+::\+File\+Exists (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name }\end{DoxyParamCaption}) const}



Determines if a file exists. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ file name to check for\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
xb\+True if file exists~\newline
 xb\+False if file does not exist 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a0592168f39a10f2a401a88ef781f6148}\label{classxb_1_1xbFile_a0592168f39a10f2a401a88ef781f6148}} 
\index{xb::xbFile@{xb::xbFile}!FileExists@{FileExists}}
\index{FileExists@{FileExists}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{FileExists()}{FileExists()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+File\+::\+File\+Exists (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{xb\+Int16}]{i\+Option }\end{DoxyParamCaption}) const}



Determines if a file exists. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ file name to check for \\
\hline
{\em i\+Option} & if 1, assume this is a request for a dbf file and check for the a dbt memo file also, returns true if both files are found\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
xb\+True if both dbf and dbt files exist~\newline
 xb\+False if file does not exist 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a174d8a6aabc9cfcd32fedbd1e5b13ddd}\label{classxb_1_1xbFile_a174d8a6aabc9cfcd32fedbd1e5b13ddd}} 
\index{xb::xbFile@{xb::xbFile}!FileExists@{FileExists}}
\index{FileExists@{FileExists}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{FileExists()}{FileExists()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+File\+::\+File\+Exists (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Option }\end{DoxyParamCaption}) const}



Determines if a file exists. 


\begin{DoxyParams}{Parameters}
{\em i\+Option} & if 1, assume this is a request for a dbf file and check for the a dbt memo file also, returns true if both files are found\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
xb\+True if both files exist~\newline
 xb\+False if file does not exist 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a7fa837938a32dc9ca3fbc81cbaf50f59}\label{classxb_1_1xbFile_a7fa837938a32dc9ca3fbc81cbaf50f59}} 
\index{xb::xbFile@{xb::xbFile}!FileIsOpen@{FileIsOpen}}
\index{FileIsOpen@{FileIsOpen}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{FileIsOpen()}{FileIsOpen()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+File\+::\+File\+Is\+Open (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Determines if file is open. 

\begin{DoxyReturn}{Returns}
xb\+True if file is open~\newline
 xb\+False if file is not open 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a638e14262410a1627819f016a16cdce2}\label{classxb_1_1xbFile_a638e14262410a1627819f016a16cdce2}} 
\index{xb::xbFile@{xb::xbFile}!GetBlockSize@{GetBlockSize}}
\index{GetBlockSize@{GetBlockSize}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetBlockSize()}{GetBlockSize()}}
{\footnotesize\ttfamily xb\+UInt32 xb\+::xb\+File\+::\+Get\+Block\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the block size. 

\begin{DoxyReturn}{Returns}
Block Size 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}\label{classxb_1_1xbSsv_a1d803a4bfc8ba0561267a0bf9e51f7d9}} 
\index{xb::xbFile@{xb::xbFile}!GetDataDirectory@{GetDataDirectory}}
\index{GetDataDirectory@{GetDataDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDataDirectory()}{GetDataDirectory()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Data\+Directory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the current data directory. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing the current data directory where the database files are stored. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}\label{classxb_1_1xbSsv_a6982f973e81587b04916f4509746aaf5}} 
\index{xb::xbFile@{xb::xbFile}!GetDefaultAutoCommit@{GetDefaultAutoCommit}}
\index{GetDefaultAutoCommit@{GetDefaultAutoCommit}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDefaultAutoCommit()}{GetDefaultAutoCommit()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Get\+Default\+Auto\+Commit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the default auto commit setting. 

When auto commit is enabled, the library will automatically post any updates when moving off an updated record or closing files. If auto commit is disabled, the application program will need to explicitly update the tables using using dbf-\/\texorpdfstring{$>$}{>}Put() and dbf-\/\texorpdfstring{$>$}{>}Append\+Record().

\begin{DoxyReturn}{Returns}
xb\+True if auto commit is turned on~\newline
 xb\+False is auto commit is turned off 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}\label{classxb_1_1xbSsv_a6fbb9c3a550ab0b3378f9586a57791d2}} 
\index{xb::xbFile@{xb::xbFile}!GetDefaultDateFormat@{GetDefaultDateFormat}}
\index{GetDefaultDateFormat@{GetDefaultDateFormat}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDefaultDateFormat()}{GetDefaultDateFormat()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Date\+Format (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the default date format. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing the default date format. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}\label{classxb_1_1xbSsv_abf3763faf6a8917a963213cd53af529c}} 
\index{xb::xbFile@{xb::xbFile}!GetDefaultLogDirectory@{GetDefaultLogDirectory}}
\index{GetDefaultLogDirectory@{GetDefaultLogDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDefaultLogDirectory()}{GetDefaultLogDirectory()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Log\+Directory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}\label{classxb_1_1xbSsv_a43878d4dc041f2a5e2398a118ccfaf79}} 
\index{xb::xbFile@{xb::xbFile}!GetDefaultLogFileName@{GetDefaultLogFileName}}
\index{GetDefaultLogFileName@{GetDefaultLogFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDefaultLogFileName()}{GetDefaultLogFileName()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+Ssv\+::\+Get\+Default\+Log\+File\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbFile_acd0fb2166b2bff7e8a1cf65a7bc8be1e}\label{classxb_1_1xbFile_acd0fb2166b2bff7e8a1cf65a7bc8be1e}} 
\index{xb::xbFile@{xb::xbFile}!GetDirectory@{GetDirectory}}
\index{GetDirectory@{GetDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetDirectory()}{GetDirectory()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+File\+::\+Get\+Directory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the directory name. 

\begin{DoxyReturn}{Returns}
the directory name of the file 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}\label{classxb_1_1xbSsv_a49cd162f066eef2b829ba7c9f6620243}} 
\index{xb::xbFile@{xb::xbFile}!GetEndianType@{GetEndianType}}
\index{GetEndianType@{GetEndianType}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetEndianType()}{GetEndianType()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Ssv\+::\+Get\+Endian\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the Endian type. 

\begin{DoxyReturn}{Returns}
B -\/ Big endian~\newline
 L -\/ Little endian~\newline
 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}\label{classxb_1_1xbSsv_a56961d2a67b8e7470098626ac4dac7e4}} 
\index{xb::xbFile@{xb::xbFile}!GetErrorMessage@{GetErrorMessage}}
\index{GetErrorMessage@{GetErrorMessage}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetErrorMessage()}{GetErrorMessage()}}
{\footnotesize\ttfamily const char $\ast$ xb\+::xb\+Ssv\+::\+Get\+Error\+Message (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Error\+Code }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get an error message. 


\begin{DoxyParams}{Parameters}
{\em i\+Error\+Code} & Error\+Code is the error number of description to be returned. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns a pointer to a string containing a text description for the error code. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_af5127c92892816e9bbc5c19653c4147a}\label{classxb_1_1xbFile_af5127c92892816e9bbc5c19653c4147a}} 
\index{xb::xbFile@{xb::xbFile}!GetFileDirPart@{GetFileDirPart}}
\index{GetFileDirPart@{GetFileDirPart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileDirPart()}{GetFileDirPart()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Dir\+Part (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Complete\+File\+Name\+In,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Dir\+Part\+Out }\end{DoxyParamCaption}) const}



Get the directory part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+Complete\+File\+Name\+In} & -\/ a fully qualfied input file name \\
\hline
{\em s\+File\+Dir\+Part\+Out} & -\/ the returned directory name part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a60c53998e3d1b694134b20a87bc9bf5a}\label{classxb_1_1xbFile_a60c53998e3d1b694134b20a87bc9bf5a}} 
\index{xb::xbFile@{xb::xbFile}!GetFileDirPart@{GetFileDirPart}}
\index{GetFileDirPart@{GetFileDirPart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileDirPart()}{GetFileDirPart()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Dir\+Part (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Dir\+Part\+Out }\end{DoxyParamCaption}) const}



Get the directory part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Dir\+Part\+Out} & -\/ the returned directory name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ab289b6ffe955321160c1f90220c22e25}\label{classxb_1_1xbFile_ab289b6ffe955321160c1f90220c22e25}} 
\index{xb::xbFile@{xb::xbFile}!GetFileExtPart@{GetFileExtPart}}
\index{GetFileExtPart@{GetFileExtPart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileExtPart()}{GetFileExtPart()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Ext\+Part (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Complete\+File\+Name\+In,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Ext\+Part\+Out }\end{DoxyParamCaption}) const}



Get the extension part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+Complete\+File\+Name\+In} & -\/ a fully qualfied input file name\\
\hline
{\em s\+File\+Ext\+Part\+Out} & -\/ the returned directory name part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a57a9222e5cbb51019d4eeb2c3ac89fa2}\label{classxb_1_1xbFile_a57a9222e5cbb51019d4eeb2c3ac89fa2}} 
\index{xb::xbFile@{xb::xbFile}!GetFileExtPart@{GetFileExtPart}}
\index{GetFileExtPart@{GetFileExtPart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileExtPart()}{GetFileExtPart()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Ext\+Part (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name\+Ext\+Out }\end{DoxyParamCaption}) const}



Get the extension part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name\+Ext\+Out} & -\/ the returned extension part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a02df78f4c90313243f508fc56b95aba8}\label{classxb_1_1xbFile_a02df78f4c90313243f508fc56b95aba8}} 
\index{xb::xbFile@{xb::xbFile}!GetFileMtime@{GetFileMtime}}
\index{GetFileMtime@{GetFileMtime}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileMtime()}{GetFileMtime()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Mtime (\begin{DoxyParamCaption}\item[{time\+\_\+t \&}]{mtime }\end{DoxyParamCaption})}



Get the time of last file modification timestamp as reported by the OS. 


\begin{DoxyParams}{Parameters}
{\em mtime} & -\/ returned time of last file modification \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ac95cb882ccbcdedc9a233c6ad9fed07a}\label{classxb_1_1xbFile_ac95cb882ccbcdedc9a233c6ad9fed07a}} 
\index{xb::xbFile@{xb::xbFile}!GetFileName@{GetFileName}}
\index{GetFileName@{GetFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileName()}{GetFileName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+File\+::\+Get\+File\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the file name. 

\begin{DoxyReturn}{Returns}
the file name portion of the file 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a6110763c5ae996b72c7a62c15bdecc73}\label{classxb_1_1xbFile_a6110763c5ae996b72c7a62c15bdecc73}} 
\index{xb::xbFile@{xb::xbFile}!GetFileNamePart@{GetFileNamePart}}
\index{GetFileNamePart@{GetFileNamePart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileNamePart()}{GetFileNamePart()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Name\+Part (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Complete\+File\+Name\+In,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name\+Part\+Out }\end{DoxyParamCaption}) const}



Get the name part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+Complete\+File\+Name\+In} & -\/ a fully qualified input file name \\
\hline
{\em s\+File\+Name\+Part\+Out} & -\/ the returned file name part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a81422b3dd52763d2cc6c77237ec9af0a}\label{classxb_1_1xbFile_a81422b3dd52763d2cc6c77237ec9af0a}} 
\index{xb::xbFile@{xb::xbFile}!GetFileNamePart@{GetFileNamePart}}
\index{GetFileNamePart@{GetFileNamePart}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileNamePart()}{GetFileNamePart()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Name\+Part (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name\+Part\+Out }\end{DoxyParamCaption}) const}



Get the name part of the file name. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name\+Part\+Out} & -\/ the returned file name part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a50b63c39e49d44e52078038027b24cc5}\label{classxb_1_1xbFile_a50b63c39e49d44e52078038027b24cc5}} 
\index{xb::xbFile@{xb::xbFile}!GetFileSize@{GetFileSize}}
\index{GetFileSize@{GetFileSize}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileSize()}{GetFileSize()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Size (\begin{DoxyParamCaption}\item[{xb\+UInt64 \&}]{ull\+File\+Size }\end{DoxyParamCaption})}



Get the size of the file as reported by the OS. 


\begin{DoxyParams}{Parameters}
{\em ull\+File\+Size} & -\/ unsigned long long field as output \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a5548236d38d43b89ae29b9a015b1f678}\label{classxb_1_1xbFile_a5548236d38d43b89ae29b9a015b1f678}} 
\index{xb::xbFile@{xb::xbFile}!GetFileType@{GetFileType}}
\index{GetFileType@{GetFileType}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFileType()}{GetFileType()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+File\+Type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Type\+Out }\end{DoxyParamCaption}) const}



Get the file type aka Capitalized file extension. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Type\+Out} & -\/ the returned extension part out of s\+Complete\+File\+Name\+In \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a31b4e641f93206ba23e2a5a27491dcd4}\label{classxb_1_1xbFile_a31b4e641f93206ba23e2a5a27491dcd4}} 
\index{xb::xbFile@{xb::xbFile}!GetFqFileName@{GetFqFileName}}
\index{GetFqFileName@{GetFqFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetFqFileName()}{GetFqFileName()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \& xb\+::xb\+File\+::\+Get\+Fq\+File\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the fully qualified file name. 

\begin{DoxyReturn}{Returns}
the fully qualfied name of the file 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}\label{classxb_1_1xbSsv_abd58031c5f1c3766c24d47a82e6fd9c5}} 
\index{xb::xbFile@{xb::xbFile}!GetMultiUser@{GetMultiUser}}
\index{GetMultiUser@{GetMultiUser}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetMultiUser()}{GetMultiUser()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}} xb\+::xb\+Ssv\+::\+Get\+Multi\+User (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inherited]}}



Get the multi user setting. 

\begin{DoxyReturn}{Returns}
xb\+True -\/ Multi user mode turned on.~\newline
 xb\+False -\/ Multi user mode turned off.~\newline
 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a3c500dc9dac22c49496e4b29386b2dd3}\label{classxb_1_1xbFile_a3c500dc9dac22c49496e4b29386b2dd3}} 
\index{xb::xbFile@{xb::xbFile}!GetOpenMode@{GetOpenMode}}
\index{GetOpenMode@{GetOpenMode}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetOpenMode()}{GetOpenMode()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+Open\+Mode (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the open mode of the file. 

\begin{DoxyReturn}{Returns}
XB\+\_\+\+READ~\newline
 XB\+\_\+\+READ\+\_\+\+WRITE~\newline
 XB\+\_\+\+WRITE~\newline
 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a9b63e05b77f477ff6109ff7b9432c1b6}\label{classxb_1_1xbFile_a9b63e05b77f477ff6109ff7b9432c1b6}} 
\index{xb::xbFile@{xb::xbFile}!GetShareMode@{GetShareMode}}
\index{GetShareMode@{GetShareMode}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetShareMode()}{GetShareMode()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+Share\+Mode (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the share mode of the file. 

\begin{DoxyReturn}{Returns}
XB\+\_\+\+SINGLE\+\_\+\+USER -\/ (file buffering on\texorpdfstring{$>$}{>}~\newline
 XB\+\_\+\+MULTI\+\_\+\+USER -\/ (file buffering off)~\newline
 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a7af337808919680b90710ad5e8a99232}\label{classxb_1_1xbFile_a7af337808919680b90710ad5e8a99232}} 
\index{xb::xbFile@{xb::xbFile}!GetXbaseFileTypeByte@{GetXbaseFileTypeByte}}
\index{GetXbaseFileTypeByte@{GetXbaseFileTypeByte}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetXbaseFileTypeByte()}{GetXbaseFileTypeByte()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+Xbase\+File\+Type\+Byte (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{unsigned char \&}]{c\+File\+Type\+Byte }\end{DoxyParamCaption})}



Get the file type byte and version of the dbf file. 

Pull the first bye off the DBF file for further inspection. First byte has various bits set to determine what the file format is.


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ Name of file to examine \\
\hline
{\em c\+File\+Type\+Byte} & -\/ Retruned first byte of dbf file \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a78aebdd21d3de46a450d5f835e3027f6}\label{classxb_1_1xbFile_a78aebdd21d3de46a450d5f835e3027f6}} 
\index{xb::xbFile@{xb::xbFile}!GetXbaseFileTypeByte@{GetXbaseFileTypeByte}}
\index{GetXbaseFileTypeByte@{GetXbaseFileTypeByte}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetXbaseFileTypeByte()}{GetXbaseFileTypeByte()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+Xbase\+File\+Type\+Byte (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{unsigned char \&}]{c\+File\+Type\+Byte,  }\item[{xb\+Int16 \&}]{i\+Version }\end{DoxyParamCaption})}



Get the file type byte and version of the dbf file. 

Pull the first bye off the DBF file for further inspection. First byte has various bits set to determine what the file format is.


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ Name of file to examine \\
\hline
{\em c\+File\+Type\+Byte} & -\/ Returned first byte of dbf file \\
\hline
{\em i\+Version} & -\/ Returned file version \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_aaf2e697751a0beff41432a66bb83fb5e}\label{classxb_1_1xbFile_aaf2e697751a0beff41432a66bb83fb5e}} 
\index{xb::xbFile@{xb::xbFile}!GetXbaseFileTypeByte@{GetXbaseFileTypeByte}}
\index{GetXbaseFileTypeByte@{GetXbaseFileTypeByte}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{GetXbaseFileTypeByte()}{GetXbaseFileTypeByte()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Get\+Xbase\+File\+Type\+Byte (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{xb\+Int16 \&}]{i\+Version }\end{DoxyParamCaption})}



Get the file type byte and version of the dbf file. 

Pull the first bye off the DBF file for further inspection. First byte has various bits set to determine what the file format is.


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ Name of file to examine \\
\hline
{\em i\+Version} & -\/ Returned file version \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a361e3cc318bbf1c4d10f069e0800a24e}\label{classxb_1_1xbFile_a361e3cc318bbf1c4d10f069e0800a24e}} 
\index{xb::xbFile@{xb::xbFile}!NameSuffixMissing@{NameSuffixMissing}}
\index{NameSuffixMissing@{NameSuffixMissing}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{NameSuffixMissing()}{NameSuffixMissing()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Name\+Suffix\+Missing (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{xb\+Int16}]{i\+Option }\end{DoxyParamCaption}) const}



Determines status of file extension. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ Name of file to examine \\
\hline
{\em i\+Option} & -\/ Inspection type~\newline
 1 check for DBF~\newline
 2 check for NDX~\newline
 3 check for MDX~\newline
 4 check for NTX~\newline
\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 if suffix found~\newline
 1 if suffix not found, lower case~\newline
 2 is suffix not found, upper case~\newline
 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_aa1bb80340abc7a5c22f87f878e9dc825}\label{classxb_1_1xbFile_aa1bb80340abc7a5c22f87f878e9dc825}} 
\index{xb::xbFile@{xb::xbFile}!ReadBlock@{ReadBlock}}
\index{ReadBlock@{ReadBlock}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ReadBlock()}{ReadBlock()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Read\+Block (\begin{DoxyParamCaption}\item[{xb\+UInt32}]{ul\+Block\+No,  }\item[{size\+\_\+t}]{l\+Read\+Size,  }\item[{void $\ast$}]{buf }\end{DoxyParamCaption})}



Read a block of data from file. 


\begin{DoxyParams}{Parameters}
{\em ul\+Block\+No} & -\/ block number to read \\
\hline
{\em l\+Read\+Size} & -\/ size of data to read at block location, set to 0 to read blocksize \\
\hline
{\em $\ast$buf} & -\/ pointer to buffer to write output data, assumed to be previosuly allocated and large enough to contain data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_aef696b1c4c0ef5338e818599f695d485}\label{classxb_1_1xbFile_aef696b1c4c0ef5338e818599f695d485}} 
\index{xb::xbFile@{xb::xbFile}!ReadBlock@{ReadBlock}}
\index{ReadBlock@{ReadBlock}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ReadBlock()}{ReadBlock()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Read\+Block (\begin{DoxyParamCaption}\item[{xb\+UInt32}]{ul\+Block\+No,  }\item[{xb\+UInt32}]{ul\+Block\+Size,  }\item[{size\+\_\+t}]{l\+Read\+Size,  }\item[{void $\ast$}]{buf }\end{DoxyParamCaption})}



Read a block of data from file. 


\begin{DoxyParams}{Parameters}
{\em ul\+Block\+No} & -\/ block number to read \\
\hline
{\em ul\+Block\+Size} & -\/ block size \\
\hline
{\em l\+Read\+Size} & -\/ size of data to read at block location, set to 0 to read blocksize \\
\hline
{\em buf} & -\/ pointer to buffer to write output data, assumed to be previosuly allocated and large enough to contain data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a991c5676a6f38fa752435390989f413e}\label{classxb_1_1xbFile_a991c5676a6f38fa752435390989f413e}} 
\index{xb::xbFile@{xb::xbFile}!SetBlockSize@{SetBlockSize}}
\index{SetBlockSize@{SetBlockSize}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetBlockSize()}{SetBlockSize()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Set\+Block\+Size (\begin{DoxyParamCaption}\item[{xb\+UInt32}]{ul\+Block\+Size }\end{DoxyParamCaption})}



Set the block size. 


\begin{DoxyParams}{Parameters}
{\em ul\+Block\+Size} & -\/ unsigned long block size, divisible by 512 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}\label{classxb_1_1xbSsv_a57caaaadfbd089d9a58ecfcb50c88a6c}} 
\index{xb::xbFile@{xb::xbFile}!SetDataDirectory@{SetDataDirectory}}
\index{SetDataDirectory@{SetDataDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetDataDirectory()}{SetDataDirectory()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Data\+Directory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Data\+Directory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Set the data directory. 


\begin{DoxyParams}{Parameters}
{\em s\+Data\+Directory} & Set the data direcroty. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}\label{classxb_1_1xbSsv_a25542afadaaf39b4fb5a1772a29cc0bd}} 
\index{xb::xbFile@{xb::xbFile}!SetDefaultAutoCommit@{SetDefaultAutoCommit}}
\index{SetDefaultAutoCommit@{SetDefaultAutoCommit}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetDefaultAutoCommit()}{SetDefaultAutoCommit()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Auto\+Commit (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}}}]{b\+Default\+Auto\+Commit }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Set the default auto commit. 

Disabling auto commit requires the application execute explicit updates using dbf-\/\texorpdfstring{$>$}{>}Put() and dbf-\/\texorpdfstring{$>$}{>}Append\+Record(). With auto commit on, the library posts updates automatically when moving off the current record or closing a file.


\begin{DoxyParams}{Parameters}
{\em b\+Default\+Auto\+Commit} & xb\+True -\/ Enable default auto commit.~\newline
 xb\+False -\/ Disable default auto commit.~\newline
 \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}\label{classxb_1_1xbSsv_a5f74db23f8902846d581935c7db73f9c}} 
\index{xb::xbFile@{xb::xbFile}!SetDefaultDateFormat@{SetDefaultDateFormat}}
\index{SetDefaultDateFormat@{SetDefaultDateFormat}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetDefaultDateFormat()}{SetDefaultDateFormat()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Date\+Format (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Default\+Date\+Format }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Set the default date format. 


\begin{DoxyParams}{Parameters}
{\em s\+Default\+Date\+Format} & Set the default date format. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}\label{classxb_1_1xbSsv_a84343b8645790791512d6bc22ee6c8eb}} 
\index{xb::xbFile@{xb::xbFile}!SetDefaultLogDirectory@{SetDefaultLogDirectory}}
\index{SetDefaultLogDirectory@{SetDefaultLogDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetDefaultLogDirectory()}{SetDefaultLogDirectory()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Default\+Log\+Directory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Default\+Log\+Directory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbFile_ae78a85255488bc78964c16946dbaead3}\label{classxb_1_1xbFile_ae78a85255488bc78964c16946dbaead3}} 
\index{xb::xbFile@{xb::xbFile}!SetDirectory@{SetDirectory}}
\index{SetDirectory@{SetDirectory}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetDirectory()}{SetDirectory()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::\+Set\+Directory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Directory }\end{DoxyParamCaption})}



Set the directory. 


\begin{DoxyParams}{Parameters}
{\em s\+Directory} & -\/ Valid directory name \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}\label{classxb_1_1xbSsv_a904ec348fd029d4a76e72b8fde636108}} 
\index{xb::xbFile@{xb::xbFile}!SetEndianType@{SetEndianType}}
\index{SetEndianType@{SetEndianType}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetEndianType()}{SetEndianType()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Endian\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [inherited]}}



Set the endian type. 

This routine determines the Endian-\/ness at run time instead of compile time as some processers (ie; Sparc,ARM) can be switched either way. This routine is called automatically by the library at startup and does not need to be called in an application program. \mbox{\Hypertarget{classxb_1_1xbFile_a5419eb27e56822f828b2b88a9502a636}\label{classxb_1_1xbFile_a5419eb27e56822f828b2b88a9502a636}} 
\index{xb::xbFile@{xb::xbFile}!SetFileName@{SetFileName}}
\index{SetFileName@{SetFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetFileName()}{SetFileName()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::\+Set\+File\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name }\end{DoxyParamCaption})}



Set the filename. 

This routine builds out two internal variables from the input file name~\newline
 s\+File\+Name -\/ the file name part~\newline
 s\+Fq\+File\+Name -\/ the fully qualified file name~\newline



\begin{DoxyParams}{Parameters}
{\em s\+File\+Name} & -\/ Input file name \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_aee832fa11db2077a532f49e1329bd05a}\label{classxb_1_1xbFile_aee832fa11db2077a532f49e1329bd05a}} 
\index{xb::xbFile@{xb::xbFile}!SetFqFileName@{SetFqFileName}}
\index{SetFqFileName@{SetFqFileName}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetFqFileName()}{SetFqFileName()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::\+Set\+Fq\+File\+Name (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Fq\+File\+Name }\end{DoxyParamCaption})}



Set the fully qualifed filename. 


\begin{DoxyParams}{Parameters}
{\em s\+Fq\+File\+Name} & -\/ Fully qualifed input file name \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}\label{classxb_1_1xbSsv_aba6e59512f7172dd55dcf92059e5928c}} 
\index{xb::xbFile@{xb::xbFile}!SetMultiUser@{SetMultiUser}}
\index{SetMultiUser@{SetMultiUser}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{SetMultiUser()}{SetMultiUser()}}
{\footnotesize\ttfamily void xb\+::xb\+Ssv\+::\+Set\+Multi\+User (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespacexb_ab1a750481dd487f0d384aa1d200dff0f}{xb\+Bool}}}]{b\+Multi\+User }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inherited]}}



Get the multi user setting. 


\begin{DoxyParams}{Parameters}
{\em b\+Multi\+User} & xb\+True -\/ Turn on Multi user mode.~\newline
 xb\+False -\/ Turn off Multi user mode.~\newline
 \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classxb_1_1xbFile_a5d871dcfecc2b4338f7a13722aab766c}\label{classxb_1_1xbFile_a5d871dcfecc2b4338f7a13722aab766c}} 
\index{xb::xbFile@{xb::xbFile}!WriteBlock@{WriteBlock}}
\index{WriteBlock@{WriteBlock}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{WriteBlock()}{WriteBlock()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::\+Write\+Block (\begin{DoxyParamCaption}\item[{xb\+UInt32}]{ul\+Block\+No,  }\item[{size\+\_\+t}]{l\+Write\+Size,  }\item[{void $\ast$}]{buf }\end{DoxyParamCaption})}



Write a block of data to file. 


\begin{DoxyParams}{Parameters}
{\em ul\+Block\+No} & -\/ block number to write \\
\hline
{\em l\+Write\+Size} & -\/ size of data to write, set to 0 to write blocksize \\
\hline
{\em $\ast$buf} & -\/ pointer to buffer of data to be written \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a18830b5755d74818f60d9c7ce38ddf2d}\label{classxb_1_1xbFile_a18830b5755d74818f60d9c7ce38ddf2d}} 
\index{xb::xbFile@{xb::xbFile}!xbFclose@{xbFclose}}
\index{xbFclose@{xbFclose}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFclose()}{xbFclose()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fclose (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fclose. 

\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_af5b6356832d2a67212070a1aa605f170}\label{classxb_1_1xbFile_af5b6356832d2a67212070a1aa605f170}} 
\index{xb::xbFile@{xb::xbFile}!xbFeof@{xbFeof}}
\index{xbFeof@{xbFeof}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFeof()}{xbFeof()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Feof (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Xbase wrapper for standard libary feof. 

\begin{DoxyReturn}{Returns}
non zero if end-\/of-\/file is set for the stream. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ad205184d43409f04216540ae22f15009}\label{classxb_1_1xbFile_ad205184d43409f04216540ae22f15009}} 
\index{xb::xbFile@{xb::xbFile}!xbFflush@{xbFflush}}
\index{xbFflush@{xbFflush}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFflush()}{xbFflush()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fflush (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fflush. 

\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a5ee229bda4d7d6695e122200e581e7a6}\label{classxb_1_1xbFile_a5ee229bda4d7d6695e122200e581e7a6}} 
\index{xb::xbFile@{xb::xbFile}!xbFgetc@{xbFgetc}}
\index{xbFgetc@{xbFgetc}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFgetc()}{xbFgetc()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fgetc (\begin{DoxyParamCaption}\item[{char \&}]{c }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fgetc. 


\begin{DoxyParams}{Parameters}
{\em c} & -\/ output character returned by fgetc \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_afb1c584d2895ffb7834df80aea7eb1e4}\label{classxb_1_1xbFile_afb1c584d2895ffb7834df80aea7eb1e4}} 
\index{xb::xbFile@{xb::xbFile}!xbFgetc@{xbFgetc}}
\index{xbFgetc@{xbFgetc}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFgetc()}{xbFgetc()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fgetc (\begin{DoxyParamCaption}\item[{xb\+Int32 \&}]{c }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fgetc. 


\begin{DoxyParams}{Parameters}
{\em c} & -\/ output integer returned by fgetc \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ad245955ace26e5dde85fd4373b30d026}\label{classxb_1_1xbFile_ad245955ace26e5dde85fd4373b30d026}} 
\index{xb::xbFile@{xb::xbFile}!xbFgets@{xbFgets}}
\index{xbFgets@{xbFgets}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFgets()}{xbFgets()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fgets (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{l\+Size,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fgets. 


\begin{DoxyParams}{Parameters}
{\em l\+Size} & -\/ reads in at most, one character less than l\+Size \\
\hline
{\em s} & -\/ an \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing data returned by fseek \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ab0fa19686ca8953ff4b556fb5b249135}\label{classxb_1_1xbFile_ab0fa19686ca8953ff4b556fb5b249135}} 
\index{xb::xbFile@{xb::xbFile}!xbFopen@{xbFopen}}
\index{xbFopen@{xbFopen}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFopen()}{xbFopen()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fopen (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Open\+Mode,  }\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name,  }\item[{xb\+Int16}]{i\+Share\+Mode }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fopen. 

This routine supports all the standard C library open modes. The Xbase routines only use \char`\"{}r\char`\"{} and \char`\"{}r+b\char`\"{}.


\begin{DoxyParams}{Parameters}
{\em s\+Open\+Mode} & {\begin{tabularx}{\linewidth}{|*{2}{>{\raggedright\arraybackslash}X|}}\hline
\cellcolor{\tableheadbgcolor}\textbf{ Open\+Mode}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
r&Reading \\\cline{1-2}
r+&Reading and Writing \\\cline{1-2}
w&Open for writing. Truncate to zero bytes if it exists \\\cline{1-2}
w+&Open for reading and writing, truncate to zero bytes if it exists \\\cline{1-2}
a&Open for append \\\cline{1-2}
a+&Open for reading and writing (at end). \\\cline{1-2}
\end{tabularx}}
The mode can also include the letter \char`\"{}b\char`\"{} for binary ie; \char`\"{}r+b\char`\"{}. The \char`\"{}b\char`\"{} is ignored on POSIX compliant systems, but is included for cross platform compatibility. \\
\hline
{\em s\+File\+Name} & File name to open \\
\hline
{\em i\+Share\+Mode} & XB\+\_\+\+SINGLE\+\_\+\+USER~\newline
 XB\+\_\+\+MULTI\+\_\+\+USER~\newline
 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a0548cedf0f26b7d8ac221f75b0cd048c}\label{classxb_1_1xbFile_a0548cedf0f26b7d8ac221f75b0cd048c}} 
\index{xb::xbFile@{xb::xbFile}!xbFopen@{xbFopen}}
\index{xbFopen@{xbFopen}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFopen()}{xbFopen()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fopen (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Open\+Mode,  }\item[{xb\+Int16}]{i\+Share\+Mode }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fopen. 

This routine supports all the standard C library open modes. The Xbase routines only use \char`\"{}r\char`\"{} and \char`\"{}r+\char`\"{}.


\begin{DoxyParams}{Parameters}
{\em s\+Open\+Mode} & {\begin{tabularx}{\linewidth}{|*{2}{>{\raggedright\arraybackslash}X|}}\hline
\cellcolor{\tableheadbgcolor}\textbf{ Open\+Mode}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
r&Reading \\\cline{1-2}
r+&Reading and Writing \\\cline{1-2}
w&Open for writing. Truncate to zero bytes if it exists \\\cline{1-2}
w+&Open for reading and writing, truncate to zero bytes if it exists \\\cline{1-2}
a&Open for append \\\cline{1-2}
a+&Open for reading and writing (at end). \\\cline{1-2}
\end{tabularx}}
The mode can also include the letter \char`\"{}b\char`\"{} for binary ie; \char`\"{}r+b\char`\"{}. The \char`\"{}b\char`\"{} is ignored on POSIX compliant systems, but is included for cross platform compatibility. \\
\hline
{\em i\+Share\+Mode} & XB\+\_\+\+SINGLE\+\_\+\+USER~\newline
 XB\+\_\+\+MULTI\+\_\+\+USER~\newline
 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a7cdfef5ede9ac98d44a28a6b7a70972c}\label{classxb_1_1xbFile_a7cdfef5ede9ac98d44a28a6b7a70972c}} 
\index{xb::xbFile@{xb::xbFile}!xbFopen@{xbFopen}}
\index{xbFopen@{xbFopen}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFopen()}{xbFopen()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fopen (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Open\+Mode }\end{DoxyParamCaption})}

\mbox{\Hypertarget{classxb_1_1xbFile_aabd113333b49c36cad23244b392baab4}\label{classxb_1_1xbFile_aabd113333b49c36cad23244b392baab4}} 
\index{xb::xbFile@{xb::xbFile}!xbFopen@{xbFopen}}
\index{xbFopen@{xbFopen}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFopen()}{xbFopen()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fopen (\begin{DoxyParamCaption}\item[{xb\+Int16}]{i\+Open\+Mode,  }\item[{xb\+Int16}]{i\+Share\+Mode }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fopen. 


\begin{DoxyParams}{Parameters}
{\em i\+Open\+Mode} & XB\+\_\+\+READ~\newline
 XB\+\_\+\+READ\+\_\+\+WRITE~\newline
 \\
\hline
{\em i\+Share\+Mode} & XB\+\_\+\+SINGLE\+\_\+\+USER~\newline
 XB\+\_\+\+MULTI\+\_\+\+USER~\newline
 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_af2e940c78956e5cb6824f9a1bc404896}\label{classxb_1_1xbFile_af2e940c78956e5cb6824f9a1bc404896}} 
\index{xb::xbFile@{xb::xbFile}!xbFputc@{xbFputc}}
\index{xbFputc@{xbFputc}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFputc()}{xbFputc()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fputc (\begin{DoxyParamCaption}\item[{xb\+Int32}]{c }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fputc. 


\begin{DoxyParams}{Parameters}
{\em c} & Character to write \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a863f74cf17df8186d88586b4d2a6441a}\label{classxb_1_1xbFile_a863f74cf17df8186d88586b4d2a6441a}} 
\index{xb::xbFile@{xb::xbFile}!xbFputc@{xbFputc}}
\index{xbFputc@{xbFputc}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFputc()}{xbFputc()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fputc (\begin{DoxyParamCaption}\item[{xb\+Int32}]{c,  }\item[{xb\+Int32}]{i\+No\+Of\+Times }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fputc. 


\begin{DoxyParams}{Parameters}
{\em c} & Character to write \\
\hline
{\em i\+No\+Of\+Times} & Number of times to write the character \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a698f3b40216778562e639e6ca1a47573}\label{classxb_1_1xbFile_a698f3b40216778562e639e6ca1a47573}} 
\index{xb::xbFile@{xb::xbFile}!xbFputs@{xbFputs}}
\index{xbFputs@{xbFputs}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFputs()}{xbFputs()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fputs (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fputs. 


\begin{DoxyParams}{Parameters}
{\em s} & \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} to write to file \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ab4f6afaa1f77539f27a4f05c26e54e2f}\label{classxb_1_1xbFile_ab4f6afaa1f77539f27a4f05c26e54e2f}} 
\index{xb::xbFile@{xb::xbFile}!xbFread@{xbFread}}
\index{xbFread@{xbFread}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFread()}{xbFread()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fread (\begin{DoxyParamCaption}\item[{void $\ast$}]{p,  }\item[{size\+\_\+t}]{size,  }\item[{size\+\_\+t}]{nmemb }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fread. 


\begin{DoxyParams}{Parameters}
{\em p} & Pointer to data to write \\
\hline
{\em size} & size of write \\
\hline
{\em nmemb} & Number of times to write it \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a5337ab8918df240910c0d19b4f298e3d}\label{classxb_1_1xbFile_a5337ab8918df240910c0d19b4f298e3d}} 
\index{xb::xbFile@{xb::xbFile}!xbFseek@{xbFseek}}
\index{xbFseek@{xbFseek}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFseek()}{xbFseek()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fseek (\begin{DoxyParamCaption}\item[{xb\+Int64}]{l\+Offset,  }\item[{xb\+Int32}]{i\+Whence }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fseek. 


\begin{DoxyParams}{Parameters}
{\em l\+Offset} & Position in file to seek to \\
\hline
{\em i\+Whence} & SEEK\+\_\+\+SET -\/ from beginning of file~\newline
 SEEK\+\_\+\+CUR -\/ from current position~\newline
 SEEK\+\_\+\+END -\/ from end of file~\newline
 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a0e1c06aedfa7fbcb92e117f891edd13b}\label{classxb_1_1xbFile_a0e1c06aedfa7fbcb92e117f891edd13b}} 
\index{xb::xbFile@{xb::xbFile}!xbFtell@{xbFtell}}
\index{xbFtell@{xbFtell}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFtell()}{xbFtell()}}
{\footnotesize\ttfamily size\+\_\+t xb\+::xb\+File\+::xb\+Ftell (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Xbase wrapper for standard libary ftell. 

Returns the current file position. \begin{DoxyReturn}{Returns}
Current file position. 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a9891b792f585a696f38a5cf959e30918}\label{classxb_1_1xbFile_a9891b792f585a696f38a5cf959e30918}} 
\index{xb::xbFile@{xb::xbFile}!xbFTurnOffFileBuffering@{xbFTurnOffFileBuffering}}
\index{xbFTurnOffFileBuffering@{xbFTurnOffFileBuffering}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFTurnOffFileBuffering()}{xbFTurnOffFileBuffering()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::xb\+FTurn\+Off\+File\+Buffering (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Turn off file buffering. 

Turns off file buffering. File buffering can\textquotesingle{}t be used while in multi user mode. \mbox{\Hypertarget{classxb_1_1xbFile_a6aadd871d1782944703fed773d44b85f}\label{classxb_1_1xbFile_a6aadd871d1782944703fed773d44b85f}} 
\index{xb::xbFile@{xb::xbFile}!xbFwrite@{xbFwrite}}
\index{xbFwrite@{xbFwrite}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbFwrite()}{xbFwrite()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Fwrite (\begin{DoxyParamCaption}\item[{const void $\ast$}]{p,  }\item[{size\+\_\+t}]{size,  }\item[{size\+\_\+t}]{nmemb }\end{DoxyParamCaption})}



Xbase wrapper for standard libary fwrite. 


\begin{DoxyParams}{Parameters}
{\em p} & Pointer to data buffer to write \\
\hline
{\em size} & Size of data to write \\
\hline
{\em nmemb} & Number of times to write data buffer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a08463f506f425c2385acbe1a561506e9}\label{classxb_1_1xbFile_a08463f506f425c2385acbe1a561506e9}} 
\index{xb::xbFile@{xb::xbFile}!xbReadUntil@{xbReadUntil}}
\index{xbReadUntil@{xbReadUntil}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbReadUntil()}{xbReadUntil()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Read\+Until (\begin{DoxyParamCaption}\item[{const char}]{c\+Delim,  }\item[{\mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Out }\end{DoxyParamCaption})}



Read file until a particular character is encountered on input stream. 

This routine will read until c\+Delim is encountered or eof, which ever occurs first.


\begin{DoxyParams}{Parameters}
{\em c\+Delim} & Delimiter to stop writing at. \\
\hline
{\em s\+Out} & Output \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} containing data read \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_ab3c668a8570433188382d31d7c60bd48}\label{classxb_1_1xbFile_ab3c668a8570433188382d31d7c60bd48}} 
\index{xb::xbFile@{xb::xbFile}!xbRemove@{xbRemove}}
\index{xbRemove@{xbRemove}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbRemove()}{xbRemove()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Remove (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Delete file. 

\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a58f6a6751fdf7e9549c273bb75d93eb5}\label{classxb_1_1xbFile_a58f6a6751fdf7e9549c273bb75d93eb5}} 
\index{xb::xbFile@{xb::xbFile}!xbRemove@{xbRemove}}
\index{xbRemove@{xbRemove}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbRemove()}{xbRemove()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Remove (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name\+In }\end{DoxyParamCaption})}



Delete file. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name\+In} & Name of file to delete \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a6d919366c2ec95e529906bf8842cbf07}\label{classxb_1_1xbFile_a6d919366c2ec95e529906bf8842cbf07}} 
\index{xb::xbFile@{xb::xbFile}!xbRemove@{xbRemove}}
\index{xbRemove@{xbRemove}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbRemove()}{xbRemove()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Remove (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+File\+Name\+In,  }\item[{xb\+Int16}]{i\+Option }\end{DoxyParamCaption})}



Delete file. 


\begin{DoxyParams}{Parameters}
{\em s\+File\+Name\+In} & Name of file to delete \\
\hline
{\em i\+Option} & If Set to 1, assume this is a delete request for a dbf file, and should rename the dbt file also \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_afc8ce113aa72611a278233f9bb170012}\label{classxb_1_1xbFile_afc8ce113aa72611a278233f9bb170012}} 
\index{xb::xbFile@{xb::xbFile}!xbRename@{xbRename}}
\index{xbRename@{xbRename}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbRename()}{xbRename()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Rename (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+Old\+Name,  }\item[{const \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} \&}]{s\+New\+Name }\end{DoxyParamCaption})}



Rename file. 


\begin{DoxyParams}{Parameters}
{\em s\+Old\+Name} & Original file name \\
\hline
{\em s\+New\+Name} & New file name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}
\mbox{\Hypertarget{classxb_1_1xbFile_a7996b6e084665c37c3892faea64b3505}\label{classxb_1_1xbFile_a7996b6e084665c37c3892faea64b3505}} 
\index{xb::xbFile@{xb::xbFile}!xbRewind@{xbRewind}}
\index{xbRewind@{xbRewind}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbRewind()}{xbRewind()}}
{\footnotesize\ttfamily void xb\+::xb\+File\+::xb\+Rewind (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Xbase wrapper for rewind. 

Set file pointer at beginning of file. \mbox{\Hypertarget{classxb_1_1xbFile_a518bfcbfa3699d883cf89affee383296}\label{classxb_1_1xbFile_a518bfcbfa3699d883cf89affee383296}} 
\index{xb::xbFile@{xb::xbFile}!xbTruncate@{xbTruncate}}
\index{xbTruncate@{xbTruncate}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbTruncate()}{xbTruncate()}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+File\+::xb\+Truncate (\begin{DoxyParamCaption}\item[{xb\+Int64}]{ll\+Size }\end{DoxyParamCaption})}



Xbase wrapper for ftruncate. 

Set file size to ll\+Size 
\begin{DoxyParams}{Parameters}
{\em ll\+Size} & New file size. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\href{xbretcod_8h.html}{\texttt{ Return Codes}} 
\end{DoxyReturn}


\doxysubsection{Field Documentation}
\mbox{\Hypertarget{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}\label{classxb_1_1xbSsv_a6219f1b5e24ea12fe158cd5aea56988e}} 
\index{xb::xbFile@{xb::xbFile}!ErrorCodeText@{ErrorCodeText}}
\index{ErrorCodeText@{ErrorCodeText}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{ErrorCodeText}{ErrorCodeText}}
{\footnotesize\ttfamily const char$\ast$ xb\+::xb\+Ssv\+::\+Error\+Code\+Text\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}\label{classxb_1_1xbSsv_a5849e813f5e8e1cd180f0366637adbf3}} 
\index{xb::xbFile@{xb::xbFile}!iEndianType@{iEndianType}}
\index{iEndianType@{iEndianType}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{iEndianType}{iEndianType}}
{\footnotesize\ttfamily xb\+Int16 xb\+::xb\+Ssv\+::i\+Endian\+Type = 0\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}\label{classxb_1_1xbSsv_a9dec3164c3b264882df634915ecf21da}} 
\index{xb::xbFile@{xb::xbFile}!sNullString@{sNullString}}
\index{sNullString@{sNullString}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{sNullString}{sNullString}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbString}{xb\+String}} xb\+::xb\+Ssv\+::s\+Null\+String = \char`\"{}\char`\"{}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{classxb_1_1xbFile_ae39a67ea391b46055d4ca299cb222004}\label{classxb_1_1xbFile_ae39a67ea391b46055d4ca299cb222004}} 
\index{xb::xbFile@{xb::xbFile}!xbase@{xbase}}
\index{xbase@{xbase}!xb::xbFile@{xb::xbFile}}
\doxysubsubsection{\texorpdfstring{xbase}{xbase}}
{\footnotesize\ttfamily \mbox{\hyperlink{classxb_1_1xbXBase}{xb\+XBase}}$\ast$ xb\+::xb\+File\+::xbase\hspace{0.3cm}{\ttfamily [protected]}}



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
/mnt/1\+Tdata/xbase/xbase64-\/4.\+0.\+3/src/include/\mbox{\hyperlink{xbfile_8h}{xbfile.\+h}}\item 
/mnt/1\+Tdata/xbase/xbase64-\/4.\+0.\+3/src/core/\mbox{\hyperlink{xbfile_8cpp}{xbfile.\+cpp}}\end{DoxyCompactItemize}