Unit Comp

Classes

Functions

Compare - generic Compare function; compares any two objects(TPersistent descendents), reading the values of all published properties and comparing them

CompareMethods
GetClassProp - TypInfo lacks these two methods
MemCmp - that's a generic memory comparison function

Compare
SetClassProp - GetClassProp

Types

Constants

Variables


Functions


function Compare( Obj1, Obj2 : TObject ) : Boolean;

generic Compare function; compares any two objects(TPersistent descendents), reading the values of all published properties and comparing them

CompareMethods


function GetClassProp(Instance: TObject; PropInfo: PPropInfo): TObject;

TypInfo lacks these two methods

function MemCmp(var a, b; Len : Cardinal):Integer;

that's a generic memory comparison function

Compare


procedure SetClassProp(Instance : TObject; PropInfo : PPropInfo; const Value : TObject );

GetClassProp

Types


Constants


Variables