Class TSorStream (unit BuffSort)

Inherits from

TFileStream

TM3Array

Constructors


constructor create(Const FileName: string; Mode: Word);

MergeSort


Functions

destructor destroy;

create

procedure FillMemory;

AllocBuffer

procedure FlushMemory;

WriteLine

function ReadLine:PChar;

GetMemoryFull

procedure Reset;

FlushMemory

procedure WriteLine(NewLine: String);

ReadLine

procedure AllocBuffer;

GetFileEof

function GetFileEof:Boolean;

destroy

function GetMemoryFull:Boolean;

FillMemory

Properties

property Eof : Boolean


property FileEof : Boolean


property Memory : PChar


property MemoryFull : Boolean


Events

Variables

fEof : Boolean;


fLineStart : PChar;


fMemory : PChar;


fMemoryPos : LongInt;


fMemorySize : LongInt;



Constructors


constructor create(Const FileName: string; Mode: Word);

MergeSort


Functions


destructor destroy;

create


procedure FillMemory;

AllocBuffer


procedure FlushMemory;

WriteLine


function ReadLine:PChar;

GetMemoryFull


procedure Reset;

FlushMemory


procedure WriteLine(NewLine: String);

ReadLine


procedure AllocBuffer;

GetFileEof


function GetFileEof:Boolean;

destroy


function GetMemoryFull:Boolean;

FillMemory


Properties


property Eof : Boolean


property FileEof : Boolean


property Memory : PChar


property MemoryFull : Boolean


Events


Variables


fEof : Boolean;


fLineStart : PChar;


fMemory : PChar;


fMemoryPos : LongInt;


fMemorySize : LongInt;