Ignore:
Timestamp:
Jul 27, 2009, 3:19:14 PM (15 years ago)
Author:
george
Message:
  • Přidáno: Objektová třída TPoint, TDouble.
Location:
ObjectBaseTypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ObjectBaseTypes

    • Property svn:ignore
      •  

        old new  
        33TestApplication.res
        44*.dcu
         5*.~dsk
  • ObjectBaseTypes/UObjectByte.pas

    r3 r4  
    44
    55uses
    6   Classes, SysUtils, UObjectTypeBase, UInterfacedBits;
     6  Classes, SysUtils, UObjectTypeBase, UInterfacedBits, UObjectNumber, UObjectBoolean;
    77
    88type
    9   TByte = class(TInterfacedObject, IAssignable)
     9  TByte = class(TInterfacedObject, IAssignable, IOrderable)
    1010  private
    1111    function GetAsBits: TInterfacedBits;
     
    1414    Value: Byte;
    1515    procedure Assign(Source: TInterfacedObject);
     16    function HigherThen(Operand: IOrderable): TBoolean;
     17    function LowerThan(Operand: IOrderable): TBoolean;
     18    function Max(Operand1, Operand2: IOrderable): IOrderable;
     19    function Min(Operand1, Operand2: IOrderable): IOrderable;
    1620    property AsBits: TInterfacedBits read GetAsBits write SetAsBits;
    1721  end;
     
    3741end;
    3842
     43function TByte.HigherThen(Operand: IOrderable): TBoolean;
     44begin
     45
     46end;
     47
     48function TByte.LowerThan(Operand: IOrderable): TBoolean;
     49begin
     50
     51end;
     52
     53function TByte.Max(Operand1, Operand2: IOrderable): IOrderable;
     54begin
     55
     56end;
     57
     58function TByte.Min(Operand1, Operand2: IOrderable): IOrderable;
     59begin
     60
     61end;
     62
    3963procedure TByte.SetAsBits(const Value: TInterfacedBits);
    4064var
Note: See TracChangeset for help on using the changeset viewer.