0024814: Avoid using explicit names of Handle classes
[occt.git] / src / PNaming / PNaming_Name_2.lxx
1 // Created on: 2008-08-15
2 // Created by: Sergey ZARITCHNY <szy@op
3 // Copyright (c) 2008-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 inline   void PNaming_Name_2::Type(const Standard_Integer T) 
17 {myType = T;}
18
19 inline   void PNaming_Name_2::ShapeType(const Standard_Integer T) 
20 {myShapeType = T;}
21
22 inline   void PNaming_Name_2::Arguments(const Handle(PNaming_HArray1OfNamedShape)& Args)
23 {myArgs = Args;}
24
25 inline   void PNaming_Name_2::StopNamedShape(const Handle(PNaming_NamedShape)& NS)
26 {myStop = NS;}
27
28 inline   void PNaming_Name_2::Index(const Standard_Integer I) 
29 {myIndex = I;}
30
31 inline   Standard_Integer PNaming_Name_2::Type() const
32 {return myType;}
33
34 inline   Standard_Integer PNaming_Name_2::ShapeType() const 
35 {return myShapeType;}
36
37 inline   Handle(PNaming_HArray1OfNamedShape) PNaming_Name_2::Arguments() const
38 {return myArgs;}
39
40 inline   Handle(PNaming_NamedShape) PNaming_Name_2::StopNamedShape() const
41 {return myStop;}
42
43 inline   Standard_Integer PNaming_Name_2::Index() const
44 {return myIndex;}
45
46 inline  void PNaming_Name_2::ContextLabel(const Handle(PCollection_HAsciiString)& theLabel)
47 {myContextLabel = theLabel;}
48
49 inline   const Handle(PCollection_HAsciiString)& PNaming_Name_2::ContextLabel() const 
50 {return myContextLabel;}
51
52 inline   void PNaming_Name_2::Orientation(const Standard_Integer Or) 
53 {myOrientation = Or;}
54
55 inline   Standard_Integer PNaming_Name_2::Orientation() const 
56 {return myOrientation;}