home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-02-23 | 4.3 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).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Feb 23 10:36:47 2000, modified Wed Feb 23 10:36:47 2000, creator 'CWIE', type ASCII, 3672 bytes "LTableFileStorage.cp" , at 0xed8 410 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 4c 54 61 62 6c 65 | 46 69 6c 65 53 74 6f 72 |..LTable|FileStor|
|00000010| 61 67 65 2e 63 70 00 00 | 00 00 00 00 00 00 00 00 |age.cp..|........|
|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 0e 58 00 | 00 01 9a b4 d9 af 0f b4 |......X.|........|
|00000060| d9 af 0f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9c 70 00 00 |........|.....p..|
|00000080| 2f 2f 20 4c 54 61 62 6c | 65 46 69 6c 65 53 74 6f |// LTabl|eFileSto|
|00000090| 72 61 67 65 2e 63 70 0d | 2f 2f 20 a9 ca 47 61 62 |rage.cp.|// ..Gab|
|000000a0| 72 69 65 6c 65 20 64 65 | 20 53 69 6d 6f 6e 65 2c |riele de| Simone,|
|000000b0| 20 31 39 39 38 2d 32 30 | 30 30 0d 0d 23 69 6e 63 | 1998-20|00..#inc|
|000000c0| 6c 75 64 65 20 22 4c 54 | 61 62 6c 65 46 69 6c 65 |lude "LT|ableFile|
|000000d0| 53 74 6f 72 61 67 65 2e | 68 22 0d 0d 0d 4c 54 61 |Storage.|h"...LTa|
|000000e0| 62 6c 65 46 69 6c 65 53 | 74 6f 72 61 67 65 3a 3a |bleFileS|torage::|
|000000f0| 4c 54 61 62 6c 65 46 69 | 6c 65 53 74 6f 72 61 67 |LTableFi|leStorag|
|00000100| 65 28 0d 09 4c 54 61 62 | 6c 65 56 69 65 77 20 2a |e(..LTab|leView *|
|00000110| 69 6e 54 61 62 6c 65 56 | 69 65 77 2c 0d 09 41 72 |inTableV|iew,..Ar|
|00000120| 72 61 79 49 74 65 6d 53 | 69 7a 65 54 20 69 6e 44 |rayItemS|izeT inD|
|00000130| 61 74 61 53 69 7a 65 29 | 0d 09 0d 09 3a 20 4c 54 |ataSize)|....: LT|
|00000140| 61 62 6c 65 53 74 6f 72 | 61 67 65 28 69 6e 54 61 |ableStor|age(inTa|
|00000150| 62 6c 65 56 69 65 77 29 | 0d 7b 0d 09 53 69 67 6e |bleView)|.{..Sign|
|00000160| 61 6c 49 66 5f 28 6d 54 | 61 62 6c 65 56 69 65 77 |alIf_(mT|ableView|
|00000170| 20 3d 3d 20 6e 69 6c 29 | 3b 0d 0d 09 69 66 20 28 | == nil)|;...if (|
|00000180| 69 6e 44 61 74 61 53 69 | 7a 65 20 3e 20 30 29 0d |inDataSi|ze > 0).|
|00000190| 09 7b 0d 09 09 6d 41 72 | 72 61 79 20 3d 20 6e 65 |.{...mAr|ray = ne|
|000001a0| 77 20 4c 54 65 6d 70 6f | 72 61 72 79 46 69 6c 65 |w LTempo|raryFile|
|000001b0| 41 72 72 61 79 28 69 6e | 44 61 74 61 53 69 7a 65 |Array(in|DataSize|
|000001c0| 29 3b 09 0d 09 7d 0d 09 | 0d 09 6d 4f 77 6e 73 41 |);...}..|..mOwnsA|
|000001d0| 72 72 61 79 20 3d 20 74 | 72 75 65 3b 0d 7d 0d 0d |rray = t|rue;.}..|
|000001e0| 4c 54 61 62 6c 65 46 69 | 6c 65 53 74 6f 72 61 67 |LTableFi|leStorag|
|000001f0| 65 3a 3a 4c 54 61 62 6c | 65 46 69 6c 65 53 74 6f |e::LTabl|eFileSto|
|00000200| 72 61 67 65 28 0d 09 4c | 54 61 62 6c 65 56 69 65 |rage(..L|TableVie|
|00000210| 77 20 2a 69 6e 54 61 62 | 6c 65 56 69 65 77 2c 0d |w *inTab|leView,.|
|00000220| 09 4c 54 65 6d 70 6f 72 | 61 72 79 46 69 6c 65 41 |.LTempor|aryFileA|
|00000230| 72 72 61 79 20 2a 69 6e | 41 72 72 61 79 29 0d 09 |rray *in|Array)..|
|00000240| 0d 09 3a 20 4c 54 61 62 | 6c 65 53 74 6f 72 61 67 |..: LTab|leStorag|
|00000250| 65 28 69 6e 54 61 62 6c | 65 56 69 65 77 29 0d 7b |e(inTabl|eView).{|
|00000260| 0d 09 53 69 67 6e 61 6c | 49 66 5f 28 69 6e 41 72 |..Signal|If_(inAr|
|00000270| 72 61 79 20 3d 3d 20 6e | 69 6c 29 3b 0d 0d 09 6d |ray == n|il);...m|
|00000280| 41 72 72 61 79 20 3d 20 | 69 6e 41 72 72 61 79 3b |Array = |inArray;|
|00000290| 0d 09 6d 4f 77 6e 73 41 | 72 72 61 79 20 3d 20 66 |..mOwnsA|rray = f|
|000002a0| 61 6c 73 65 3b 0d 7d 0d | 0d 4c 54 61 62 6c 65 46 |alse;.}.|.LTableF|
|000002b0| 69 6c 65 53 74 6f 72 61 | 67 65 3a 3a 7e 4c 54 61 |ileStora|ge::~LTa|
|000002c0| 62 6c 65 46 69 6c 65 53 | 74 6f 72 61 67 65 28 29 |bleFileS|torage()|
|000002d0| 0d 7b 0d 09 69 66 20 28 | 6d 4f 77 6e 73 41 72 72 |.{..if (|mOwnsArr|
|000002e0| 61 79 29 0d 09 7b 0d 09 | 09 64 65 6c 65 74 65 20 |ay)..{..|.delete |
|000002f0| 6d 41 72 72 61 79 3b 0d | 09 7d 0d 7d 0d 0d 76 6f |mArray;.|.}.}..vo|
|00000300| 69 64 0d 4c 54 61 62 6c | 65 46 69 6c 65 53 74 6f |id.LTabl|eFileSto|
|00000310| 72 61 67 65 3a 3a 53 65 | 74 43 65 6c 6c 44 61 74 |rage::Se|tCellDat|
|00000320| 61 28 0d 09 63 6f 6e 73 | 74 20 53 54 61 62 6c 65 |a(..cons|t STable|
|00000330| 43 65 6c 6c 20 26 69 6e | 43 65 6c 6c 2c 0d 09 63 |Cell &in|Cell,..c|
|00000340| 6f 6e 73 74 20 76 6f 69 | 64 20 2a 69 6e 44 61 74 |onst voi|d *inDat|
|00000350| 61 50 74 72 2c 0d 09 55 | 49 6e 74 33 32 20 69 6e |aPtr,..U|Int32 in|
|00000360| 44 61 74 61 53 69 7a 65 | 29 0d 7b 0d 09 54 61 62 |DataSize|).{..Tab|
|00000370| 6c 65 49 6e 64 65 78 54 | 09 63 65 6c 6c 49 6e 64 |leIndexT|.cellInd|
|00000380| 65 78 3b 0d 09 0d 09 6d | 54 61 62 6c 65 56 69 65 |ex;....m|TableVie|
|00000390| 77 2d 3e 43 65 6c 6c 54 | 6f 49 6e 64 65 78 28 69 |w->CellT|oIndex(i|
|000003a0| 6e 43 65 6c 6c 2c 20 63 | 65 6c 6c 49 6e 64 65 78 |nCell, c|ellIndex|
|000003b0| 29 3b 0d 09 0d 09 6d 41 | 72 72 61 79 2d 3e 41 73 |);....mA|rray->As|
|000003c0| 73 69 67 6e 49 74 65 6d | 73 41 74 28 31 2c 20 28 |signItem|sAt(1, (|
|000003d0| 41 72 72 61 79 49 6e 64 | 65 78 54 29 20 63 65 6c |ArrayInd|exT) cel|
|000003e0| 6c 49 6e 64 65 78 2c 20 | 69 6e 44 61 74 61 50 74 |lIndex, |inDataPt|
|000003f0| 72 2c 0d 09 09 09 09 09 | 09 09 09 09 09 28 41 72 |r,......|.....(Ar|
|00000400| 72 61 79 49 74 65 6d 53 | 69 7a 65 54 29 20 69 6e |rayItemS|izeT) in|
|00000410| 44 61 74 61 53 69 7a 65 | 29 3b 0d 7d 0d 0d 76 6f |DataSize|);.}..vo|
|00000420| 69 64 0d 4c 54 61 62 6c | 65 46 69 6c 65 53 74 6f |id.LTabl|eFileSto|
|00000430| 72 61 67 65 3a 3a 47 65 | 74 43 65 6c 6c 44 61 74 |rage::Ge|tCellDat|
|00000440| 61 28 0d 09 63 6f 6e 73 | 74 20 53 54 61 62 6c 65 |a(..cons|t STable|
|00000450| 43 65 6c 6c 20 26 69 6e | 43 65 6c 6c 2c 0d 09 76 |Cell &in|Cell,..v|
|00000460| 6f 69 64 20 2a 6f 75 74 | 44 61 74 61 50 74 72 2c |oid *out|DataPtr,|
|00000470| 0d 09 55 49 6e 74 33 32 | 20 26 69 6f 44 61 74 61 |..UInt32| &ioData|
|00000480| 53 69 7a 65 29 20 63 6f | 6e 73 74 0d 7b 0d 09 54 |Size) co|nst.{..T|
|00000490| 61 62 6c 65 49 6e 64 65 | 78 54 09 63 65 6c 6c 49 |ableInde|xT.cellI|
|000004a0| 6e 64 65 78 3b 0d 0d 09 | 6d 54 61 62 6c 65 56 69 |ndex;...|mTableVi|
|000004b0| 65 77 2d 3e 43 65 6c 6c | 54 6f 49 6e 64 65 78 28 |ew->Cell|ToIndex(|
|000004c0| 69 6e 43 65 6c 6c 2c 20 | 63 65 6c 6c 49 6e 64 65 |inCell, |cellInde|
|000004d0| 78 29 3b 0d 09 0d 09 69 | 66 20 28 6f 75 74 44 61 |x);....i|f (outDa|
|000004e0| 74 61 50 74 72 20 3d 3d | 20 6e 69 6c 29 0d 09 7b |taPtr ==| nil)..{|
|000004f0| 0d 09 09 69 6f 44 61 74 | 61 53 69 7a 65 20 3d 20 |...ioDat|aSize = |
|00000500| 28 55 49 6e 74 33 32 29 | 20 6d 41 72 72 61 79 2d |(UInt32)| mArray-|
|00000510| 3e 47 65 74 49 74 65 6d | 53 69 7a 65 28 28 41 72 |>GetItem|Size((Ar|
|00000520| 72 61 79 49 6e 64 65 78 | 54 29 20 63 65 6c 6c 49 |rayIndex|T) cellI|
|00000530| 6e 64 65 78 29 3b 0d 09 | 7d 0d 09 65 6c 73 65 0d |ndex);..|}..else.|
|00000540| 09 7b 0d 09 09 41 72 72 | 61 79 49 74 65 6d 53 69 |.{...Arr|ayItemSi|
|00000550| 7a 65 54 09 73 69 7a 65 | 20 3d 20 28 41 72 72 61 |zeT.size| = (Arra|
|00000560| 79 49 74 65 6d 53 69 7a | 65 54 29 20 69 6f 44 61 |yItemSiz|eT) ioDa|
|00000570| 74 61 53 69 7a 65 3b 0d | 09 0d 09 09 6d 41 72 72 |taSize;.|....mArr|
|00000580| 61 79 2d 3e 46 65 74 63 | 68 49 74 65 6d 41 74 28 |ay->Fetc|hItemAt(|
|00000590| 28 53 49 6e 74 33 32 29 | 20 63 65 6c 6c 49 6e 64 |(SInt32)| cellInd|
|000005a0| 65 78 2c 20 6f 75 74 44 | 61 74 61 50 74 72 2c 20 |ex, outD|ataPtr, |
|000005b0| 73 69 7a 65 29 3b 0d 09 | 09 0d 09 09 69 6f 44 61 |size);..|....ioDa|
|000005c0| 74 61 53 69 7a 65 20 3d | 20 28 55 49 6e 74 33 32 |taSize =| (UInt32|
|000005d0| 29 20 73 69 7a 65 3b 0d | 09 7d 0d 7d 0d 0d 42 6f |) size;.|.}.}..Bo|
|000005e0| 6f 6c 65 61 6e 0d 4c 54 | 61 62 6c 65 46 69 6c 65 |olean.LT|ableFile|
|000005f0| 53 74 6f 72 61 67 65 3a | 3a 46 69 6e 64 43 65 6c |Storage:|:FindCel|
|00000600| 6c 44 61 74 61 28 0d 09 | 53 54 61 62 6c 65 43 65 |lData(..|STableCe|
|00000610| 6c 6c 20 26 6f 75 74 43 | 65 6c 6c 2c 0d 09 63 6f |ll &outC|ell,..co|
|00000620| 6e 73 74 20 76 6f 69 64 | 20 2a 69 6e 44 61 74 61 |nst void| *inData|
|00000630| 50 74 72 2c 0d 09 55 49 | 6e 74 33 32 20 69 6e 44 |Ptr,..UI|nt32 inD|
|00000640| 61 74 61 53 69 7a 65 29 | 20 63 6f 6e 73 74 0d 7b |ataSize)| const.{|
|00000650| 0d 09 42 6f 6f 6c 65 61 | 6e 09 66 6f 75 6e 64 20 |..Boolea|n.found |
|00000660| 3d 20 66 61 6c 73 65 3b | 0d 09 0d 09 41 72 72 61 |= false;|....Arra|
|00000670| 79 49 6e 64 65 78 54 09 | 64 61 74 61 49 6e 64 65 |yIndexT.|dataInde|
|00000680| 78 20 3d 20 6d 41 72 72 | 61 79 2d 3e 46 65 74 63 |x = mArr|ay->Fetc|
|00000690| 68 49 6e 64 65 78 4f 66 | 28 69 6e 44 61 74 61 50 |hIndexOf|(inDataP|
|000006a0| 74 72 2c 20 28 41 72 72 | 61 79 49 74 65 6d 53 69 |tr, (Arr|ayItemSi|
|000006b0| 7a 65 54 29 20 69 6e 44 | 61 74 61 53 69 7a 65 29 |zeT) inD|ataSize)|
|000006c0| 3b 0d 09 0d 09 69 66 20 | 28 64 61 74 61 49 6e 64 |;....if |(dataInd|
|000006d0| 65 78 20 21 3d 20 4c 54 | 65 6d 70 6f 72 61 72 79 |ex != LT|emporary|
|000006e0| 46 69 6c 65 41 72 72 61 | 79 3a 3a 69 6e 64 65 78 |FileArra|y::index|
|000006f0| 5f 42 61 64 29 0d 09 7b | 0d 09 09 6d 54 61 62 6c |_Bad)..{|...mTabl|
|00000700| 65 56 69 65 77 2d 3e 49 | 6e 64 65 78 54 6f 43 65 |eView->I|ndexToCe|
|00000710| 6c 6c 28 28 54 61 62 6c | 65 49 6e 64 65 78 54 29 |ll((Tabl|eIndexT)|
|00000720| 20 64 61 74 61 49 6e 64 | 65 78 2c 20 6f 75 74 43 | dataInd|ex, outC|
|00000730| 65 6c 6c 29 3b 0d 09 09 | 66 6f 75 6e 64 20 3d 20 |ell);...|found = |
|00000740| 74 72 75 65 3b 0d 09 7d | 0d 09 0d 09 72 65 74 75 |true;..}|....retu|
|00000750| 72 6e 20 66 6f 75 6e 64 | 3b 0d 7d 0d 0d 76 6f 69 |rn found|;.}..voi|
|00000760| 64 0d 4c 54 61 62 6c 65 | 46 69 6c 65 53 74 6f 72 |d.LTable|FileStor|
|00000770| 61 67 65 3a 3a 49 6e 73 | 65 72 74 52 6f 77 73 28 |age::Ins|ertRows(|
|00000780| 0d 09 55 49 6e 74 33 32 | 20 69 6e 48 6f 77 4d 61 |..UInt32| inHowMa|
|00000790| 6e 79 2c 0d 09 54 61 62 | 6c 65 49 6e 64 65 78 54 |ny,..Tab|leIndexT|
|000007a0| 20 69 6e 41 66 74 65 72 | 52 6f 77 2c 0d 09 63 6f | inAfter|Row,..co|
|000007b0| 6e 73 74 20 76 6f 69 64 | 20 2a 69 6e 44 61 74 61 |nst void| *inData|
|000007c0| 50 74 72 2c 0d 09 55 49 | 6e 74 33 32 20 69 6e 44 |Ptr,..UI|nt32 inD|
|000007d0| 61 74 61 53 69 7a 65 29 | 0d 7b 0d 09 53 54 61 62 |ataSize)|.{..STab|
|000007e0| 6c 65 43 65 6c 6c 09 73 | 74 61 72 74 43 65 6c 6c |leCell.s|tartCell|
|000007f0| 28 69 6e 41 66 74 65 72 | 52 6f 77 20 2b 20 31 2c |(inAfter|Row + 1,|
|00000800| 20 31 29 3b 0d 09 55 49 | 6e 74 33 32 09 09 73 74 | 1);..UI|nt32..st|
|00000810| 61 72 74 49 6e 64 65 78 | 3b 0d 09 0d 09 6d 54 61 |artIndex|;....mTa|
|00000820| 62 6c 65 56 69 65 77 2d | 3e 43 65 6c 6c 54 6f 49 |bleView-|>CellToI|
|00000830| 6e 64 65 78 28 73 74 61 | 72 74 43 65 6c 6c 2c 20 |ndex(sta|rtCell, |
|00000840| 73 74 61 72 74 49 6e 64 | 65 78 29 3b 0d 09 0d 09 |startInd|ex);....|
|00000850| 54 61 62 6c 65 49 6e 64 | 65 78 54 09 72 6f 77 73 |TableInd|exT.rows|
|00000860| 2c 20 63 6f 6c 73 3b 0d | 09 0d 09 6d 54 61 62 6c |, cols;.|...mTabl|
|00000870| 65 56 69 65 77 2d 3e 47 | 65 74 54 61 62 6c 65 53 |eView->G|etTableS|
|00000880| 69 7a 65 28 72 6f 77 73 | 2c 20 63 6f 6c 73 29 3b |ize(rows|, cols);|
|00000890| 0d 0d 09 6d 41 72 72 61 | 79 2d 3e 49 6e 73 65 72 |...mArra|y->Inser|
|000008a0| 74 49 74 65 6d 73 41 74 | 28 69 6e 48 6f 77 4d 61 |tItemsAt|(inHowMa|
|000008b0| 6e 79 20 2a 20 63 6f 6c | 73 2c 20 28 53 49 6e 74 |ny * col|s, (SInt|
|000008c0| 33 32 29 20 73 74 61 72 | 74 49 6e 64 65 78 2c 20 |32) star|tIndex, |
|000008d0| 69 6e 44 61 74 61 50 74 | 72 2c 0d 09 09 28 41 72 |inDataPt|r,...(Ar|
|000008e0| 72 61 79 49 74 65 6d 53 | 69 7a 65 54 29 20 69 6e |rayItemS|izeT) in|
|000008f0| 44 61 74 61 53 69 7a 65 | 29 3b 0d 7d 0d 0d 76 6f |DataSize|);.}..vo|
|00000900| 69 64 0d 4c 54 61 62 6c | 65 46 69 6c 65 53 74 6f |id.LTabl|eFileSto|
|00000910| 72 61 67 65 3a 3a 49 6e | 73 65 72 74 43 6f 6c 73 |rage::In|sertCols|
|00000920| 28 0d 09 55 49 6e 74 33 | 32 20 69 6e 48 6f 77 4d |(..UInt3|2 inHowM|
|00000930| 61 6e 79 2c 0d 09 54 61 | 62 6c 65 49 6e 64 65 78 |any,..Ta|bleIndex|
|00000940| 54 20 69 6e 41 66 74 65 | 72 43 6f 6c 2c 0d 09 63 |T inAfte|rCol,..c|
|00000950| 6f 6e 73 74 20 76 6f 69 | 64 20 2a 69 6e 44 61 74 |onst voi|d *inDat|
|00000960| 61 50 74 72 2c 0d 09 55 | 49 6e 74 33 32 20 69 6e |aPtr,..U|Int32 in|
|00000970| 44 61 74 61 53 69 7a 65 | 29 0d 7b 0d 09 54 61 62 |DataSize|).{..Tab|
|00000980| 6c 65 49 6e 64 65 78 54 | 09 72 6f 77 73 2c 20 63 |leIndexT|.rows, c|
|00000990| 6f 6c 73 3b 0d 09 0d 09 | 6d 54 61 62 6c 65 56 69 |ols;....|mTableVi|
|000009a0| 65 77 2d 3e 47 65 74 54 | 61 62 6c 65 53 69 7a 65 |ew->GetT|ableSize|
|000009b0| 28 72 6f 77 73 2c 20 63 | 6f 6c 73 29 3b 0d 09 0d |(rows, c|ols);...|
|000009c0| 09 53 54 61 62 6c 65 43 | 65 6c 6c 09 74 68 65 43 |.STableC|ell.theC|
|000009d0| 65 6c 6c 28 30 2c 20 69 | 6e 41 66 74 65 72 43 6f |ell(0, i|nAfterCo|
|000009e0| 6c 20 2b 20 31 29 3b 0d | 09 0d 09 66 6f 72 28 74 |l + 1);.|...for(t|
|000009f0| 68 65 43 65 6c 6c 2e 72 | 6f 77 20 3d 20 31 3b 20 |heCell.r|ow = 1; |
|00000a00| 74 68 65 43 65 6c 6c 2e | 72 6f 77 20 3c 3d 20 72 |theCell.|row <= r|
|00000a10| 6f 77 73 3b 20 74 68 65 | 43 65 6c 6c 2e 72 6f 77 |ows; the|Cell.row|
|00000a20| 2b 2b 29 0d 09 7b 0d 09 | 09 54 61 62 6c 65 49 6e |++)..{..|.TableIn|
|00000a30| 64 65 78 54 09 73 74 61 | 72 74 49 6e 64 65 78 3b |dexT.sta|rtIndex;|
|00000a40| 0d 09 0d 09 09 6d 54 61 | 62 6c 65 56 69 65 77 2d |.....mTa|bleView-|
|00000a50| 3e 43 65 6c 6c 54 6f 49 | 6e 64 65 78 28 74 68 65 |>CellToI|ndex(the|
|00000a60| 43 65 6c 6c 2c 20 73 74 | 61 72 74 49 6e 64 65 78 |Cell, st|artIndex|
|00000a70| 29 3b 0d 09 09 6d 41 72 | 72 61 79 2d 3e 49 6e 73 |);...mAr|ray->Ins|
|00000a80| 65 72 74 49 74 65 6d 73 | 41 74 28 69 6e 48 6f 77 |ertItems|At(inHow|
|00000a90| 4d 61 6e 79 2c 20 28 41 | 72 72 61 79 49 6e 64 65 |Many, (A|rrayInde|
|00000aa0| 78 54 29 20 73 74 61 72 | 74 49 6e 64 65 78 2c 20 |xT) star|tIndex, |
|00000ab0| 69 6e 44 61 74 61 50 74 | 72 2c 20 0d 09 09 09 09 |inDataPt|r, .....|
|00000ac0| 09 09 09 09 09 09 09 09 | 09 28 41 72 72 61 79 49 |........|.(ArrayI|
|00000ad0| 74 65 6d 53 69 7a 65 54 | 29 20 69 6e 44 61 74 61 |temSizeT|) inData|
|00000ae0| 53 69 7a 65 29 3b 0d 09 | 7d 0d 7d 0d 0d 76 6f 69 |Size);..|}.}..voi|
|00000af0| 64 0d 4c 54 61 62 6c 65 | 46 69 6c 65 53 74 6f 72 |d.LTable|FileStor|
|00000b00| 61 67 65 3a 3a 52 65 6d | 6f 76 65 52 6f 77 73 28 |age::Rem|oveRows(|
|00000b10| 0d 09 55 49 6e 74 33 32 | 20 69 6e 48 6f 77 4d 61 |..UInt32| inHowMa|
|00000b20| 6e 79 2c 0d 09 54 61 62 | 6c 65 49 6e 64 65 78 54 |ny,..Tab|leIndexT|
|00000b30| 20 69 6e 46 72 6f 6d 52 | 6f 77 29 0d 7b 0d 09 53 | inFromR|ow).{..S|
|00000b40| 54 61 62 6c 65 43 65 6c | 6c 09 73 74 61 72 74 43 |TableCel|l.startC|
|00000b50| 65 6c 6c 28 69 6e 46 72 | 6f 6d 52 6f 77 2c 20 31 |ell(inFr|omRow, 1|
|00000b60| 29 3b 0d 09 55 49 6e 74 | 33 32 09 09 73 74 61 72 |);..UInt|32..star|
|00000b70| 74 49 6e 64 65 78 3b 0d | 09 0d 09 6d 54 61 62 6c |tIndex;.|...mTabl|
|00000b80| 65 56 69 65 77 2d 3e 43 | 65 6c 6c 54 6f 49 6e 64 |eView->C|ellToInd|
|00000b90| 65 78 28 73 74 61 72 74 | 43 65 6c 6c 2c 20 73 74 |ex(start|Cell, st|
|00000ba0| 61 72 74 49 6e 64 65 78 | 29 3b 0d 09 0d 09 54 61 |artIndex|);....Ta|
|00000bb0| 62 6c 65 49 6e 64 65 78 | 54 09 72 6f 77 73 2c 20 |bleIndex|T.rows, |
|00000bc0| 63 6f 6c 73 3b 0d 09 0d | 09 6d 54 61 62 6c 65 56 |cols;...|.mTableV|
|00000bd0| 69 65 77 2d 3e 47 65 74 | 54 61 62 6c 65 53 69 7a |iew->Get|TableSiz|
|00000be0| 65 28 72 6f 77 73 2c 20 | 63 6f 6c 73 29 3b 0d 09 |e(rows, |cols);..|
|00000bf0| 0d 09 6d 41 72 72 61 79 | 2d 3e 52 65 6d 6f 76 65 |..mArray|->Remove|
|00000c00| 49 74 65 6d 73 41 74 28 | 69 6e 48 6f 77 4d 61 6e |ItemsAt(|inHowMan|
|00000c10| 79 20 2a 20 63 6f 6c 73 | 2c 20 28 53 49 6e 74 33 |y * cols|, (SInt3|
|00000c20| 32 29 20 73 74 61 72 74 | 49 6e 64 65 78 29 3b 0d |2) start|Index);.|
|00000c30| 7d 0d 0d 76 6f 69 64 0d | 4c 54 61 62 6c 65 46 69 |}..void.|LTableFi|
|00000c40| 6c 65 53 74 6f 72 61 67 | 65 3a 3a 52 65 6d 6f 76 |leStorag|e::Remov|
|00000c50| 65 43 6f 6c 73 28 0d 09 | 55 49 6e 74 33 32 20 69 |eCols(..|UInt32 i|
|00000c60| 6e 48 6f 77 4d 61 6e 79 | 2c 0d 09 54 61 62 6c 65 |nHowMany|,..Table|
|00000c70| 49 6e 64 65 78 54 20 69 | 6e 46 72 6f 6d 43 6f 6c |IndexT i|nFromCol|
|00000c80| 29 0d 7b 0d 09 54 61 62 | 6c 65 49 6e 64 65 78 54 |).{..Tab|leIndexT|
|00000c90| 09 72 6f 77 73 2c 20 63 | 6f 6c 73 3b 0d 09 0d 09 |.rows, c|ols;....|
|00000ca0| 6d 54 61 62 6c 65 56 69 | 65 77 2d 3e 47 65 74 54 |mTableVi|ew->GetT|
|00000cb0| 61 62 6c 65 53 69 7a 65 | 28 72 6f 77 73 2c 20 63 |ableSize|(rows, c|
|00000cc0| 6f 6c 73 29 3b 0d 09 0d | 09 53 54 61 62 6c 65 43 |ols);...|.STableC|
|00000cd0| 65 6c 6c 09 74 68 65 43 | 65 6c 6c 28 30 2c 20 69 |ell.theC|ell(0, i|
|00000ce0| 6e 46 72 6f 6d 43 6f 6c | 29 3b 0d 09 0d 09 66 6f |nFromCol|);....fo|
|00000cf0| 72 28 74 68 65 43 65 6c | 6c 2e 72 6f 77 20 3d 20 |r(theCel|l.row = |
|00000d00| 31 3b 20 74 68 65 43 65 | 6c 6c 2e 72 6f 77 20 3c |1; theCe|ll.row <|
|00000d10| 3d 20 72 6f 77 73 3b 20 | 74 68 65 43 65 6c 6c 2e |= rows; |theCell.|
|00000d20| 72 6f 77 2b 2b 29 0d 09 | 7b 0d 09 09 54 61 62 6c |row++)..|{...Tabl|
|00000d30| 65 49 6e 64 65 78 54 09 | 73 74 61 72 74 49 6e 64 |eIndexT.|startInd|
|00000d40| 65 78 3b 0d 09 09 0d 09 | 09 6d 54 61 62 6c 65 56 |ex;.....|.mTableV|
|00000d50| 69 65 77 2d 3e 43 65 6c | 6c 54 6f 49 6e 64 65 78 |iew->Cel|lToIndex|
|00000d60| 28 74 68 65 43 65 6c 6c | 2c 20 73 74 61 72 74 49 |(theCell|, startI|
|00000d70| 6e 64 65 78 29 3b 0d 09 | 09 6d 41 72 72 61 79 2d |ndex);..|.mArray-|
|00000d80| 3e 52 65 6d 6f 76 65 49 | 74 65 6d 73 41 74 28 69 |>RemoveI|temsAt(i|
|00000d90| 6e 48 6f 77 4d 61 6e 79 | 2c 20 28 53 49 6e 74 33 |nHowMany|, (SInt3|
|00000da0| 32 29 20 73 74 61 72 74 | 49 6e 64 65 78 29 3b 0d |2) start|Index);.|
|00000db0| 09 7d 0d 7d 0d 0d 76 6f | 69 64 0d 4c 54 61 62 6c |.}.}..vo|id.LTabl|
|00000dc0| 65 46 69 6c 65 53 74 6f | 72 61 67 65 3a 3a 47 65 |eFileSto|rage::Ge|
|00000dd0| 74 53 74 6f 72 61 67 65 | 53 69 7a 65 28 0d 09 54 |tStorage|Size(..T|
|00000de0| 61 62 6c 65 49 6e 64 65 | 78 54 20 26 6f 75 74 52 |ableInde|xT &outR|
|00000df0| 6f 77 73 2c 0d 09 54 61 | 62 6c 65 49 6e 64 65 78 |ows,..Ta|bleIndex|
|00000e00| 54 20 26 6f 75 74 43 6f | 6c 73 29 0d 7b 0d 09 2f |T &outCo|ls).{../|
|00000e10| 2f 20 41 6e 20 41 72 72 | 61 79 20 69 73 20 6f 6e |/ An Arr|ay is on|
|00000e20| 65 2d 64 69 6d 65 6e 73 | 69 6f 6e 61 6c 2e 20 42 |e-dimens|ional. B|
|00000e30| 79 20 64 65 66 61 75 6c | 74 2c 20 77 65 20 61 73 |y defaul|t, we as|
|00000e40| 73 75 6d 65 20 61 0d 09 | 2f 2f 20 73 69 6e 67 6c |sume a..|// singl|
|00000e50| 65 20 63 6f 6c 75 6d 6e | 20 77 69 74 68 20 65 61 |e column| with ea|
|00000e60| 63 68 20 65 6c 65 6d 65 | 6e 74 20 62 65 69 6e 67 |ch eleme|nt being|
|00000e70| 20 61 20 73 65 70 61 72 | 61 74 65 20 72 6f 77 2e | a separ|ate row.|
|00000e80| 0d 0d 09 6f 75 74 52 6f | 77 73 20 3d 20 6d 41 72 |...outRo|ws = mAr|
|00000e90| 72 61 79 2d 3e 47 65 74 | 43 6f 75 6e 74 28 29 3b |ray->Get|Count();|
|00000ea0| 0d 09 6f 75 74 43 6f 6c | 73 20 3d 20 31 3b 0d 09 |..outCol|s = 1;..|
|00000eb0| 69 66 20 28 6f 75 74 52 | 6f 77 73 20 3d 3d 20 30 |if (outR|ows == 0|
|00000ec0| 29 0d 09 7b 0d 09 09 6f | 75 74 43 6f 6c 73 20 3d |)..{...o|utCols =|
|00000ed0| 20 30 3b 0d 09 7d 0d 7d | 00 00 00 00 00 00 00 00 | 0;..}.}|........|
|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 |........|........|
|00000f00| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000f10| 00 01 02 00 05 92 00 00 | 03 50 00 01 02 00 05 a8 |........|.P......|
|00000f20| 00 00 03 78 00 01 02 00 | 05 c5 00 00 02 e8 00 01 |...x....|........|
|00000f30| 02 00 05 d4 00 00 03 d0 | 00 01 02 00 05 e7 00 00 |........|........|
|00000f40| 02 f0 00 01 02 00 05 f5 | 00 00 04 00 00 01 02 00 |........|........|
|00000f50| 06 06 00 00 03 00 00 01 | 02 00 06 11 00 00 03 48 |........|.......H|
|00000f60| 00 01 02 00 06 1d 00 00 | 03 30 00 01 02 00 06 2a |........|.0.....*|
|00000f70| 00 00 03 08 00 01 02 00 | 06 3c 00 00 03 38 00 01 |........|.<...8..|
|00000f80| 02 00 06 4c 00 00 03 40 | 00 01 02 00 06 56 00 00 |...L...@|.....V..|
|00000f90| 03 c0 00 01 02 00 06 68 | 00 00 04 18 00 01 02 00 |.......h|........|
|00000fa0| 06 7a 00 00 02 a0 00 01 | 02 00 06 95 00 00 02 d0 |.z......|........|
|00000fb0| 00 01 02 00 06 a6 00 00 | 04 10 00 01 02 00 06 c4 |........|........|
|00000fc0| 00 00 02 b0 00 01 02 00 | 06 dc 00 00 02 e0 00 01 |........|........|
|00000fd0| 02 00 06 ef 00 00 03 d8 | 00 01 02 00 07 0b 00 00 |........|........|
|00000fe0| 03 80 00 01 02 00 07 22 | 00 00 04 08 00 01 02 00 |......."|........|
|00000ff0| 07 34 00 00 03 e8 00 01 | 02 00 07 45 00 00 03 e0 |.4......|...E....|
|00001000| 00 00 00 48 00 0c 43 6f | 75 72 69 65 72 00 00 00 |...H..Co|urier...|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 07 | 00 04 00 2e 00 0a 02 f5 |........|........|
|00001030| 02 8a 00 2e 00 0a 02 f5 | 02 8a b4 d9 76 cf 00 00 |........|....v...|
|00001040| 00 3a 00 00 00 3a 00 00 | 00 00 01 00 00 00 00 04 |.:...:..|........|
|00001050| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00001060| 00 00 00 46 06 c6 8e 48 | 05 a2 00 00 00 1c 00 46 |...F...H|.......F|
|00001070| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001080| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001090| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+