mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-12 18:29:35 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
30
src/PCollection/PCollection_Hash.cdl
Executable file
30
src/PCollection/PCollection_Hash.cdl
Executable file
@@ -0,0 +1,30 @@
|
||||
-- File: PCollection_Hash.cdl
|
||||
-- Created: Mon Apr 22 16:26:20 1991
|
||||
-- Author: jean pierre TIRAULT
|
||||
-- <jpt@topsn1>
|
||||
---Copyright: Matra Datavision 1991
|
||||
|
||||
|
||||
generic class Hash from PCollection (key as Storable) inherits Storable
|
||||
is
|
||||
|
||||
|
||||
|
||||
Create returns Hash;
|
||||
---Purpose : Empty constructor.
|
||||
|
||||
|
||||
|
||||
HashCode (me; MyKey : key ; Upper : Integer)
|
||||
returns Integer is virtual;
|
||||
---Level: Public
|
||||
---Purpose: Returns a hashcod value of key bounded by Upper.
|
||||
|
||||
|
||||
|
||||
Compare (me; One , Two : key) returns Boolean is virtual;
|
||||
---Level: Public
|
||||
---Purpose : Compare two keys and returns a boolean value
|
||||
|
||||
end;
|
||||
|
||||
Reference in New Issue
Block a user