0024428: Implementation of LGPL license
[occt.git] / src / BOPDS / BOPDS_PassKeyBoolean.cdl
1 -- Created by: Peter KURNEV
2 -- Copyright (c) 2010-2014 OPEN CASCADE SAS
3 -- Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 -- Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 --                         EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 --
7 -- This file is part of Open CASCADE Technology software library.
8 --
9 -- This library is free software; you can redistribute it and / or modify it
10 -- under the terms of the GNU Lesser General Public version 2.1 as published
11 -- by the Free Software Foundation, with special exception defined in the file
12 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 -- distribution for complete text of the license and disclaimer of any warranty.
14 --
15 -- Alternatively, this file may be used under the terms of Open CASCADE
16 -- commercial license or contractual agreement.
17
18 class PassKeyBoolean from BOPDS 
19     inherits  PassKey from BOPDS 
20         ---Purpose: 
21
22 uses 
23     BaseAllocator from BOPCol 
24      
25 --raises
26
27 is 
28     Create  
29         returns PassKeyBoolean from BOPDS;  
30     ---C++: inline 
31     ---C++: alias "virtual ~BOPDS_PassKeyBoolean();"  
32       
33     Create  (theAllocator: BaseAllocator from BOPCol) 
34         returns PassKeyBoolean from BOPDS;   
35     ---C++: inline 
36      
37     Create(Other:PassKeyBoolean from BOPDS) 
38         returns PassKeyBoolean from BOPDS; 
39     ---C++: inline 
40
41     SetFlag(me:out; 
42             theFlag: Boolean from Standard);  
43     ---C++: inline 
44     ---C++: alias "BOPDS_PassKeyBoolean& operator =(const BOPDS_PassKeyBoolean& );"  
45      
46     Flag(me)  
47         returns Boolean from Standard;   
48     ---C++: inline  
49
50 fields
51     myFlag: Boolean from Standard is protected; 
52
53 end PassKeyBoolean;