home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / A.D. Software / OOFILE 1.3b4d6.sit / OOFILE 1.3b4d6 / MacCodeWarriorDemo1.3b4d6 / docs / samples / ooftst02.cpp < prev    next >
MacBinary  |  1997-04-03  |  3.8 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Apr 3 11:05:16 1997, modified Thu Apr 3 11:05:16 1997, creator 'CWIE', type ASCII, 2834 bytes "ooftst02.cpp" , at 0xb92 656 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 6f 6f 66 74 73 74 | 30 32 2e 63 70 70 00 00 |..ooftst|02.cpp..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0b 12 00 | 00 02 90 af 69 85 bc af |........|....i...|
|00000060| 69 85 bc 00 00 0a 00 00 | 00 00 00 00 00 00 00 00 |i.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ff 30 00 00 |........|.....0..|
|00000080| 2f 2f 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |// Copyr|ight 199|
|00000090| 34 20 41 2e 44 2e 20 53 | 6f 66 74 77 61 72 65 2e |4 A.D. S|oftware.|
|000000a0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000b0| 72 76 65 64 0d 0d 2f 2f | 20 4f 4f 46 54 45 53 54 |rved..//| OOFTEST|
|000000c0| 32 0d 0d 2f 2f 20 54 68 | 69 73 20 73 61 6d 70 6c |2..// Th|is sampl|
|000000d0| 65 20 74 65 73 74 73 20 | 74 68 65 20 64 61 74 61 |e tests |the data|
|000000e0| 62 61 73 65 20 62 61 63 | 6b 65 6e 64 20 62 79 20 |base bac|kend by |
|000000f0| 63 72 65 61 74 69 6e 67 | 20 61 20 70 61 69 72 20 |creating| a pair |
|00000100| 6f 66 20 74 61 62 6c 65 | 73 0d 2f 2f 20 61 6e 64 |of table|s.// and|
|00000110| 20 73 74 6f 72 69 6e 67 | 20 61 6e 64 20 72 65 74 | storing| and ret|
|00000120| 72 69 65 76 69 6e 67 20 | 69 6e 64 65 78 65 64 20 |rieving |indexed |
|00000130| 64 61 74 61 20 76 69 61 | 20 74 72 61 76 65 72 73 |data via| travers|
|00000140| 61 6c 20 70 61 74 68 73 | 2e 0d 0d 2f 2f 20 53 69 |al paths|...// Si|
|00000150| 6d 70 6c 65 20 73 74 72 | 65 61 6d 20 49 2f 4f 20 |mple str|eam I/O |
|00000160| 69 73 20 75 73 65 64 20 | 74 6f 20 69 6e 74 65 72 |is used |to inter|
|00000170| 61 63 74 20 77 69 74 68 | 20 74 68 65 20 75 73 65 |act with| the use|
|00000180| 72 2e 0d 23 69 6e 63 6c | 75 64 65 20 22 6f 6f 66 |r..#incl|ude "oof|
|00000190| 69 6c 65 2e 68 22 0d 0d | 23 69 6e 63 6c 75 64 65 |ile.h"..|#include|
|000001a0| 20 22 6f 6f 66 74 73 74 | 30 32 2e 68 22 0d 0d 2f | "ooftst|02.h"../|
|000001b0| 2f 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |/ global| variabl|
|000001c0| 65 73 20 74 68 61 74 20 | 64 65 66 69 6e 65 20 74 |es that |define t|
|000001d0| 68 65 20 64 61 74 61 62 | 61 73 65 20 75 73 69 6e |he datab|ase usin|
|000001e0| 67 20 74 68 65 20 6f 6f | 66 74 73 74 30 32 20 63 |g the oo|ftst02 c|
|000001f0| 6c 61 73 73 65 73 0d 0d | 09 54 45 53 54 5f 43 4f |lasses..|.TEST_CO|
|00000200| 4e 4e 45 43 54 20 20 20 | 20 74 68 65 44 42 3b 0d |NNECT | theDB;.|
|00000210| 09 64 62 50 61 74 69 65 | 6e 74 73 20 20 20 20 20 |.dbPatie|nts |
|00000220| 50 61 74 69 65 6e 74 73 | 3b 0d 09 64 62 56 69 73 |Patients|;..dbVis|
|00000230| 69 74 73 09 56 69 73 69 | 74 73 3b 0d 09 64 62 52 |its.Visi|ts;..dbR|
|00000240| 65 6c 61 74 69 6f 6e 73 | 68 69 70 20 50 61 74 69 |elations|hip Pati|
|00000250| 65 6e 74 56 69 73 69 74 | 73 28 50 61 74 69 65 6e |entVisit|s(Patien|
|00000260| 74 73 2e 56 69 73 69 74 | 73 2c 20 56 69 73 69 74 |ts.Visit|s, Visit|
|00000270| 73 2e 50 61 74 69 65 6e | 74 29 3b 0d 09 0d 69 6e |s.Patien|t);...in|
|00000280| 74 20 6d 61 69 6e 28 29 | 0d 7b 0d 09 63 6f 75 74 |t main()|.{..cout|
|00000290| 20 3c 3c 20 22 4f 4f 46 | 49 4c 45 20 56 61 6c 69 | << "OOF|ILE Vali|
|000002a0| 64 61 74 69 6f 6e 20 53 | 75 69 74 65 20 2d 20 54 |dation S|uite - T|
|000002b0| 65 73 74 20 32 5c 6e 22 | 0d 09 09 20 3c 3c 20 22 |est 2\n"|... << "|
|000002c0| 53 69 6d 70 6c 65 20 74 | 65 73 74 20 74 6f 20 73 |Simple t|est to s|
|000002d0| 74 6f 72 65 20 73 6f 6d | 65 20 64 61 74 61 20 61 |tore som|e data a|
|000002e0| 6e 64 20 72 65 74 72 69 | 65 76 65 20 69 74 22 20 |nd retri|eve it" |
|000002f0| 3c 3c 20 65 6e 64 6c 0d | 09 09 20 3c 3c 20 22 75 |<< endl.|.. << "u|
|00000300| 73 69 6e 67 20 61 20 72 | 65 6c 61 74 69 6f 6e 20 |sing a r|elation |
|00000310| 6a 6f 69 6e 69 6e 67 20 | 6f 76 65 72 20 61 20 66 |joining |over a f|
|00000320| 69 65 6c 64 20 61 6e 64 | 20 73 68 6f 77 69 6e 67 |ield and| showing|
|00000330| 22 20 3c 3c 20 65 6e 64 | 6c 0d 09 09 20 3c 3c 20 |" << end|l... << |
|00000340| 22 69 74 65 72 61 74 6f | 72 73 20 6f 6e 20 72 65 |"iterato|rs on re|
|00000350| 6c 61 74 65 64 20 74 61 | 62 6c 65 73 20 61 6e 64 |lated ta|bles and|
|00000360| 20 31 2d 6d 61 6e 79 20 | 72 65 6c 61 74 69 6f 6e | 1-many |relation|
|00000370| 73 22 20 3c 3c 20 65 6e | 64 6c 20 3c 3c 20 65 6e |s" << en|dl << en|
|00000380| 64 6c 3b 0d 0d 09 23 69 | 66 64 65 66 20 54 45 53 |dl;...#i|fdef TES|
|00000390| 54 49 4e 47 5f 44 42 41 | 53 45 0d 09 09 23 69 66 |TING_DBA|SE...#if|
|000003a0| 64 65 66 20 5f 4d 61 63 | 69 6e 74 6f 73 68 0d 09 |def _Mac|intosh..|
|000003b0| 09 09 63 6f 6e 73 74 20 | 63 68 61 72 2a 20 6b 45 |..const |char* kE|
|000003c0| 78 69 73 74 73 4e 61 6d | 65 20 3d 20 20 22 3a 6f |xistsNam|e = ":o|
|000003d0| 6f 66 74 73 74 30 32 3a | 50 61 74 69 65 6e 74 73 |oftst02:|Patients|
|000003e0| 2e 64 62 66 22 3b 0d 09 | 09 09 63 6f 6e 73 74 20 |.dbf";..|..const |
|000003f0| 63 68 61 72 2a 20 6b 44 | 61 74 61 62 61 73 65 4e |char* kD|atabaseN|
|00000400| 61 6d 65 20 3d 20 22 3a | 6f 6f 66 74 73 74 30 32 |ame = ":|ooftst02|
|00000410| 3a 22 3b 0d 09 09 23 65 | 6c 73 65 0d 09 09 09 63 |:";...#e|lse....c|
|00000420| 6f 6e 73 74 20 63 68 61 | 72 2a 20 6b 45 78 69 73 |onst cha|r* kExis|
|00000430| 74 73 4e 61 6d 65 20 3d | 20 20 20 22 50 61 74 69 |tsName =| "Pati|
|00000440| 65 6e 74 73 2e 64 62 66 | 22 0d 09 09 09 63 6f 6e |ents.dbf|"....con|
|00000450| 73 74 20 63 68 61 72 2a | 20 6b 44 61 74 61 62 61 |st char*| kDataba|
|00000460| 73 65 4e 61 6d 65 20 3d | 20 22 22 3b 0d 09 09 23 |seName =| "";...#|
|00000470| 65 6e 64 69 66 09 0d 0d | 09 23 65 6c 73 65 0d 09 |endif...|.#else..|
|00000480| 09 63 6f 6e 73 74 20 63 | 68 61 72 2a 20 6b 44 61 |.const c|har* kDa|
|00000490| 74 61 62 61 73 65 4e 61 | 6d 65 20 3d 20 22 6f 6f |tabaseNa|me = "oo|
|000004a0| 66 74 73 74 30 32 2e 64 | 62 22 3b 0d 09 09 63 6f |ftst02.d|b";...co|
|000004b0| 6e 73 74 20 63 68 61 72 | 2a 20 6b 45 78 69 73 74 |nst char|* kExist|
|000004c0| 73 4e 61 6d 65 20 3d 20 | 6b 44 61 74 61 62 61 73 |sName = |kDatabas|
|000004d0| 65 4e 61 6d 65 3b 0d 09 | 23 65 6e 64 69 66 0d 09 |eName;..|#endif..|
|000004e0| 0d 09 69 66 20 28 64 62 | 43 6f 6e 6e 65 63 74 3a |..if (db|Connect:|
|000004f0| 3a 66 69 6c 65 45 78 69 | 73 74 73 28 6b 45 78 69 |:fileExi|sts(kExi|
|00000500| 73 74 73 4e 61 6d 65 29 | 29 20 7b 0d 09 09 74 68 |stsName)|) {...th|
|00000510| 65 44 42 2e 6f 70 65 6e | 43 6f 6e 6e 65 63 74 69 |eDB.open|Connecti|
|00000520| 6f 6e 28 6b 44 61 74 61 | 62 61 73 65 4e 61 6d 65 |on(kData|baseName|
|00000530| 29 3b 0d 09 7d 0d 09 65 | 6c 73 65 20 7b 0d 09 09 |);..}..e|lse {...|
|00000540| 74 68 65 44 42 2e 6e 65 | 77 43 6f 6e 6e 65 63 74 |theDB.ne|wConnect|
|00000550| 69 6f 6e 28 6b 44 61 74 | 61 62 61 73 65 4e 61 6d |ion(kDat|abaseNam|
|00000560| 65 29 3b 0d 09 09 50 61 | 74 69 65 6e 74 73 2e 41 |e);...Pa|tients.A|
|00000570| 64 64 54 65 73 74 44 61 | 74 61 28 29 3b 0d 09 7d |ddTestDa|ta();..}|
|00000580| 0d 0d 09 50 61 74 69 65 | 6e 74 73 2e 73 65 74 53 |...Patie|nts.setS|
|00000590| 6f 72 74 4f 72 64 65 72 | 28 50 61 74 69 65 6e 74 |ortOrder|(Patient|
|000005a0| 73 2e 4c 61 73 74 4e 61 | 6d 65 29 3b 0d 09 63 6f |s.LastNa|me);..co|
|000005b0| 75 74 20 3c 3c 20 74 68 | 65 44 42 3b 0d 09 0d 09 |ut << th|eDB;....|
|000005c0| 50 61 74 69 65 6e 74 73 | 2e 73 74 61 72 74 28 29 |Patients|.start()|
|000005d0| 3b 20 0d 09 77 68 69 6c | 65 20 28 50 61 74 69 65 |; ..whil|e (Patie|
|000005e0| 6e 74 73 2e 6d 6f 72 65 | 28 29 29 20 7b 0d 09 09 |nts.more|()) {...|
|000005f0| 63 6f 75 74 20 3c 3c 20 | 50 61 74 69 65 6e 74 73 |cout << |Patients|
|00000600| 2e 50 61 74 69 65 6e 74 | 4e 6f 20 3c 3c 20 27 5c |.Patient|No << '\|
|00000610| 74 27 20 0d 09 09 09 20 | 3c 3c 20 50 61 74 69 65 |t' .... |<< Patie|
|00000620| 6e 74 73 2e 4c 61 73 74 | 4e 61 6d 65 20 3c 3c 20 |nts.Last|Name << |
|00000630| 65 6e 64 6c 3b 0d 09 09 | 69 66 20 28 50 61 74 69 |endl;...|if (Pati|
|00000640| 65 6e 74 73 2e 56 69 73 | 69 74 73 2d 3e 63 6f 75 |ents.Vis|its->cou|
|00000650| 6e 74 28 29 3d 3d 30 29 | 0d 09 09 09 63 6f 75 74 |nt()==0)|....cout|
|00000660| 20 3c 3c 20 22 6e 6f 20 | 76 69 73 69 74 73 22 20 | << "no |visits" |
|00000670| 3c 3c 20 65 6e 64 6c 3b | 0d 09 09 65 6c 73 65 20 |<< endl;|...else |
|00000680| 7b 0d 09 09 09 50 61 74 | 69 65 6e 74 73 2e 56 69 |{....Pat|ients.Vi|
|00000690| 73 69 74 73 2d 3e 73 74 | 61 72 74 28 29 3b 20 0d |sits->st|art(); .|
|000006a0| 09 09 09 77 68 69 6c 65 | 20 28 50 61 74 69 65 6e |...while| (Patien|
|000006b0| 74 73 2e 56 69 73 69 74 | 73 2d 3e 6d 6f 72 65 28 |ts.Visit|s->more(|
|000006c0| 29 29 20 7b 0d 09 09 09 | 09 63 6f 75 74 20 3c 3c |)) {....|.cout <<|
|000006d0| 20 27 5c 74 27 20 3c 3c | 20 50 61 74 69 65 6e 74 | '\t' <<| Patient|
|000006e0| 73 2e 56 69 73 69 74 73 | 2d 3e 56 69 73 69 74 44 |s.Visits|->VisitD|
|000006f0| 61 74 65 20 3c 3c 20 27 | 5c 74 27 0d 09 09 09 20 |ate << '|\t'.... |
|00000700| 20 20 20 20 20 09 3c 3c | 20 50 61 74 69 65 6e 74 | .<<| Patient|
|00000710| 73 2e 56 69 73 69 74 73 | 2d 3e 57 68 79 20 3c 3c |s.Visits|->Why <<|
|00000720| 20 65 6e 64 6c 3b 0d 09 | 09 09 09 50 61 74 69 65 | endl;..|...Patie|
|00000730| 6e 74 73 2e 56 69 73 69 | 74 73 2d 3e 6e 65 78 74 |nts.Visi|ts->next|
|00000740| 28 29 3b 0d 09 09 09 7d | 0d 09 09 7d 0d 09 09 63 |();....}|...}...c|
|00000750| 6f 75 74 20 3c 3c 20 65 | 6e 64 6c 3b 0d 09 09 50 |out << e|ndl;...P|
|00000760| 61 74 69 65 6e 74 73 2e | 6e 65 78 74 28 29 3b 0d |atients.|next();.|
|00000770| 09 7d 0d 0d 09 63 6f 75 | 74 20 3c 3c 20 65 6e 64 |.}...cou|t << end|
|00000780| 6c 20 3c 3c 20 22 4e 6f | 77 20 72 65 70 65 61 74 |l << "No|w repeat|
|00000790| 69 6e 67 20 74 68 65 20 | 70 72 6f 63 65 73 73 20 |ing the |process |
|000007a0| 75 73 69 6e 67 20 61 20 | 64 62 56 69 65 77 20 69 |using a |dbView i|
|000007b0| 6e 73 74 65 61 64 20 6f | 66 20 65 78 70 6c 69 63 |nstead o|f explic|
|000007c0| 69 74 6c 79 22 20 0d 09 | 20 20 20 20 20 3c 3c 20 |itly" ..| << |
|000007d0| 65 6e 64 6c 20 3c 3c 20 | 22 69 74 65 72 61 74 69 |endl << |"iterati|
|000007e0| 6e 67 20 6f 76 65 72 20 | 74 68 65 20 72 65 6c 61 |ng over |the rela|
|000007f0| 74 65 64 20 66 69 6c 65 | 2e 22 20 3c 3c 20 65 6e |ted file|." << en|
|00000800| 64 6c 3b 0d 09 64 62 56 | 69 65 77 20 72 65 6c 61 |dl;..dbV|iew rela|
|00000810| 74 65 64 56 69 73 69 74 | 73 28 50 61 74 69 65 6e |tedVisit|s(Patien|
|00000820| 74 73 2e 56 69 73 69 74 | 73 29 3b 0d 09 72 65 6c |ts.Visit|s);..rel|
|00000830| 61 74 65 64 56 69 73 69 | 74 73 20 3c 3c 20 50 61 |atedVisi|ts << Pa|
|00000840| 74 69 65 6e 74 73 2e 56 | 69 73 69 74 73 2d 3e 56 |tients.V|isits->V|
|00000850| 69 73 69 74 44 61 74 65 | 20 3c 3c 20 50 61 74 69 |isitDate| << Pati|
|00000860| 65 6e 74 73 2e 56 69 73 | 69 74 73 2d 3e 57 68 79 |ents.Vis|its->Why|
|00000870| 3b 0d 09 50 61 74 69 65 | 6e 74 73 2e 73 74 61 72 |;..Patie|nts.star|
|00000880| 74 28 29 3b 20 0d 09 77 | 68 69 6c 65 20 28 50 61 |t(); ..w|hile (Pa|
|00000890| 74 69 65 6e 74 73 2e 6d | 6f 72 65 28 29 29 20 7b |tients.m|ore()) {|
|000008a0| 0d 09 09 63 6f 75 74 20 | 3c 3c 20 50 61 74 69 65 |...cout |<< Patie|
|000008b0| 6e 74 73 2e 50 61 74 69 | 65 6e 74 4e 6f 20 3c 3c |nts.Pati|entNo <<|
|000008c0| 20 27 5c 74 27 20 0d 09 | 09 09 20 3c 3c 20 50 61 | '\t' ..|.. << Pa|
|000008d0| 74 69 65 6e 74 73 2e 4c | 61 73 74 4e 61 6d 65 20 |tients.L|astName |
|000008e0| 3c 3c 20 65 6e 64 6c 3b | 0d 09 09 69 66 20 28 72 |<< endl;|...if (r|
|000008f0| 65 6c 61 74 65 64 56 69 | 73 69 74 73 2e 73 6f 75 |elatedVi|sits.sou|
|00000900| 72 63 65 28 29 2d 3e 69 | 73 45 6d 70 74 79 28 29 |rce()->i|sEmpty()|
|00000910| 29 0d 09 09 09 63 6f 75 | 74 20 3c 3c 20 22 6e 6f |)....cou|t << "no|
|00000920| 20 76 69 73 69 74 73 22 | 20 3c 3c 20 65 6e 64 6c | visits"| << endl|
|00000930| 3b 0d 09 09 65 6c 73 65 | 20 0d 09 09 09 63 6f 75 |;...else| ....cou|
|00000940| 74 20 3c 3c 20 72 65 6c | 61 74 65 64 56 69 73 69 |t << rel|atedVisi|
|00000950| 74 73 20 3c 3c 20 65 6e | 64 6c 3b 0d 09 09 63 6f |ts << en|dl;...co|
|00000960| 75 74 20 3c 3c 20 65 6e | 64 6c 3b 0d 09 09 50 61 |ut << en|dl;...Pa|
|00000970| 74 69 65 6e 74 73 2e 6e | 65 78 74 28 29 3b 0d 09 |tients.n|ext();..|
|00000980| 7d 0d 0d 0d 09 50 61 74 | 69 65 6e 74 73 2e 73 65 |}....Pat|ients.se|
|00000990| 61 72 63 68 28 50 61 74 | 69 65 6e 74 73 2e 50 61 |arch(Pat|ients.Pa|
|000009a0| 74 69 65 6e 74 4e 6f 3d | 3d 33 29 3b 0d 09 63 6f |tientNo=|=3);..co|
|000009b0| 75 74 20 3c 3c 20 22 46 | 69 6e 64 69 6e 67 20 50 |ut << "F|inding P|
|000009c0| 61 74 69 65 6e 74 20 4e | 6f 20 33 20 3a 20 22 20 |atient N|o 3 : " |
|000009d0| 3c 3c 20 50 61 74 69 65 | 6e 74 73 20 3c 3c 20 65 |<< Patie|nts << e|
|000009e0| 6e 64 6c 3b 0d 09 0d 09 | 63 6f 75 74 20 3c 3c 20 |ndl;....|cout << |
|000009f0| 22 4e 6f 77 20 66 69 6e | 64 69 6e 67 20 74 68 65 |"Now fin|ding the|
|00000a00| 20 46 6c 75 20 73 75 66 | 66 65 72 65 72 73 3a 20 | Flu suf|ferers: |
|00000a10| 22 20 3c 3c 20 65 6e 64 | 6c 3b 0d 09 50 61 74 69 |" << end|l;..Pati|
|00000a20| 65 6e 74 73 2e 73 65 61 | 72 63 68 28 50 61 74 69 |ents.sea|rch(Pati|
|00000a30| 65 6e 74 73 2e 56 69 73 | 69 74 73 2d 3e 57 68 79 |ents.Vis|its->Why|
|00000a40| 3d 3d 22 46 6c 75 22 29 | 3b 0d 09 63 6f 75 74 20 |=="Flu")|;..cout |
|00000a50| 3c 3c 20 50 61 74 69 65 | 6e 74 73 20 3c 3c 20 65 |<< Patie|nts << e|
|00000a60| 6e 64 6c 20 3c 3c 20 65 | 6e 64 6c 3b 0d 0d 09 50 |ndl << e|ndl;...P|
|00000a70| 61 74 69 65 6e 74 73 2e | 73 65 74 53 6f 72 74 4f |atients.|setSortO|
|00000a80| 72 64 65 72 28 50 61 74 | 69 65 6e 74 73 2e 4f 74 |rder(Pat|ients.Ot|
|00000a90| 68 65 72 6e 61 6d 65 73 | 29 3b 0d 09 63 6f 75 74 |hernames|);..cout|
|00000aa0| 20 3c 3c 20 22 4e 6f 77 | 20 64 75 6d 70 69 6e 67 | << "Now| dumping|
|00000ab0| 20 74 68 65 20 65 6e 74 | 69 72 65 20 64 61 74 61 | the ent|ire data|
|00000ac0| 62 61 73 65 2c 20 77 69 | 74 68 20 70 61 74 69 65 |base, wi|th patie|
|00000ad0| 6e 74 73 20 73 6f 72 74 | 65 64 20 62 79 20 4f 74 |nts sort|ed by Ot|
|00000ae0| 68 65 72 6e 61 6d 65 73 | 3a 20 22 20 3c 3c 20 65 |hernames|: " << e|
|00000af0| 6e 64 6c 20 3c 3c 20 74 | 68 65 44 42 3b 0d 09 0d |ndl << t|heDB;...|
|00000b00| 09 63 6f 75 74 20 3c 3c | 20 22 44 65 73 63 72 69 |.cout <<| "Descri|
|00000b10| 70 74 69 6f 6e 20 6f 66 | 20 64 61 74 61 62 61 73 |ption of| databas|
|00000b20| 65 20 73 63 68 65 6d 61 | 3a 20 22 20 3c 3c 20 65 |e schema|: " << e|
|00000b30| 6e 64 6c 3b 0d 09 74 68 | 65 44 42 2e 64 65 73 63 |ndl;..th|eDB.desc|
|00000b40| 72 69 62 65 28 63 6f 75 | 74 29 3b 0d 09 0d 09 63 |ribe(cou|t);....c|
|00000b50| 6f 75 74 20 3c 3c 20 22 | 54 65 73 74 20 43 6f 6d |out << "|Test Com|
|00000b60| 70 6c 65 74 65 64 22 20 | 3c 3c 20 65 6e 64 6c 3b |pleted" |<< endl;|
|00000b70| 0d 09 0d 09 72 65 74 75 | 72 6e 20 45 58 49 54 5f |....retu|rn EXIT_|
|00000b80| 53 55 43 43 45 53 53 3b | 0d 7d 20 20 20 20 20 20 |SUCCESS;|.} |
|00000b90| 20 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 01 00 00 00 02 0a | 00 00 01 0a 00 00 00 86 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000c30| 0c 6f 6f 66 74 73 74 30 | 32 2e 63 70 70 30 02 00 |.ooftst0|2.cpp0..|
|00000c40| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000c50| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 b0 1b 75 f1 00 00 | 00 00 00 00 02 90 ff 2b |....u...|.......+|
|00000c80| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b ff ff f8 00 ff fa |++++++++|++......|
|00000c90| fa 2b 2b b0 b0 b0 b0 b0 | 2b 2b ff f8 ff f8 ff 2b |.++.....|++.....+|
|00000ca0| 2b 2b 2b b0 b0 b0 b0 2b | 2b 2b ff ff ff ff ff 2b |+++....+|++.....+|
|00000cb0| 2b 2b 2b b0 2b 2b b0 b0 | 2b 2b 2b 2b 2b ff ff 2b |+++.++..|+++++..+|
|00000cc0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b ff ff ff |++++++++|+++++...|
|00000cd0| ff ff ff ff ff ff ff ff | ff ff ff ff ff f8 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 78 00 03 00 00 | 00 48 00 48 00 00 00 00 |...x....|.H.H....|
|00000d10| 03 48 02 52 00 00 00 00 | 03 48 02 52 03 06 05 78 |.H.R....|.H.R...x|
|00000d20| 03 de 09 01 00 00 00 48 | 00 48 00 00 00 00 03 48 |.......H|.H.....H|
|00000d30| 02 52 00 d4 00 34 00 64 | 2b 10 00 2c 00 01 01 01 |.R...4.d|+..,....|
|00000d40| 00 00 00 01 27 0f 00 01 | 00 01 00 00 00 00 00 00 |....'...|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 16 |........|........|
|00000d80| 01 00 00 00 00 00 00 00 | 01 00 01 00 00 07 07 43 |........|.......C|
|00000d90| 6f 75 72 69 65 72 00 00 | 00 08 00 00 00 00 00 00 |ourier..|........|
|00000da0| 00 00 00 00 00 10 00 01 | 00 00 02 06 00 00 02 0a |........|........|
|00000db0| 05 6d 61 69 6e 00 00 00 | 00 48 00 09 4d 6f 6e 61 |.main...|.H..Mona|
|00000dc0| 63 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |co......|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 03 00 04 |........|........|
|00000de0| 00 56 00 49 02 6c 03 3b | 00 56 00 49 02 6c 03 3b |.V.I.l.;|.V.I.l.;|
|00000df0| af 69 4e a5 00 00 09 f8 | 00 00 09 ff 00 00 00 00 |.iN.....|........|
|00000e00| 01 00 00 00 00 04 00 01 | 00 01 00 00 01 00 00 00 |........|........|
|00000e10| 02 0a 00 00 01 0a 00 00 | 00 86 01 a3 eb 50 2a 9a |........|.....P*.|
|00000e20| 00 00 00 1c 00 86 00 03 | 4d 50 53 52 00 02 00 22 |........|MPSR..."|
|00000e30| 46 50 52 46 00 00 00 46 | 46 50 72 66 00 00 00 52 |FPRF...F|FPrf...R|
|00000e40| 4d 57 42 42 00 00 00 5e | 03 ee ff ff 00 00 00 00 |MWBB...^|........|
|00000e50| 00 00 00 00 03 ef ff ff | 00 00 00 a2 00 00 00 00 |........|........|
|00000e60| 03 ed ff ff 00 00 00 b6 | 00 00 00 00 05 1a ff ff |........|........|
|00000e70| 00 00 00 7c 00 00 00 00 | 05 1a ff ff 00 00 00 96 |...|....|........|
|00000e80| 00 00 00 00 03 f0 ff ff | 00 00 01 02 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+