Unit BuffSort

+--------------------------------------------------------------------------+ | Unit: BuffSort | Created: 8.97 | Author: Martin Waldenburg | Copyright 1997, all rights reserved. | Description: A buffered text sorter for an unlimmited amount of text using | a three-way merge for memory and a buffered three-way merge for files. | Version: 1.0 | Status FreeWare | It's provided as is, without a warranty of any kind. | You use it at your own risc. | E-Mail me at Martin.Waldenburg@t-online.de +--------------------------------------------------------------------------+

Classes

TBuffSort - TMergeFile
TM3Array - TM3Array class
TMergeFile - TTempFile
TSorStream - TM3Array
TSub3Array - TSub3Array defines the boundaries of a SubArray and determines if the SubArray is full or not.
TTempFile - TSorStream

Functions

Types

PMergeArray
PMergeData
TMergeArray
TMergeCompare
TMergeData

Constants

Variables

fBuffSize


Functions


Types


PMergeArray = ^TMergeArray

PMergeData = ^TMergeData

TMergeArray = array[0..0] of Pointer;

TMergeCompare = function (Item1, Item2: Pointer): Integer

TMergeData = record
Data : String;
end;

Constants


Variables

fBuffSize : LongInt

TBuffSort