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/UObjectDouble.pas

    r3 r4  
    33interface
    44
     5uses
     6  UObjectNumber, UObjectTypeBase, UObjectBoolean;
     7
     8type
     9  TDouble = class(TInterfacedObject, IAssignable, IOrderable)
     10    procedure Assign(Source: TInterfacedObject);
     11    function HigherThen(Operand: IOrderable): TBoolean;
     12    function LowerThan(Operand: IOrderable): TBoolean;
     13    function Max(Operand1, Operand2: IOrderable): IOrderable;
     14    function Min(Operand1, Operand2: IOrderable): IOrderable;
     15  end;
     16
    517implementation
    618
     19{ TDouble }
     20
     21procedure TDouble.Assign(Source: TInterfacedObject);
     22begin
     23
     24end;
     25
     26function TDouble.HigherThen(Operand: IOrderable): TBoolean;
     27begin
     28
     29end;
     30
     31function TDouble.LowerThan(Operand: IOrderable): TBoolean;
     32begin
     33
     34end;
     35
     36function TDouble.Max(Operand1, Operand2: IOrderable): IOrderable;
     37begin
     38
     39end;
     40
     41function TDouble.Min(Operand1, Operand2: IOrderable): IOrderable;
     42begin
     43
     44end;
     45
    746end.
Note: See TracChangeset for help on using the changeset viewer.