summaryrefslogtreecommitdiff
path: root/inc/HLRAlgo_WiresBlock.hxx
blob: cfa1563e58bb2f285fb323673ecb6841b912fff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _HLRAlgo_WiresBlock_HeaderFile
#define _HLRAlgo_WiresBlock_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_HLRAlgo_WiresBlock_HeaderFile
#include <Handle_HLRAlgo_WiresBlock.hxx>
#endif

#ifndef _TColStd_Array1OfTransient_HeaderFile
#include <TColStd_Array1OfTransient.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_HLRAlgo_EdgesBlock_HeaderFile
#include <Handle_HLRAlgo_EdgesBlock.hxx>
#endif
#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
class HLRAlgo_EdgesBlock;


//! A WiresBlock is a set of Blocks. It is used by the <br>
//!          DataStructure to structure the Edges. <br>
//! <br>
//!          A WiresBlock contains : <br>
//! <br>
//!          * An Array  of Blocks. <br>
class HLRAlgo_WiresBlock : public MMgt_TShared {

public:

  //! Create a Block of Blocks. <br>
  Standard_EXPORT   HLRAlgo_WiresBlock(const Standard_Integer NbWires);
  
  Standard_EXPORT     Standard_Integer NbWires() const;
  
  Standard_EXPORT     void Set(const Standard_Integer I,const Handle(HLRAlgo_EdgesBlock)& W) ;
  
  Standard_EXPORT     Handle_HLRAlgo_EdgesBlock& Wire(const Standard_Integer I) ;
  
  Standard_EXPORT     void UpdateMinMax(const Standard_Address TotMinMax) ;
  
        Standard_Address MinMax() const;




  DEFINE_STANDARD_RTTI(HLRAlgo_WiresBlock)

protected:




private: 


TColStd_Array1OfTransient myWires;
Standard_Integer myMinMax[16];


};


#include <HLRAlgo_WiresBlock.lxx>



// other Inline functions and methods (like "C++: function call" methods)


#endif