0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / IGESAppli / IGESAppli_DrilledHole.hxx
CommitLineData
42cf5bc1 1// Created on: 1993-01-11
2// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
3// Copyright (c) 1993-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _IGESAppli_DrilledHole_HeaderFile
18#define _IGESAppli_DrilledHole_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <Standard_Integer.hxx>
24#include <Standard_Real.hxx>
25#include <IGESData_IGESEntity.hxx>
26#include <Standard_Boolean.hxx>
27
28
29class IGESAppli_DrilledHole;
30DEFINE_STANDARD_HANDLE(IGESAppli_DrilledHole, IGESData_IGESEntity)
31
32//! defines DrilledHole, Type <406> Form <6>
33//! in package IGESAppli
34//! Identifies an entity representing a drilled hole
35//! through a printed circuit board.
36class IGESAppli_DrilledHole : public IGESData_IGESEntity
37{
38
39public:
40
41
42 Standard_EXPORT IGESAppli_DrilledHole();
43
44 //! This method is used to set the fields of the class
45 //! DrilledHole
46 //! - nbPropVal : Number of property values = 5
47 //! - aSize : Drill diameter size
48 //! - anotherSize : Finish diameter size
49 //! - aPlating : Plating indication flag
50 //! False = not plating
51 //! True = is plating
52 //! - aLayer : Lower numbered layer
53 //! - anotherLayer : Higher numbered layer
54 Standard_EXPORT void Init (const Standard_Integer nbPropVal, const Standard_Real aSize, const Standard_Real anotherSize, const Standard_Integer aPlating, const Standard_Integer aLayer, const Standard_Integer anotherLayer);
55
56 //! is always 5
57 Standard_EXPORT Standard_Integer NbPropertyValues() const;
58
59 //! returns the drill diameter size
60 Standard_EXPORT Standard_Real DrillDiaSize() const;
61
62 //! returns the finish diameter size
63 Standard_EXPORT Standard_Real FinishDiaSize() const;
64
65 //! Returns Plating Status :
66 //! False = not plating / True = is plating
67 Standard_EXPORT Standard_Boolean IsPlating() const;
68
69 //! returns the lower numbered layer
70 Standard_EXPORT Standard_Integer NbLowerLayer() const;
71
72 //! returns the higher numbered layer
73 Standard_EXPORT Standard_Integer NbHigherLayer() const;
74
75
76
77
78 DEFINE_STANDARD_RTTI(IGESAppli_DrilledHole,IGESData_IGESEntity)
79
80protected:
81
82
83
84
85private:
86
87
88 Standard_Integer theNbPropertyValues;
89 Standard_Real theDrillDiaSize;
90 Standard_Real theFinishDiaSize;
91 Standard_Integer thePlatingFlag;
92 Standard_Integer theNbLowerLayer;
93 Standard_Integer theNbHigherLayer;
94
95
96};
97
98
99
100
101
102
103
104#endif // _IGESAppli_DrilledHole_HeaderFile