home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Common / io / Headers / CEgIFile.h < prev    next >
MacBinary  |  1999-07-13  |  1.9 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: CEgIFile.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Jul 13 21:53:57 1999, modified Tue Jul 13 21:53:57 1999, creator 'CWIE', type ASCII, 1245 bytes "CEgIFile.h" , at 0x55d 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 43 45 67 49 46 69 | 6c 65 2e 68 00 00 00 00 |..CEgIFi|le.h....|
|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 04 dd 00 | 00 01 9a b3 b1 9e 35 b3 |........|......5.|
|00000060| b1 9e 35 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..5.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4c e5 00 00 |........|....L...|
|00000080| 23 70 72 61 67 6d 61 20 | 6f 6e 63 65 0d 0d 23 69 |#pragma |once..#i|
|00000090| 66 6e 64 65 66 20 5f 43 | 45 47 49 46 49 4c 45 5f |fndef _C|EGIFILE_|
|000000a0| 0d 23 64 65 66 69 6e 65 | 20 5f 43 45 47 49 46 49 |.#define| _CEGIFI|
|000000b0| 4c 45 5f 0d 0d 0d 23 69 | 6e 63 6c 75 64 65 20 22 |LE_...#i|nclude "|
|000000c0| 43 45 67 49 53 74 72 65 | 61 6d 2e 68 22 0d 63 6c |CEgIStre|am.h".cl|
|000000d0| 61 73 73 20 43 45 67 46 | 69 6c 65 53 70 65 63 3b |ass CEgF|ileSpec;|
|000000e0| 0d 0d 2f 2f 09 50 72 65 | 3a 09 3c 69 6e 50 72 6f |..//.Pre|:.<inPro|
|000000f0| 63 41 72 67 3e 20 77 69 | 6c 6c 20 63 6f 6e 74 61 |cArg> wi|ll conta|
|00000100| 69 6e 20 74 68 65 20 70 | 72 65 20 70 61 73 73 65 |in the p|re passe|
|00000110| 64 20 69 6e 20 61 73 20 | 3c 69 6e 50 72 6f 63 41 |d in as |<inProcA|
|00000120| 72 67 3e 20 69 6e 20 3a | 3a 53 65 61 72 63 68 28 |rg> in :|:Search(|
|00000130| 29 2e 20 20 0d 2f 2f 09 | 09 09 3c 69 6e 46 69 6c |). .//.|..<inFil|
|00000140| 65 50 6f 73 3e 20 69 73 | 20 74 68 65 20 66 69 6c |ePos> is| the fil|
|00000150| 65 20 70 6f 73 69 74 69 | 6f 6e 20 77 65 72 65 20 |e positi|on were |
|00000160| 61 20 6d 61 74 63 68 20 | 77 61 73 20 66 6f 75 6e |a match |was foun|
|00000170| 64 0d 2f 2f 09 4e 6f 74 | 65 3a 09 52 65 74 75 72 |d.//.Not|e:.Retur|
|00000180| 6e 73 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ns the n|umber of|
|00000190| 20 62 79 74 65 73 20 74 | 68 61 74 20 73 68 6f 75 | bytes t|hat shou|
|000001a0| 6c 64 20 62 65 20 73 6b | 69 70 70 65 64 20 75 6e |ld be sk|ipped un|
|000001b0| 74 69 6c 20 72 65 73 75 | 6d 69 6e 67 20 74 68 65 |til resu|ming the|
|000001c0| 20 73 65 61 72 63 68 2e | 20 20 52 65 74 75 72 6e | search.| Return|
|000001d0| 73 20 3c 30 20 69 66 20 | 73 65 61 72 63 68 20 73 |s <0 if |search s|
|000001e0| 68 6f 75 6c 64 20 62 65 | 20 73 74 6f 70 70 65 64 |hould be| stopped|
|000001f0| 2e 0d 74 79 70 65 64 65 | 66 20 6c 6f 6e 67 20 28 |..typede|f long (|
|00000200| 2a 41 64 64 48 69 74 46 | 63 6e 54 29 28 76 6f 69 |*AddHitF|cnT)(voi|
|00000210| 64 2a 20 69 6e 50 72 6f | 63 41 72 67 2c 20 6c 6f |d* inPro|cArg, lo|
|00000220| 6e 67 20 69 6e 46 69 6c | 65 50 6f 73 20 29 3b 0d |ng inFil|ePos );.|
|00000230| 0d 0d 63 6c 61 73 73 20 | 43 45 67 49 46 69 6c 65 |..class |CEgIFile|
|00000240| 20 3a 20 70 75 62 6c 69 | 63 20 43 45 67 49 53 74 | : publi|c CEgISt|
|00000250| 72 65 61 6d 20 7b 0d 0d | 09 70 72 6f 74 65 63 74 |ream {..|.protect|
|00000260| 65 64 3a 0d 09 09 75 6e | 73 69 67 6e 65 64 20 6c |ed:...un|signed l|
|00000270| 6f 6e 67 09 09 09 09 09 | 6d 46 69 6c 65 3b 0d 0d |ong.....|mFile;..|
|00000280| 09 09 76 6f 69 64 09 09 | 09 09 09 09 09 64 69 73 |..void..|.....dis|
|00000290| 6b 53 65 65 6b 28 20 6c | 6f 6e 67 20 69 6e 50 6f |kSeek( l|ong inPo|
|000002a0| 73 20 29 3b 0d 09 09 76 | 69 72 74 75 61 6c 20 76 |s );...v|irtual v|
|000002b0| 6f 69 64 09 09 09 09 09 | 66 69 6c 6c 42 6c 6f 63 |oid.....|fillBloc|
|000002c0| 6b 28 20 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |k( unsig|ned long|
|000002d0| 20 69 6e 53 74 61 72 74 | 50 6f 73 2c 20 76 6f 69 | inStart|Pos, voi|
|000002e0| 64 2a 20 64 65 73 74 50 | 74 72 2c 20 6c 6f 6e 67 |d* destP|tr, long|
|000002f0| 26 20 69 6f 42 79 74 65 | 73 20 29 3b 0d 09 09 0d |& ioByte|s );....|
|00000300| 09 09 65 6e 75 6d 20 7b | 0d 09 09 09 63 53 65 61 |..enum {|....cSea|
|00000310| 72 63 68 42 75 66 53 69 | 7a 65 20 09 09 09 09 3d |rchBufSi|ze ....=|
|00000320| 20 36 35 30 30 30 0d 09 | 09 7d 3b 0d 09 09 0d 09 | 65000..|.};.....|
|00000330| 70 75 62 6c 69 63 3a 0d | 09 09 09 09 09 09 09 09 |public:.|........|
|00000340| 09 09 43 45 67 49 46 69 | 6c 65 28 20 75 6e 73 69 |..CEgIFi|le( unsi|
|00000350| 67 6e 65 64 20 73 68 6f | 72 74 20 69 6e 74 20 69 |gned sho|rt int i|
|00000360| 6e 42 75 66 53 69 7a 65 | 20 3d 20 63 44 65 66 61 |nBufSize| = cDefa|
|00000370| 75 6c 74 42 75 66 53 69 | 7a 65 20 29 3b 0d 09 09 |ultBufSi|ze );...|
|00000380| 76 69 72 74 75 61 6c 20 | 09 09 09 09 09 09 7e 43 |virtual |......~C|
|00000390| 45 67 49 46 69 6c 65 28 | 29 3b 0d 09 09 0d 09 09 |EgIFile(|);......|
|000003a0| 2f 2f 20 43 6c 69 65 6e | 74 20 66 63 6e 73 2e 2e |// Clien|t fcns..|
|000003b0| 2e 0d 09 09 76 69 72 74 | 75 61 6c 20 76 6f 69 64 |....virt|ual void|
|000003c0| 09 09 09 09 09 6f 70 65 | 6e 28 20 63 6f 6e 73 74 |.....ope|n( const|
|000003d0| 20 43 45 67 46 69 6c 65 | 53 70 65 63 2a 20 69 6e | CEgFile|Spec* in|
|000003e0| 53 70 65 63 50 74 72 20 | 29 3b 09 0d 09 09 76 6f |SpecPtr |);....vo|
|000003f0| 69 64 09 09 09 09 09 09 | 09 6f 70 65 6e 28 20 63 |id......|.open( c|
|00000400| 6f 6e 73 74 20 63 68 61 | 72 2a 20 69 6e 46 69 6c |onst cha|r* inFil|
|00000410| 65 4e 61 6d 65 20 29 3b | 0d 09 09 0d 09 09 76 69 |eName );|......vi|
|00000420| 72 74 75 61 6c 20 76 6f | 69 64 09 09 09 09 09 63 |rtual vo|id.....c|
|00000430| 6c 6f 73 65 28 29 3b 0d | 09 09 69 6e 6c 69 6e 65 |lose();.|..inline|
|00000440| 20 62 6f 6f 6c 09 09 09 | 09 09 09 69 73 5f 6f 70 | bool...|...is_op|
|00000450| 65 6e 28 29 09 09 09 09 | 09 09 7b 20 72 65 74 75 |en()....|..{ retu|
|00000460| 72 6e 20 6d 46 69 6c 65 | 20 21 3d 20 4e 55 4c 4c |rn mFile| != NULL|
|00000470| 3b 09 09 7d 0d 09 09 76 | 69 72 74 75 61 6c 20 6c |;..}...v|irtual l|
|00000480| 6f 6e 67 09 09 09 09 09 | 73 69 7a 65 28 29 3b 0d |ong.....|size();.|
|00000490| 09 09 76 6f 69 64 09 09 | 09 09 09 09 09 73 65 65 |..void..|.....see|
|000004a0| 6b 45 6e 64 28 29 3b 0d | 09 09 76 69 72 74 75 61 |kEnd();.|..virtua|
|000004b0| 6c 20 6c 6f 6e 67 09 09 | 09 09 09 74 65 6c 6c 28 |l long..|...tell(|
|000004c0| 29 3b 0d 09 09 76 69 72 | 74 75 61 6c 20 76 6f 69 |);...vir|tual voi|
|000004d0| 64 09 09 09 09 09 73 65 | 65 6b 28 20 6c 6f 6e 67 |d.....se|ek( long|
|000004e0| 20 69 6e 50 6f 73 20 29 | 3b 0d 0d 09 09 76 6f 69 | inPos )|;....voi|
|000004f0| 64 09 09 09 09 09 09 09 | 53 65 61 72 63 68 28 20 |d.......|Search( |
|00000500| 55 74 69 6c 53 74 72 26 | 20 69 6e 53 65 61 72 63 |UtilStr&| inSearc|
|00000510| 68 53 74 72 2c 20 76 6f | 69 64 2a 20 69 6e 50 72 |hStr, vo|id* inPr|
|00000520| 6f 63 41 72 67 2c 20 62 | 6f 6f 6c 20 69 6e 43 61 |ocArg, b|ool inCa|
|00000530| 73 65 53 65 6e 73 69 74 | 69 76 65 2c 20 41 64 64 |seSensit|ive, Add|
|00000540| 48 69 74 46 63 6e 54 20 | 69 6e 46 63 6e 20 29 3b |HitFcnT |inFcn );|
|00000550| 0d 7d 3b 0d 0d 0d 23 65 | 6e 64 69 66 0d 00 00 00 |.};...#e|ndif....|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000590| 4a 41 47 32 38 42 45 4d | 03 00 00 00 00 00 00 09 |JAG28BEM|........|
|000005a0| b7 80 04 00 0b 01 4a 41 | 47 32 38 42 45 4d 04 00 |......JA|G28BEM..|
|000005b0| 0a 43 45 67 49 46 69 6c | 65 2e 68 33 20 44 65 76 |.CEgIFil|e.h3 Dev|
|000005c0| 69 67 2e 6d 70 33 2e 6d | 70 33 77 6f 72 6c 64 2e |ig.mp3.m|p3world.|
|000005d0| 02 00 54 45 58 54 43 57 | 49 45 00 00 00 00 00 00 |..TEXTCW|IE......|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 ad 53 1b e8 00 00 | 04 de 00 00 01 9a 4a 41 |...S....|......JA|
|00000600| 47 32 38 42 46 4d 02 00 | 00 00 00 00 00 09 cd 00 |G28BFM..|........|
|00000610| 02 00 0b 01 4a 41 47 32 | 38 42 46 4d 03 00 00 00 |....JAG2|8BFM....|
|00000620| 00 00 00 09 c9 00 04 00 | 0b 01 4a 41 47 32 38 42 |........|..JAG28B|
|00000630| 46 4d 04 00 00 00 00 00 | 00 09 c8 c0 00 40 0b 01 |FM......|.....@..|
|00000640| 4a 41 47 32 38 42 46 4d | 05 00 00 00 00 00 00 09 |JAG28BFM|........|
|00000650| d0 00 00 80 0b 01 4a 41 | 47 32 38 42 46 4d 06 00 |......JA|G28BFM..|
|00000660| 00 00 00 00 00 09 cf 00 | 01 00 0b 01 4a 41 47 32 |........|....JAG2|
|00000670| 38 42 49 46 01 00 00 00 | 00 00 00 09 bf 00 01 00 |8BIF....|........|
|00000680| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 03 | 00 04 00 5b 00 08 02 50 |........|...[...P|
|000006b0| 02 f3 00 5b 00 08 02 50 | 02 f3 b2 f9 8b 51 00 00 |...[...P|.....Q..|
|000006c0| 04 87 00 00 04 87 00 00 | 00 61 01 00 00 00 00 04 |........|.a......|
|000006d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000006e0| 00 00 00 46 04 32 43 98 | 14 f0 00 00 00 1c 00 46 |...F.2C.|.......F|
|000006f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000700| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000710| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+