0024624: Lost word in license statement in source files
[occt.git] / src / BOPDS / BOPDS_PassKeyBoolean.lxx
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 under
10 // the terms of the GNU Lesser General Public License 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 //=======================================================================
19 //function : 
20 //purpose  : 
21 //=======================================================================
22   inline BOPDS_PassKeyBoolean::BOPDS_PassKeyBoolean()
23 :
24   BOPDS_PassKey(),
25   myFlag(Standard_False)
26 {
27 }
28 //=======================================================================
29 //function :
30 //purpose  : 
31 //=======================================================================
32   inline BOPDS_PassKeyBoolean::BOPDS_PassKeyBoolean
33      (const Handle(NCollection_BaseAllocator)& theAllocator)
34 :
35   BOPDS_PassKey(theAllocator),
36   myFlag(Standard_False)
37 {
38 }
39 //=======================================================================
40 //function :
41 //purpose  : 
42 //=======================================================================
43   inline BOPDS_PassKeyBoolean::BOPDS_PassKeyBoolean(const BOPDS_PassKeyBoolean& aOther)
44 {
45   myPtr=NULL;
46   BOPDS_PassKey::operator =(aOther);
47   myFlag=aOther.myFlag;
48 }
49 //=======================================================================
50 //function :~
51 //purpose  : 
52 //=======================================================================
53   inline BOPDS_PassKeyBoolean::~BOPDS_PassKeyBoolean()
54 {
55 }
56 //=======================================================================
57 //function :operator =
58 //purpose  : 
59 //=======================================================================
60   inline BOPDS_PassKeyBoolean& BOPDS_PassKeyBoolean::operator =(const BOPDS_PassKeyBoolean& aOther)
61 {
62   BOPDS_PassKey::operator =(aOther);
63   myFlag=aOther.myFlag;
64   return *this;
65 }
66 //=======================================================================
67 //function :SetFlag
68 //purpose  : 
69 //=======================================================================
70   inline void BOPDS_PassKeyBoolean::SetFlag(const Standard_Boolean aFlag)
71 {
72   myFlag=aFlag;
73 }
74 //=======================================================================
75 //function :Flag
76 //purpose  : 
77 //=======================================================================
78   inline Standard_Boolean BOPDS_PassKeyBoolean::Flag()const
79 {
80   return myFlag;
81 }