]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTDS/NMTDS_Pair.cdl
Salome HOME
Mantis issue 0021453: EDF GEOM: (regression). A fix by PKV.
[modules/geom.git] / src / NMTDS / NMTDS_Pair.cdl
1 --  Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
2 --
3 --  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 --  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 --
6 --  This library is free software; you can redistribute it and/or
7 --  modify it under the terms of the GNU Lesser General Public
8 --  License as published by the Free Software Foundation; either
9 --  version 2.1 of the License.
10 --
11 --  This library is distributed in the hope that it will be useful,
12 --  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 --  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 --  Lesser General Public License for more details.
15 --
16 --  You should have received a copy of the GNU Lesser General Public
17 --  License along with this library; if not, write to the Free Software
18 --  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 --
20 --  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 --
22
23 --  File:       NMTDS_Pair.cdl
24 --  Created:    
25 --  Author:     Peter KURNEV
26 --
27 class Pair from NMTDS 
28
29         ---Purpose: 
30
31 --uses
32 --raises
33
34 is 
35     Create  
36         returns Pair from NMTDS; 
37     ---C++: alias "Standard_EXPORT virtual ~NMTDS_Pair();" 
38
39     Create(Other:Pair from NMTDS) 
40         returns Pair from NMTDS;
41    ---C++: alias "Standard_EXPORT NMTDS_Pair& operator =(const NMTDS_Pair& Other);" 
42
43     Clear(me:out);
44              
45     SetIds(me:out; 
46             aI1 :Integer from Standard; 
47             aI2 :Integer from Standard);  
48  
49     Ids(me; 
50             aI1 :out Integer from Standard;    
51             aI2 :out Integer from Standard);         
52      
53     IsEqual(me; 
54             aOther:Pair from NMTDS) 
55         returns Boolean from Standard;                       
56          
57     HashCode(me; 
58             Upper : Integer  from Standard)  
59         returns Integer from Standard;           
60      
61         
62 fields 
63     myId1: Integer from Standard is protected;  
64     myId2: Integer from Standard is protected;  
65
66 end Pair;